diff options
author | Nick Clifton <nickc@redhat.com> | 1998-04-28 22:43:01 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1998-04-28 22:43:01 +0000 |
commit | 65887313cfb6ef67b0c1b0ca12d611c5af7d9dd7 (patch) | |
tree | a816fb458c6f66bd7a22e795ed5ae637853afb40 | |
parent | 3d7def9fb57463488c010e6dfa347051b5782133 (diff) | |
download | fsf-binutils-gdb-65887313cfb6ef67b0c1b0ca12d611c5af7d9dd7.zip fsf-binutils-gdb-65887313cfb6ef67b0c1b0ca12d611c5af7d9dd7.tar.gz fsf-binutils-gdb-65887313cfb6ef67b0c1b0ca12d611c5af7d9dd7.tar.bz2 |
Rebuilt again!
-rw-r--r-- | opcodes/aclocal.m4 | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/opcodes/aclocal.m4 b/opcodes/aclocal.m4 index 4afdfe5..d38c985 100644 --- a/opcodes/aclocal.m4 +++ b/opcodes/aclocal.m4 @@ -163,11 +163,17 @@ case "$host" in # On SCO OpenServer 5, we need -belf to get full-featured binaries. CFLAGS="$CFLAGS -belf" ;; + +*-*-cygwin32*) + AM_SYS_LIBTOOL_CYGWIN32 + ;; + esac # Actually configure libtool. ac_aux_dir is where install-sh is found. CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \ +DLLTOOL="$DLLTOOL" AS="$AS" \ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ || AC_MSG_ERROR([libtool configure failed]) @@ -257,7 +263,9 @@ if test "$ac_cv_prog_gcc" = yes; then ac_prog=`($CC -print-prog-name=ld) 2>&5` case "$ac_prog" in # Accept absolute paths. +changequote(,)dnl /* | [A-Za-z]:\\*) +changequote([,])dnl test -z "$LD" && LD="$ac_prog" ;; "") @@ -320,11 +328,7 @@ fi]) AC_DEFUN(AM_PROG_NM, [AC_MSG_CHECKING([for BSD-compatible nm]) AC_CACHE_VAL(ac_cv_path_NM, -[case "$NM" in -/* | [A-Za-z]:\\*) - ac_cv_path_NM="$NM" # Let the user override the test with a path. - ;; -*) +[if test -z "$NM"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in /usr/ucb /usr/ccs/bin $PATH /bin; do test -z "$ac_dir" && ac_dir=. @@ -344,13 +348,20 @@ AC_CACHE_VAL(ac_cv_path_NM, done IFS="$ac_save_ifs" test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm - ;; -esac]) +else + ac_cv_path_NM="$NM" # Let the user override the test with a path. +fi]) NM="$ac_cv_path_NM" AC_MSG_RESULT([$NM]) AC_SUBST(NM) ]) +# AM_SYS_LIBTOOL_CYGWIN32 - find tools needed on cygwin32 +AC_DEFUN(AM_SYS_LIBTOOL_CYGWIN32, +[AC_CHECK_TOOL(DLLTOOL, dlltool, false) +AC_CHECK_TOOL(AS, as, false) +]) + # Like AC_CONFIG_HEADER, but automatically create stamp file. AC_DEFUN(AM_CONFIG_HEADER, |