From: Peter Johnson Date: Sun, 9 Apr 2006 06:05:37 +0000 (-0000) Subject: * ax_create_stdint_h.m4: Don't bother using head -1 to get the first line of X-Git-Tag: v0.5.0~17^2~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=846b658f5beec022ddd474bf577e0b169b25fcdf;p=yasm * ax_create_stdint_h.m4: Don't bother using head -1 to get the first line of 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 svn path=/trunk/yasm/; revision=1480 --- diff --git a/m4/ax_create_stdint_h.m4 b/m4/ax_create_stdint_h.m4 index 7e6882cc..0077dc86 100644 --- a/m4/ax_create_stdint_h.m4 +++ b/m4/ax_create_stdint_h.m4 @@ -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])