Ignore:
Timestamp:
Aug 2, 2010, 8:16:45 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: trunk update to 3.5.4

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/m4/aclocal.m4

    r414 r480  
    364364dnl Copied from libtool.m4
    365365AC_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,
    367367[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
    368 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
     368if $CC -Wl,-v /dev/null 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
    369369  ac_cv_prog_gnu_ld=yes
    370370else
     
    609609[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
    610610AC_ENABLE_STATIC(no)])
     611
     612dnl AC_TRY_COMMAND_NO_STDERR - also fail if there is output on stderr
     613AC_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])
    611624
    612625dnl AC_TRY_RUN_STRICT(PROGRAM,CFLAGS,CPPFLAGS,LDFLAGS,
Note: See TracChangeset for help on using the changeset viewer.