Commit 3dd7094e by Alexandre Oliva Committed by Alexandre Oliva

ltconfig, [...]: Updated from libtool multi-language branch, to work around Solaris' /bin/sh bug.

* ltconfig, ltmain.sh, libtool.m4, ltcf-cxx.sh: Updated from libtool
multi-language branch, to work around Solaris' /bin/sh bug.  Rebuilt
all affected `configure' scripts.

From-SVN: r36672
parent f2fa288f
2000-09-30 Alexandre Oliva <aoliva@redhat.com>
* ltconfig, ltmain.sh, libtool.m4, ltcf-cxx.sh: Updated from libtool
multi-language branch, to work around Solaris' /bin/sh bug. Rebuilt
all affected `configure' scripts.
2000-09-26 David Edelsohn <edelsohn@gnu.org> 2000-09-26 David Edelsohn <edelsohn@gnu.org>
* config/mt-aix43 (NM_FOR_TARGET): Add -B bsd-style flag. * config/mt-aix43 (NM_FOR_TARGET): Add -B bsd-style flag.
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -37,12 +37,17 @@ dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. ...@@ -37,12 +37,17 @@ dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
[AC_LIBTOOL_GCJ], [AC_LIBTOOL_GCJ],
[AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
[AC_LIBTOOL_GCJ], [AC_LIBTOOL_GCJ],
[AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
[AC_LIBTOOL_GCJ],
[ifdef([AC_PROG_GCJ], [ifdef([AC_PROG_GCJ],
[define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ
])]) ])])
ifdef([A][M_PROG_GCJ], ifdef([A][M_PROG_GCJ],
[define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ
])])])])]) ])])
ifdef([LT_AC_PROG_GCJ],
[define([LT_AC_PROG_GCJ], defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ
])])])])])])
AC_DEFUN(_AC_PROG_LIBTOOL, AC_DEFUN(_AC_PROG_LIBTOOL,
[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
...@@ -54,7 +59,7 @@ AC_CACHE_SAVE ...@@ -54,7 +59,7 @@ AC_CACHE_SAVE
# Actually configure libtool. ac_aux_dir is where install-sh is found. # Actually configure libtool. ac_aux_dir is where install-sh is found.
AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \ LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \ AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \ objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
...@@ -99,7 +104,7 @@ dnl ...@@ -99,7 +104,7 @@ dnl
# Only perform the check for file, if the check method requires it # Only perform the check for file, if the check method requires it
case "$deplibs_check_method" in case "$deplibs_check_method" in
file_magic*) file_magic*)
if test "$file_magic_cmd" = '${MAGIC}'; then if test "$file_magic_cmd" = '$MAGIC_CMD'; then
AC_PATH_MAGIC AC_PATH_MAGIC
fi fi
;; ;;
...@@ -168,7 +173,7 @@ case "$host" in ...@@ -168,7 +173,7 @@ case "$host" in
;; ;;
ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
[*-*-cygwin* | *-*-mingw*) [*-*-cygwin* | *-*-mingw* | *-*-pw32*)
AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false)
AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(AS, as, false)
AC_CHECK_TOOL(OBJDUMP, objdump, false) AC_CHECK_TOOL(OBJDUMP, objdump, false)
...@@ -190,7 +195,7 @@ ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], ...@@ -190,7 +195,7 @@ ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch, AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
[AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])]) [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
CFLAGS="$SAVE_CFLAGS" ;; CFLAGS="$SAVE_CFLAGS" ;;
*-*-cygwin*) *-*-cygwin* | *-*-pw32*)
# cygwin systems need to pass --dll to the linker, and not link # cygwin systems need to pass --dll to the linker, and not link
# crt.o which will require a WinMain@16 definition. # crt.o which will require a WinMain@16 definition.
lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;; lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
...@@ -317,16 +322,16 @@ pic_mode=ifelse($#,1,$1,default)]) ...@@ -317,16 +322,16 @@ pic_mode=ifelse($#,1,$1,default)])
# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library # AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
AC_DEFUN(AC_PATH_TOOL_PREFIX, AC_DEFUN(AC_PATH_TOOL_PREFIX,
[AC_MSG_CHECKING([for $1]) [AC_MSG_CHECKING([for $1])
AC_CACHE_VAL(lt_cv_path_MAGIC, AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
[case "$MAGIC" in [case "$MAGIC_CMD" in
/*) /*)
lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
;; ;;
?:/*) ?:/*)
ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
;; ;;
*) *)
ac_save_MAGIC="$MAGIC" ac_save_MAGIC_CMD="$MAGIC_CMD"
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
dnl $ac_dummy forces splitting on constant user-supplied paths. dnl $ac_dummy forces splitting on constant user-supplied paths.
dnl POSIX.2 word splitting is done only on the output of word expansions, dnl POSIX.2 word splitting is done only on the output of word expansions,
...@@ -335,12 +340,12 @@ dnl not every word. This closes a longstanding sh security hole. ...@@ -335,12 +340,12 @@ dnl not every word. This closes a longstanding sh security hole.
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$1; then if test -f $ac_dir/$1; then
lt_cv_path_MAGIC="$ac_dir/$1" lt_cv_path_MAGIC_CMD="$ac_dir/$1"
if test -n "$file_magic_test_file"; then if test -n "$file_magic_test_file"; then
case "$deplibs_check_method" in case "$deplibs_check_method" in
"file_magic "*) "file_magic "*)
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
MAGIC="$lt_cv_path_MAGIC" MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
egrep "$file_magic_regex" > /dev/null; then egrep "$file_magic_regex" > /dev/null; then
: :
...@@ -364,12 +369,12 @@ EOF ...@@ -364,12 +369,12 @@ EOF
fi fi
done done
IFS="$ac_save_ifs" IFS="$ac_save_ifs"
MAGIC="$ac_save_MAGIC" MAGIC_CMD="$ac_save_MAGIC_CMD"
;; ;;
esac]) esac])
MAGIC="$lt_cv_path_MAGIC" MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
if test -n "$MAGIC"; then if test -n "$MAGIC_CMD"; then
AC_MSG_RESULT($MAGIC) AC_MSG_RESULT($MAGIC_CMD)
else else
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
fi fi
...@@ -380,11 +385,11 @@ fi ...@@ -380,11 +385,11 @@ fi
AC_DEFUN(AC_PATH_MAGIC, AC_DEFUN(AC_PATH_MAGIC,
[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl [AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH) AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
if test -z "$lt_cv_path_MAGIC"; then if test -z "$lt_cv_path_MAGIC_CMD"; then
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH) AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
else else
MAGIC=: MAGIC_CMD=:
fi fi
fi fi
]) ])
...@@ -492,7 +497,7 @@ test -n "$reload_flag" && reload_flag=" $reload_flag" ...@@ -492,7 +497,7 @@ test -n "$reload_flag" && reload_flag=" $reload_flag"
AC_DEFUN(AC_DEPLIBS_CHECK_METHOD, AC_DEFUN(AC_DEPLIBS_CHECK_METHOD,
[AC_CACHE_CHECK([how to recognise dependant libraries], [AC_CACHE_CHECK([how to recognise dependant libraries],
lt_cv_deplibs_check_method, lt_cv_deplibs_check_method,
[lt_cv_file_magic_cmd='${MAGIC}' [lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file= lt_cv_file_magic_test_file=
lt_cv_deplibs_check_method='unknown' lt_cv_deplibs_check_method='unknown'
# Need to set the preceding variable on all platforms that support # Need to set the preceding variable on all platforms that support
...@@ -523,9 +528,9 @@ bsdi4*) ...@@ -523,9 +528,9 @@ bsdi4*)
lt_cv_file_magic_test_file=/shlib/libc.so lt_cv_file_magic_test_file=/shlib/libc.so
;; ;;
cygwin* | mingw*) cygwin* | mingw* |pw32*)
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
lt_cv_file_magic_cmd='${OBJDUMP} -f' lt_cv_file_magic_cmd='$OBJDUMP -f'
;; ;;
freebsd* ) freebsd* )
...@@ -682,7 +687,7 @@ AC_DEFUN(AC_CHECK_LIBM, ...@@ -682,7 +687,7 @@ AC_DEFUN(AC_CHECK_LIBM,
[AC_REQUIRE([AC_CANONICAL_HOST])dnl [AC_REQUIRE([AC_CANONICAL_HOST])dnl
LIBM= LIBM=
case "$host" in case "$host" in
*-*-beos* | *-*-cygwin*) *-*-beos* | *-*-cygwin* | *-*-pw32*)
# These system don't have libm # These system don't have libm
;; ;;
*-ncr-sysv4.3*) *-ncr-sysv4.3*)
...@@ -765,7 +770,7 @@ lt_save_CFLAGS="$CFLAGS" ...@@ -765,7 +770,7 @@ lt_save_CFLAGS="$CFLAGS"
dnl Make sure LTCC is set to the C compiler, i.e. set LTCC before CC dnl Make sure LTCC is set to the C compiler, i.e. set LTCC before CC
dnl is set to the C++ compiler. dnl is set to the C++ compiler.
AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \ AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
MAGIC="$MAGIC" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \ LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \ AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \ objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
...@@ -788,16 +793,17 @@ AC_DEFUN(_AC_LIBTOOL_GCJ, ...@@ -788,16 +793,17 @@ AC_DEFUN(_AC_LIBTOOL_GCJ,
[AC_REQUIRE([AC_PROG_LIBTOOL]) [AC_REQUIRE([AC_PROG_LIBTOOL])
AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
[AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
[ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
[ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
[AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])]) [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
[AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh" LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
lt_save_CC="$CC" lt_save_CC="$CC"
lt_save_CFLAGS="$CFLAGS" lt_save_CFLAGS="$CFLAGS"
dnl Make sure LTCC is set to the C compiler, i.e. set LTCC before CC dnl Make sure LTCC is set to the C compiler, i.e. set LTCC before CC
dnl is set to the C++ compiler. dnl is set to the C++ compiler.
AR="$AR" LTCC="$CC" CC="$GCJ" CFLAGS="$GCJFLAGS" CPPFLAGS="" \ AR="$AR" LTCC="$CC" CC="$GCJ" CFLAGS="$GCJFLAGS" CPPFLAGS="" \
MAGIC="$MAGIC" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \ LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \ AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \ objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
......
...@@ -298,8 +298,7 @@ case "$host_os" in ...@@ -298,8 +298,7 @@ case "$host_os" in
esac esac
;; ;;
netbsd*) netbsd*)
# FIXME: insert proper C++ library support # NetBSD uses g++ - do we need to do anything?
ld_shlibs=no
;; ;;
osf3*) osf3*)
if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
......
...@@ -55,7 +55,7 @@ modename="$progname" ...@@ -55,7 +55,7 @@ modename="$progname"
PROGRAM=ltmain.sh PROGRAM=ltmain.sh
PACKAGE=libtool PACKAGE=libtool
VERSION=1.4a VERSION=1.4a
TIMESTAMP=" (1.641.2.111 2000/09/05 10:29:18)" TIMESTAMP=" (1.641.2.122 2000/09/30 05:27:52)"
default_mode= default_mode=
help="Try \`$progname --help' for more information." help="Try \`$progname --help' for more information."
...@@ -545,7 +545,7 @@ if test -z "$show_help"; then ...@@ -545,7 +545,7 @@ if test -z "$show_help"; then
# On Cygwin there's no "real" PIC flag so we must build both object types # On Cygwin there's no "real" PIC flag so we must build both object types
case "$host_os" in case "$host_os" in
cygwin* | mingw* | os2*) cygwin* | mingw* | pw32* | os2*)
pic_mode=default pic_mode=default
;; ;;
esac esac
...@@ -557,7 +557,7 @@ if test -z "$show_help"; then ...@@ -557,7 +557,7 @@ if test -z "$show_help"; then
# Calculate the filename of the output object if compiler does # Calculate the filename of the output object if compiler does
# not support -o with -c # not support -o with -c
if test "$compiler_c_o" = no; then if test "$compiler_c_o" = no; then
output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\..*$%%'`.${objext} output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
lockfile="$output_obj.lock" lockfile="$output_obj.lock"
removelist="$removelist $output_obj $lockfile" removelist="$removelist $output_obj $lockfile"
trap "$run $rm $removelist; exit 1" 1 2 15 trap "$run $rm $removelist; exit 1" 1 2 15
...@@ -778,7 +778,7 @@ EOF ...@@ -778,7 +778,7 @@ EOF
link | relink) link | relink)
modename="$modename: link" modename="$modename: link"
case "$host" in case "$host" in
*-*-cygwin* | *-*-mingw* | *-*-os2*) *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
# It is impossible to link a dll without this setting, and # It is impossible to link a dll without this setting, and
# we shouldn't force the makefile maintainer to figure out # we shouldn't force the makefile maintainer to figure out
# which system we are compiling for in order to pass an extra # which system we are compiling for in order to pass an extra
...@@ -1080,7 +1080,7 @@ EOF ...@@ -1080,7 +1080,7 @@ EOF
;; ;;
esac esac
case "$host" in case "$host" in
*-*-cygwin* | *-*-mingw* | *-*-os2*) *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
case ":$dllsearchpath:" in case ":$dllsearchpath:" in
*":$dir:"*) ;; *":$dir:"*) ;;
*) dllsearchpath="$dllsearchpath:$dir";; *) dllsearchpath="$dllsearchpath:$dir";;
...@@ -1093,14 +1093,14 @@ EOF ...@@ -1093,14 +1093,14 @@ EOF
-l*) -l*)
if test "$arg" = "-lc"; then if test "$arg" = "-lc"; then
case "$host" in case "$host" in
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*) *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
# These systems don't actually have c library (as such) # These systems don't actually have c library (as such)
continue continue
;; ;;
esac esac
elif test "$arg" = "-lm"; then elif test "$arg" = "-lm"; then
case "$host" in case "$host" in
*-*-cygwin* | *-*-beos*) *-*-cygwin* | *-*-pw32* | *-*-beos*)
# These systems don't actually have math library (as such) # These systems don't actually have math library (as such)
continue continue
;; ;;
...@@ -1122,7 +1122,7 @@ EOF ...@@ -1122,7 +1122,7 @@ EOF
-no-install) -no-install)
case "$host" in case "$host" in
*-*-cygwin* | *-*-mingw* | *-*-os2*) *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
# The PATH hackery in wrapper scripts is required on Windows # The PATH hackery in wrapper scripts is required on Windows
# in order for the loader to find any dlls it needs. # in order for the loader to find any dlls it needs.
$echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
...@@ -2481,10 +2481,10 @@ EOF ...@@ -2481,10 +2481,10 @@ EOF
;; ;;
windows) windows)
# Like Linux, but with '-' rather than '.', since we only # Use '-' rather than '.', since we only want one
# want one extension on Windows 95. # extension on DOS 8.3 filesystems.
major=`expr $current - $age` major=`expr $current - $age`
versuffix="-$major-$age-$revision" versuffix="-$major"
;; ;;
*) *)
...@@ -2599,7 +2599,7 @@ EOF ...@@ -2599,7 +2599,7 @@ EOF
if test "$build_libtool_libs" = yes; then if test "$build_libtool_libs" = yes; then
if test -n "$rpath"; then if test -n "$rpath"; then
case "$host" in case "$host" in
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*) *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
# these systems don't actually have a c library (as such)! # these systems don't actually have a c library (as such)!
;; ;;
*) *)
...@@ -3251,7 +3251,7 @@ EOF ...@@ -3251,7 +3251,7 @@ EOF
esac esac
fi fi
case "$host" in case "$host" in
*-*-cygwin* | *-*-mingw* | *-*-os2*) *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
case ":$dllsearchpath:" in case ":$dllsearchpath:" in
*":$libdir:"*) ;; *":$libdir:"*) ;;
*) dllsearchpath="$dllsearchpath:$libdir";; *) dllsearchpath="$dllsearchpath:$libdir";;
...@@ -3785,7 +3785,7 @@ else ...@@ -3785,7 +3785,7 @@ else
case $host in case $host in
# win32 systems need to use the prog path for dll # win32 systems need to use the prog path for dll
# lookup to work # lookup to work
*-*-cygwin*) *-*-cygwin* | *-*-pw32*)
$echo >> $output "\ $echo >> $output "\
exec \$progdir/\$program \${1+\"\$@\"} exec \$progdir/\$program \${1+\"\$@\"}
" "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment