Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3f5d3ce

Browse files
committed
Cope with gcc that outputs a multiline version string, per Trond.
1 parent47ccf37 commit3f5d3ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@ else
14811481
if { (evalecho configure:1482:\"$ac_link\")1>&5; (eval$ac_link)2>&5; };then
14821482
forfilein conftest.*;do
14831483
case$filein
1484-
*.c |*.C |*.o |*.obj) ;;
1484+
*.c |*.o |*.obj) ;;
14851485
*) ac_cv_exeext=`echo$file| sed -e s/conftest//` ;;
14861486
esac
14871487
done
@@ -1629,7 +1629,7 @@ fi
16291629

16301630
# Create compiler version string
16311631
iftest x"$GCC" = x"yes";then
1632-
cc_string="GCC`${CC} --version`"
1632+
cc_string="GCC`${CC} --version| head -1`"
16331633
else
16341634
cc_string=$CC
16351635
fi

‎configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ AC_SUBST(GCC)
297297

298298
# Create compiler version string
299299
if test x"$GCC" = x"yes" ; then
300-
cc_string="GCC `${CC} --version`"
300+
cc_string="GCC `${CC} --version | head -1`"
301301
else
302302
cc_string=$CC
303303
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp