]> granicus.if.org Git - yasm/commitdiff
* ax_create_stdint_h.m4: Don't bother using head -1 to get the first line of
authorPeter Johnson <peter@tortall.net>
Sun, 9 Apr 2006 06:05:37 +0000 (06:05 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 9 Apr 2006 06:05:37 +0000 (06:05 -0000)
gcc --version; this is just extra information.  POSIX needs -n 1 instead of
-1; instead of dealing with this, just disable this function.

Noticed by: Vikas Kumar <walburn@gmail.com>

svn path=/trunk/yasm/; revision=1480

m4/ax_create_stdint_h.m4

index 7e6882cc520f86ba21ce686e4e4ae0781d4855b9..0077dc86d57822ee9ce629088269d8e1ece5af6c 100644 (file)
@@ -203,11 +203,11 @@ AC_CHECK_TYPE(intmax_t,,,[#include <$ac_cv_header_stdint>])
 
 fi # shortcircut to system "stdint.h"
 # ------------------ PREPARE VARIABLES ------------------------------
-if test "$GCC" = "yes" ; then
-ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1` 
-else
+#if test "$GCC" = "yes" ; then
+#ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1` 
+#else
 ac_cv_stdint_message="using $CC"
-fi
+#fi
 
 AC_MSG_RESULT([make use of $ac_cv_header_stdint in $ac_stdint_h dnl
 $ac_cv_stdint_result])