Changeset 478 for vendor/current/source3/m4
- Timestamp:
- Aug 2, 2010, 6:40:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/m4/aclocal.m4
r414 r478 364 364 dnl Copied from libtool.m4 365 365 AC_DEFUN(AC_PROG_LD_GNU, 366 [AC_CACHE_CHECK([if the linker ($LD)is GNU ld], ac_cv_prog_gnu_ld,366 [AC_CACHE_CHECK([if the linker used by compiler is GNU ld], ac_cv_prog_gnu_ld, 367 367 [# I'd rather use --version here, but apparently some GNU ld's only accept -v. 368 if $ LD -v2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then368 if $CC -Wl,-v /dev/null 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 369 369 ac_cv_prog_gnu_ld=yes 370 370 else … … 609 609 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 610 610 AC_ENABLE_STATIC(no)]) 611 612 dnl AC_TRY_COMMAND_NO_STDERR - also fail if there is output on stderr 613 AC_DEFUN( [AC_TRY_COMMAND_NO_STDERR], 614 [ 615 { OUT=`($1) 3>&AS_MESSAGE_LOG_FD 2>&1 1>&3` 616 RC=$? 617 echo "\$?=$RC" >&AS_MESSAGE_LOG_FD 618 if test x"$OUT" != x ; then 619 echo "stderr:" >&AS_MESSAGE_LOG_FD 620 echo "$OUT" >&AS_MESSAGE_LOG_FD 621 fi 622 test $RC -eq 0 -a x"$OUT" = x ; } 623 ]) 611 624 612 625 dnl AC_TRY_RUN_STRICT(PROGRAM,CFLAGS,CPPFLAGS,LDFLAGS,
Note:
See TracChangeset
for help on using the changeset viewer.