mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-07 19:30:47 -04:00
2977 lines
114 KiB
Plaintext
2977 lines
114 KiB
Plaintext
$NetBSD$
|
|
|
|
--- configure.orig Thu Apr 17 18:53:51 2014
|
|
+++ configure
|
|
@@ -1,13 +1,11 @@
|
|
#! /bin/sh
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
-# Generated by GNU Autoconf 2.68 for GNU Libtool 2.4.2.
|
|
+# Generated by GNU Autoconf 2.69 for GNU Libtool 2.4.2.
|
|
#
|
|
# Report bugs to <bug-libtool@gnu.org>.
|
|
#
|
|
#
|
|
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
|
-# Foundation, Inc.
|
|
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
|
#
|
|
#
|
|
# This configure script is free software; the Free Software Foundation
|
|
@@ -136,6 +134,31 @@ export LANGUAGE
|
|
# CDPATH.
|
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
|
|
+# Use a proper internal environment variable to ensure we don't fall
|
|
+ # into an infinite loop, continuously re-executing ourselves.
|
|
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
|
|
+ _as_can_reexec=no; export _as_can_reexec;
|
|
+ # We cannot yet assume a decent shell, so we have to provide a
|
|
+# neutralization value for shells without unset; and this also
|
|
+# works around shells that cannot unset nonexistent variables.
|
|
+# Preserve -v and -x to the replacement shell.
|
|
+BASH_ENV=/dev/null
|
|
+ENV=/dev/null
|
|
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
+case $- in # ((((
|
|
+ *v*x* | *x*v* ) as_opts=-vx ;;
|
|
+ *v* ) as_opts=-v ;;
|
|
+ *x* ) as_opts=-x ;;
|
|
+ * ) as_opts= ;;
|
|
+esac
|
|
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
|
+# Admittedly, this is quite paranoid, since all the known shells bail
|
|
+# out after a failed `exec'.
|
|
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
|
+as_fn_exit 255
|
|
+ fi
|
|
+ # We don't want this to propagate to other subprocesses.
|
|
+ { _as_can_reexec=; unset _as_can_reexec;}
|
|
if test "x$CONFIG_SHELL" = x; then
|
|
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
emulate sh
|
|
@@ -169,7 +192,8 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" );
|
|
else
|
|
exitcode=1; echo positional parameters were not saved.
|
|
fi
|
|
-test x\$exitcode = x0 || exit 1"
|
|
+test x\$exitcode = x0 || exit 1
|
|
+test -x / || exit 1"
|
|
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
|
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
|
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
@@ -222,21 +246,25 @@ IFS=$as_save_IFS
|
|
|
|
|
|
if test "x$CONFIG_SHELL" != x; then :
|
|
- # We cannot yet assume a decent shell, so we have to provide a
|
|
- # neutralization value for shells without unset; and this also
|
|
- # works around shells that cannot unset nonexistent variables.
|
|
- # Preserve -v and -x to the replacement shell.
|
|
- BASH_ENV=/dev/null
|
|
- ENV=/dev/null
|
|
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
- export CONFIG_SHELL
|
|
- case $- in # ((((
|
|
- *v*x* | *x*v* ) as_opts=-vx ;;
|
|
- *v* ) as_opts=-v ;;
|
|
- *x* ) as_opts=-x ;;
|
|
- * ) as_opts= ;;
|
|
- esac
|
|
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
|
|
+ export CONFIG_SHELL
|
|
+ # We cannot yet assume a decent shell, so we have to provide a
|
|
+# neutralization value for shells without unset; and this also
|
|
+# works around shells that cannot unset nonexistent variables.
|
|
+# Preserve -v and -x to the replacement shell.
|
|
+BASH_ENV=/dev/null
|
|
+ENV=/dev/null
|
|
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
+case $- in # ((((
|
|
+ *v*x* | *x*v* ) as_opts=-vx ;;
|
|
+ *v* ) as_opts=-v ;;
|
|
+ *x* ) as_opts=-x ;;
|
|
+ * ) as_opts= ;;
|
|
+esac
|
|
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
|
+# Admittedly, this is quite paranoid, since all the known shells bail
|
|
+# out after a failed `exec'.
|
|
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
|
+exit 255
|
|
fi
|
|
|
|
if test x$as_have_required = xno; then :
|
|
@@ -339,6 +367,14 @@ $as_echo X"$as_dir" |
|
|
|
|
|
|
} # as_fn_mkdir_p
|
|
+
|
|
+# as_fn_executable_p FILE
|
|
+# -----------------------
|
|
+# Test if FILE is an executable regular file.
|
|
+as_fn_executable_p ()
|
|
+{
|
|
+ test -f "$1" && test -x "$1"
|
|
+} # as_fn_executable_p
|
|
# as_fn_append VAR VALUE
|
|
# ----------------------
|
|
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
@@ -460,6 +496,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
chmod +x "$as_me.lineno" ||
|
|
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
|
|
|
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
|
|
+ # already done that, so ensure we don't try to do so again and fall
|
|
+ # in an infinite loop. This has already happened in practice.
|
|
+ _as_can_reexec=no; export _as_can_reexec
|
|
# Don't try to exec as it changes $[0], causing all sort of problems
|
|
# (the dirname of $[0] is not the place where we might find the
|
|
# original and so on. Autoconf is especially sensitive to this).
|
|
@@ -494,16 +534,16 @@ if (echo >conf$$.file) 2>/dev/null; then
|
|
# ... but there are two gotchas:
|
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
- # In both cases, we have to default to `cp -p'.
|
|
+ # In both cases, we have to default to `cp -pR'.
|
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
- as_ln_s='cp -p'
|
|
+ as_ln_s='cp -pR'
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
as_ln_s=ln
|
|
else
|
|
- as_ln_s='cp -p'
|
|
+ as_ln_s='cp -pR'
|
|
fi
|
|
else
|
|
- as_ln_s='cp -p'
|
|
+ as_ln_s='cp -pR'
|
|
fi
|
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
rmdir conf$$.dir 2>/dev/null
|
|
@@ -515,28 +555,8 @@ else
|
|
as_mkdir_p=false
|
|
fi
|
|
|
|
-if test -x / >/dev/null 2>&1; then
|
|
- as_test_x='test -x'
|
|
-else
|
|
- if ls -dL / >/dev/null 2>&1; then
|
|
- as_ls_L_option=L
|
|
- else
|
|
- as_ls_L_option=
|
|
- fi
|
|
- as_test_x='
|
|
- eval sh -c '\''
|
|
- if test -d "$1"; then
|
|
- test -d "$1/.";
|
|
- else
|
|
- case $1 in #(
|
|
- -*)set "./$1";;
|
|
- esac;
|
|
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
|
- ???[sx]*):;;*)false;;esac;fi
|
|
- '\'' sh
|
|
- '
|
|
-fi
|
|
-as_executable_p=$as_test_x
|
|
+as_test_x='test -x'
|
|
+as_executable_p=as_fn_executable_p
|
|
|
|
# Sed expression to map a string onto a valid CPP name.
|
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
@@ -692,6 +712,7 @@ CPP
|
|
am__fastdepCC_FALSE
|
|
am__fastdepCC_TRUE
|
|
CCDEPMODE
|
|
+am__nodep
|
|
AMDEPBACKSLASH
|
|
AMDEP_FALSE
|
|
AMDEP_TRUE
|
|
@@ -719,6 +740,10 @@ build_os
|
|
build_vendor
|
|
build_cpu
|
|
build
|
|
+AM_BACKSLASH
|
|
+AM_DEFAULT_VERBOSITY
|
|
+AM_DEFAULT_V
|
|
+AM_V
|
|
am__untar
|
|
am__tar
|
|
AMTAR
|
|
@@ -788,6 +813,7 @@ SHELL'
|
|
ac_subst_files=''
|
|
ac_user_opts='
|
|
enable_option_checking
|
|
+enable_silent_rules
|
|
enable_ltdl_install
|
|
enable_dependency_tracking
|
|
enable_shared
|
|
@@ -1270,8 +1296,6 @@ target=$target_alias
|
|
if test "x$host_alias" != x; then
|
|
if test "x$build_alias" = x; then
|
|
cross_compiling=maybe
|
|
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
|
- If a cross compiler is detected then cross compile mode will be used" >&2
|
|
elif test "x$build_alias" != "x$host_alias"; then
|
|
cross_compiling=yes
|
|
fi
|
|
@@ -1435,9 +1459,13 @@ Optional Features:
|
|
--disable-option-checking ignore unrecognized --enable/--with options
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
+ --enable-silent-rules less verbose build output (undo: "make V=1")
|
|
+ --disable-silent-rules verbose build output (undo: "make V=0")
|
|
--disable-ltdl-install do not install libltdl
|
|
- --disable-dependency-tracking speeds up one-time build
|
|
- --enable-dependency-tracking do not reject slow dependency extractors
|
|
+ --enable-dependency-tracking
|
|
+ do not reject slow dependency extractors
|
|
+ --disable-dependency-tracking
|
|
+ speeds up one-time build
|
|
--enable-shared[=PKGS] build shared libraries [default=yes]
|
|
--enable-static[=PKGS] build static libraries [default=yes]
|
|
--enable-fast-install[=PKGS]
|
|
@@ -1540,9 +1568,9 @@ test -n "$ac_init_help" && exit $ac_status
|
|
if $ac_init_version; then
|
|
cat <<\_ACEOF
|
|
GNU Libtool configure 2.4.2
|
|
-generated by GNU Autoconf 2.68
|
|
+generated by GNU Autoconf 2.69
|
|
|
|
-Copyright (C) 2010 Free Software Foundation, Inc.
|
|
+Copyright (C) 2012 Free Software Foundation, Inc.
|
|
This configure script is free software; the Free Software Foundation
|
|
gives unlimited permission to copy, distribute and modify it.
|
|
_ACEOF
|
|
@@ -1655,7 +1683,7 @@ $as_echo "$ac_try_echo"; } >&5
|
|
test ! -s conftest.err
|
|
} && test -s conftest$ac_exeext && {
|
|
test "$cross_compiling" = yes ||
|
|
- $as_test_x conftest$ac_exeext
|
|
+ test -x conftest$ac_exeext
|
|
}; then :
|
|
ac_retval=0
|
|
else
|
|
@@ -2016,7 +2044,7 @@ $as_echo "$ac_try_echo"; } >&5
|
|
test ! -s conftest.err
|
|
} && test -s conftest$ac_exeext && {
|
|
test "$cross_compiling" = yes ||
|
|
- $as_test_x conftest$ac_exeext
|
|
+ test -x conftest$ac_exeext
|
|
}; then :
|
|
ac_retval=0
|
|
else
|
|
@@ -2100,7 +2128,7 @@ $as_echo "$ac_try_echo"; } >&5
|
|
test ! -s conftest.err
|
|
} && test -s conftest$ac_exeext && {
|
|
test "$cross_compiling" = yes ||
|
|
- $as_test_x conftest$ac_exeext
|
|
+ test -x conftest$ac_exeext
|
|
}; then :
|
|
ac_retval=0
|
|
else
|
|
@@ -2184,7 +2212,7 @@ $as_echo "$ac_try_echo"; } >&5
|
|
test ! -s conftest.err
|
|
} && test -s conftest$ac_exeext && {
|
|
test "$cross_compiling" = yes ||
|
|
- $as_test_x conftest$ac_exeext
|
|
+ test -x conftest$ac_exeext
|
|
}; then :
|
|
ac_retval=0
|
|
else
|
|
@@ -2207,7 +2235,7 @@ This file contains any messages produced by compilers
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
It was created by GNU Libtool $as_me 2.4.2, which was
|
|
-generated by GNU Autoconf 2.68. Invocation command line was
|
|
+generated by GNU Autoconf 2.69. Invocation command line was
|
|
|
|
$ $0 $@
|
|
|
|
@@ -2685,7 +2713,7 @@ echo
|
|
## Automake Initialisation. ##
|
|
## ------------------------ ##
|
|
|
|
-am__api_version='1.11'
|
|
+am__api_version='1.13'
|
|
|
|
# Find a good install program. We prefer a C program (faster),
|
|
# so one script is as good as another. But avoid the broken or
|
|
@@ -2724,7 +2752,7 @@ case $as_dir/ in #((
|
|
# by default.
|
|
for ac_prog in ginstall scoinst install; do
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
if test $ac_prog = install &&
|
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
# AIX install. It has an incompatible calling convention.
|
|
@@ -2782,9 +2810,6 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
|
$as_echo_n "checking whether build environment is sane... " >&6; }
|
|
-# Just in case
|
|
-sleep 1
|
|
-echo timestamp > conftest.file
|
|
# Reject unsafe characters in $srcdir or the absolute working directory
|
|
# name. Accept space and tab only in the latter.
|
|
am_lf='
|
|
@@ -2795,32 +2820,40 @@ case `pwd` in
|
|
esac
|
|
case $srcdir in
|
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
|
- as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
|
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
|
|
esac
|
|
|
|
-# Do `set' in a subshell so we don't clobber the current shell's
|
|
+# Do 'set' in a subshell so we don't clobber the current shell's
|
|
# arguments. Must try -L first in case configure is actually a
|
|
# symlink; some systems play weird games with the mod time of symlinks
|
|
# (eg FreeBSD returns the mod time of the symlink's containing
|
|
# directory).
|
|
if (
|
|
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
|
- if test "$*" = "X"; then
|
|
- # -L didn't work.
|
|
- set X `ls -t "$srcdir/configure" conftest.file`
|
|
- fi
|
|
- rm -f conftest.file
|
|
- if test "$*" != "X $srcdir/configure conftest.file" \
|
|
- && test "$*" != "X conftest.file $srcdir/configure"; then
|
|
+ am_has_slept=no
|
|
+ for am_try in 1 2; do
|
|
+ echo "timestamp, slept: $am_has_slept" > conftest.file
|
|
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
|
+ if test "$*" = "X"; then
|
|
+ # -L didn't work.
|
|
+ set X `ls -t "$srcdir/configure" conftest.file`
|
|
+ fi
|
|
+ if test "$*" != "X $srcdir/configure conftest.file" \
|
|
+ && test "$*" != "X conftest.file $srcdir/configure"; then
|
|
|
|
- # If neither matched, then we have a broken ls. This can happen
|
|
- # if, for instance, CONFIG_SHELL is bash and it inherits a
|
|
- # broken ls alias from the environment. This has actually
|
|
- # happened. Such a system could not be considered "sane".
|
|
- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
|
|
-alias in your environment" "$LINENO" 5
|
|
- fi
|
|
-
|
|
+ # If neither matched, then we have a broken ls. This can happen
|
|
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
|
|
+ # broken ls alias from the environment. This has actually
|
|
+ # happened. Such a system could not be considered "sane".
|
|
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
|
|
+ alias in your environment" "$LINENO" 5
|
|
+ fi
|
|
+ if test "$2" = conftest.file || test $am_try -eq 2; then
|
|
+ break
|
|
+ fi
|
|
+ # Just in case.
|
|
+ sleep 1
|
|
+ am_has_slept=yes
|
|
+ done
|
|
test "$2" = conftest.file
|
|
)
|
|
then
|
|
@@ -2832,6 +2865,16 @@ Check your system clock" "$LINENO" 5
|
|
fi
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
$as_echo "yes" >&6; }
|
|
+# If we didn't sleep, we still need to ensure time stamps of config.status and
|
|
+# generated files are strictly newer.
|
|
+am_sleep_pid=
|
|
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
|
|
+ ( sleep 1 ) &
|
|
+ am_sleep_pid=$!
|
|
+fi
|
|
+
|
|
+rm -f conftest.file
|
|
+
|
|
test "$program_prefix" != NONE &&
|
|
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
|
# Use a double $ so make ignores it.
|
|
@@ -2854,12 +2897,12 @@ if test x"${MISSING+set}" != xset; then
|
|
esac
|
|
fi
|
|
# Use eval to expand $SHELL
|
|
-if eval "$MISSING --run true"; then
|
|
- am_missing_run="$MISSING --run "
|
|
+if eval "$MISSING --is-lightweight"; then
|
|
+ am_missing_run="$MISSING "
|
|
else
|
|
am_missing_run=
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
|
-$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
|
|
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
|
fi
|
|
|
|
if test x"${install_sh}" != xset; then
|
|
@@ -2871,10 +2914,10 @@ if test x"${install_sh}" != xset; then
|
|
esac
|
|
fi
|
|
|
|
-# Installed binaries are usually stripped using `strip' when the user
|
|
-# run `make install-strip'. However `strip' might not be the right
|
|
+# Installed binaries are usually stripped using 'strip' when the user
|
|
+# run "make install-strip". However 'strip' might not be the right
|
|
# tool to use in cross-compilation environments, therefore Automake
|
|
-# will honor the `STRIP' environment variable to overrule this program.
|
|
+# will honor the 'STRIP' environment variable to overrule this program.
|
|
if test "$cross_compiling" != no; then
|
|
if test -n "$ac_tool_prefix"; then
|
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|
@@ -2893,7 +2936,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -2933,7 +2976,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_STRIP="strip"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -2984,7 +3027,7 @@ do
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_prog in mkdir gmkdir; do
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
|
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
|
|
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
'mkdir (GNU coreutils) '* | \
|
|
'mkdir (coreutils) '* | \
|
|
@@ -3013,12 +3056,6 @@ fi
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
|
$as_echo "$MKDIR_P" >&6; }
|
|
|
|
-mkdir_p="$MKDIR_P"
|
|
-case $mkdir_p in
|
|
- [\\/$]* | ?:[\\/]*) ;;
|
|
- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
|
-esac
|
|
-
|
|
for ac_prog in gawk mawk nawk awk
|
|
do
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
@@ -3037,7 +3074,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_AWK="$ac_prog"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -3101,6 +3138,45 @@ else
|
|
fi
|
|
rmdir .tst 2>/dev/null
|
|
|
|
+# Check whether --enable-silent-rules was given.
|
|
+if test "${enable_silent_rules+set}" = set; then :
|
|
+ enableval=$enable_silent_rules;
|
|
+fi
|
|
+
|
|
+case $enable_silent_rules in # (((
|
|
+ yes) AM_DEFAULT_VERBOSITY=0;;
|
|
+ no) AM_DEFAULT_VERBOSITY=1;;
|
|
+ *) AM_DEFAULT_VERBOSITY=1;;
|
|
+esac
|
|
+am_make=${MAKE-make}
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
|
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
|
|
+if ${am_cv_make_support_nested_variables+:} false; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if $as_echo 'TRUE=$(BAR$(V))
|
|
+BAR0=false
|
|
+BAR1=true
|
|
+V=1
|
|
+am__doit:
|
|
+ @$(TRUE)
|
|
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
|
|
+ am_cv_make_support_nested_variables=yes
|
|
+else
|
|
+ am_cv_make_support_nested_variables=no
|
|
+fi
|
|
+fi
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
|
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
|
|
+if test $am_cv_make_support_nested_variables = yes; then
|
|
+ AM_V='$(V)'
|
|
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
|
+else
|
|
+ AM_V=$AM_DEFAULT_VERBOSITY
|
|
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
|
|
+fi
|
|
+AM_BACKSLASH='\'
|
|
+
|
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
|
# is not polluted with repeated "-I."
|
|
@@ -3151,20 +3227,31 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
|
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
|
|
|
+# For better backward compatibility. To be removed once Automake 1.9.x
|
|
+# dies out for good. For more background, see:
|
|
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
|
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
|
+mkdir_p='$(MKDIR_P)'
|
|
+
|
|
# We need awk for the "check" target. The system "awk" is bad on
|
|
# some platforms.
|
|
-# Always define AMTAR for backward compatibility.
|
|
+# Always define AMTAR for backward compatibility. Yes, it's still used
|
|
+# in the wild :-( We should find a proper way to deprecate it ...
|
|
+AMTAR='$${TAR-tar}'
|
|
|
|
-AMTAR=${AMTAR-"${am_missing_run}tar"}
|
|
|
|
-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
|
|
+# We'll loop over all known methods to create a tar archive until one works.
|
|
+_am_tools='gnutar pax cpio none'
|
|
|
|
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
+
|
|
## ------------------------- ##
|
|
## Autobuild initialisation. ##
|
|
## ------------------------- ##
|
|
@@ -3347,7 +3434,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -3387,7 +3474,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_CC="gcc"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -3440,7 +3527,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -3481,7 +3568,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
|
ac_prog_rejected=yes
|
|
continue
|
|
@@ -3539,7 +3626,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -3583,7 +3670,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_CC="$ac_prog"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -4029,8 +4116,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
#include <stdarg.h>
|
|
#include <stdio.h>
|
|
-#include <sys/types.h>
|
|
-#include <sys/stat.h>
|
|
+struct stat;
|
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
struct buf { int x; };
|
|
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
@@ -4133,7 +4219,7 @@ am__quote=
|
|
_am_result=none
|
|
# First try GNU make style include.
|
|
echo "include confinc" > confmf
|
|
-# Ignore all kinds of additional output from `make'.
|
|
+# Ignore all kinds of additional output from 'make'.
|
|
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
*the\ am__doit\ target*)
|
|
am__include=include
|
|
@@ -4166,6 +4252,7 @@ fi
|
|
if test "x$enable_dependency_tracking" != xno; then
|
|
am_depcomp="$ac_aux_dir/depcomp"
|
|
AMDEPBACKSLASH='\'
|
|
+ am__nodep='_no'
|
|
fi
|
|
if test "x$enable_dependency_tracking" != xno; then
|
|
AMDEP_TRUE=
|
|
@@ -4188,8 +4275,9 @@ else
|
|
# We make a subdir and do the tests there. Otherwise we can end up
|
|
# making bogus files that we don't know about and never remove. For
|
|
# instance it was reported that on HP-UX the gcc test will end up
|
|
- # making a dummy file named `D' -- because `-MD' means `put the output
|
|
- # in D'.
|
|
+ # making a dummy file named 'D' -- because '-MD' means "put the output
|
|
+ # in D".
|
|
+ rm -rf conftest.dir
|
|
mkdir conftest.dir
|
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
|
# using a relative directory.
|
|
@@ -4223,16 +4311,16 @@ else
|
|
: > sub/conftest.c
|
|
for i in 1 2 3 4 5 6; do
|
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
|
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
|
- # Solaris 8's {/usr,}/bin/sh.
|
|
- touch sub/conftst$i.h
|
|
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
|
|
+ # Solaris 10 /bin/sh.
|
|
+ echo '/* dummy */' > sub/conftst$i.h
|
|
done
|
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
|
|
|
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
|
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
- # handle `-M -o', and we need to detect this. Also, some Intel
|
|
- # versions had trouble with output in subdirs
|
|
+ # handle '-M -o', and we need to detect this. Also, some Intel
|
|
+ # versions had trouble with output in subdirs.
|
|
am__obj=sub/conftest.${OBJEXT-o}
|
|
am__minus_obj="-o $am__obj"
|
|
case $depmode in
|
|
@@ -4241,16 +4329,16 @@ else
|
|
test "$am__universal" = false || continue
|
|
;;
|
|
nosideeffect)
|
|
- # after this tag, mechanisms are not by side-effect, so they'll
|
|
- # only be used when explicitly requested
|
|
+ # After this tag, mechanisms are not by side-effect, so they'll
|
|
+ # only be used when explicitly requested.
|
|
if test "x$enable_dependency_tracking" = xyes; then
|
|
continue
|
|
else
|
|
break
|
|
fi
|
|
;;
|
|
- msvisualcpp | msvcmsys)
|
|
- # This compiler won't grok `-c -o', but also, the minuso test has
|
|
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
|
|
+ # This compiler won't grok '-c -o', but also, the minuso test has
|
|
# not run yet. These depmodes are late enough in the game, and
|
|
# so weak that their functioning should not be impacted.
|
|
am__obj=conftest.${OBJEXT-o}
|
|
@@ -4687,7 +4775,7 @@ do
|
|
for ac_prog in sed gsed; do
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
|
|
- { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
|
|
+ as_fn_executable_p "$ac_path_SED" || continue
|
|
# Check for GNU ac_path_SED and select it if it is found.
|
|
# Check for GNU $ac_path_SED
|
|
case `"$ac_path_SED" --version 2>&1` in
|
|
@@ -4763,7 +4851,7 @@ do
|
|
for ac_prog in grep ggrep; do
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
|
+ as_fn_executable_p "$ac_path_GREP" || continue
|
|
# Check for GNU ac_path_GREP and select it if it is found.
|
|
# Check for GNU $ac_path_GREP
|
|
case `"$ac_path_GREP" --version 2>&1` in
|
|
@@ -4829,7 +4917,7 @@ do
|
|
for ac_prog in egrep; do
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
|
+ as_fn_executable_p "$ac_path_EGREP" || continue
|
|
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
# Check for GNU $ac_path_EGREP
|
|
case `"$ac_path_EGREP" --version 2>&1` in
|
|
@@ -4896,7 +4984,7 @@ do
|
|
for ac_prog in fgrep; do
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
- { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
|
|
+ as_fn_executable_p "$ac_path_FGREP" || continue
|
|
# Check for GNU ac_path_FGREP and select it if it is found.
|
|
# Check for GNU $ac_path_FGREP
|
|
case `"$ac_path_FGREP" --version 2>&1` in
|
|
@@ -5152,7 +5240,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -5196,7 +5284,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -5335,7 +5423,7 @@ else
|
|
lt_cv_sys_max_cmd_len=8192;
|
|
;;
|
|
|
|
- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
|
|
+ netbsd* | freebsd* | openbsd* | minix* | mirbsd* | darwin* | dragonfly*)
|
|
# This has been around since 386BSD, at least. Likely further.
|
|
if test -x /sbin/sysctl; then
|
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
|
@@ -5620,7 +5708,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -5660,7 +5748,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_OBJDUMP="objdump"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -5829,14 +5917,21 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
|
lt_cv_deplibs_check_method=pass_all
|
|
;;
|
|
|
|
-netbsd*)
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
|
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
|
- else
|
|
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
|
|
- fi
|
|
+midnightbsd*)
|
|
+ # might to use match_pattern like MirBSD, but there is no well-defined
|
|
+ # naming scheme for libraries yet, as the current one is deprecated, and
|
|
+ # the new one in a state of flux especially between mports and MirPorts
|
|
+ lt_cv_deplibs_check_method=pass_all
|
|
;;
|
|
|
|
+mirbsd*)
|
|
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
|
|
+ ;;
|
|
+
|
|
+netbsd* | minix*)
|
|
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
|
|
+ ;;
|
|
+
|
|
newos6*)
|
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
|
|
lt_cv_file_magic_cmd=/usr/bin/file
|
|
@@ -5844,7 +5939,7 @@ newos6*)
|
|
;;
|
|
|
|
*nto* | *qnx*)
|
|
- lt_cv_deplibs_check_method=pass_all
|
|
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|S\.a)$'
|
|
;;
|
|
|
|
openbsd*)
|
|
@@ -5963,7 +6058,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -6003,7 +6098,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -6104,7 +6199,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -6148,7 +6243,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_AR="$ac_prog"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -6273,7 +6368,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -6313,7 +6408,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_STRIP="strip"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -6372,7 +6467,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -6412,7 +6507,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -6473,7 +6568,7 @@ fi
|
|
|
|
case $host_os in
|
|
darwin*)
|
|
- lock_old_archive_extraction=yes ;;
|
|
+ lock_old_archive_extraction=no ;; # work around bug #14579
|
|
*)
|
|
lock_old_archive_extraction=no ;;
|
|
esac
|
|
@@ -7061,7 +7156,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -7101,7 +7196,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -7181,7 +7276,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -7221,7 +7316,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -7273,7 +7368,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -7313,7 +7408,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_NMEDIT="nmedit"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -7365,7 +7460,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -7405,7 +7500,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_LIPO="lipo"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -7457,7 +7552,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -7497,7 +7592,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_OTOOL="otool"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -7549,7 +7644,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -7589,7 +7684,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_OTOOL64="otool64"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -7958,7 +8053,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_AS="${ac_tool_prefix}as"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -7998,7 +8093,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_AS="as"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -8050,7 +8145,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -8090,7 +8185,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -8142,7 +8237,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -8182,7 +8277,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_OBJDUMP="objdump"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -8493,7 +8588,10 @@ for cc_temp in $compiler""; do
|
|
*) break;;
|
|
esac
|
|
done
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
+# decisions are made only based on compiler names
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
|
|
|
|
|
# Only perform the check for file, if the check method requires it
|
|
@@ -8806,11 +8904,18 @@ lt_prog_compiler_static=
|
|
;;
|
|
|
|
darwin* | rhapsody*)
|
|
- # PIC is the default on this platform
|
|
+ # PIC is the default on this platform, and static linking of
|
|
+ # binaries generally doesn't work
|
|
# Common symbols not allowed in MH_DYLIB files
|
|
lt_prog_compiler_pic='-fno-common'
|
|
+ lt_prog_compiler_static=''
|
|
;;
|
|
|
|
+ *mint*)
|
|
+ # FreeMiNT does not support shared libraries at all
|
|
+ lt_prog_compiler_pic=
|
|
+ ;;
|
|
+
|
|
haiku*)
|
|
# PIC is the default for Haiku.
|
|
# The "-static" flag exists, but is broken.
|
|
@@ -8836,6 +8941,13 @@ lt_prog_compiler_static=
|
|
# Instead, we relocate shared libraries at runtime.
|
|
;;
|
|
|
|
+ mint*)
|
|
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
+ # on systems that don't support them.
|
|
+ lt_prog_compiler_can_build_shared=no
|
|
+ enable_shared=no
|
|
+ ;;
|
|
+
|
|
msdosdjgpp*)
|
|
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
# on systems that don't support them.
|
|
@@ -8988,6 +9100,15 @@ lt_prog_compiler_static=
|
|
esac
|
|
;;
|
|
|
|
+ mirbsd*)
|
|
+ case $cc_basename in
|
|
+ # pkgsrc f77 is f2c, which uses gcc underneath.
|
|
+ f77*)
|
|
+ lt_prog_compiler_wl='-Wl,'
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+
|
|
newsos6)
|
|
lt_prog_compiler_pic='-KPIC'
|
|
lt_prog_compiler_static='-Bstatic'
|
|
@@ -9063,6 +9184,9 @@ lt_prog_compiler_static=
|
|
|
|
case $host_os in
|
|
# For platforms which do not support PIC, -DPIC is meaningless:
|
|
+ mint*)
|
|
+ lt_prog_compiler_pic=
|
|
+ ;;
|
|
*djgpp*)
|
|
lt_prog_compiler_pic=
|
|
;;
|
|
@@ -9608,16 +9732,29 @@ _LT_EOF
|
|
fi
|
|
;;
|
|
|
|
- netbsd*)
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
- wlarc=
|
|
+ mirbsd*)
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
+ hardcode_direct=yes
|
|
+ hardcode_shlibpath_var=no
|
|
+ hardcode_direct_absolute=yes
|
|
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
+ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
+ export_dynamic_flag_spec='${wl}-E'
|
|
else
|
|
- archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
- archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ ld_shlibs=no
|
|
fi
|
|
;;
|
|
|
|
+ netbsd* | minix*)
|
|
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
+ hardcode_direct=yes
|
|
+ hardcode_shlibpath_var=no
|
|
+ output_verbose_link_cmd=func_echo_all
|
|
+ ;;
|
|
+
|
|
solaris*)
|
|
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
|
|
ld_shlibs=no
|
|
@@ -10026,7 +10163,7 @@ fi
|
|
allow_undefined_flag="$_lt_dar_allow_undefined"
|
|
case $cc_basename in
|
|
ifort*) _lt_dar_can_shared=yes ;;
|
|
- *) _lt_dar_can_shared=$GCC ;;
|
|
+ *) _lt_dar_can_shared=yes ;;
|
|
esac
|
|
if test "$_lt_dar_can_shared" = "yes"; then
|
|
output_verbose_link_cmd=func_echo_all
|
|
@@ -10238,15 +10375,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
link_all_deplibs=yes
|
|
;;
|
|
|
|
- netbsd*)
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
|
+ mirbsd*)
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
+ hardcode_direct=yes
|
|
+ hardcode_shlibpath_var=no
|
|
+ hardcode_direct_absolute=yes
|
|
+ archive_cmds='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
|
+ archive_expsym_cmds='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
+ export_dynamic_flag_spec='${wl}-E'
|
|
+ whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
else
|
|
- archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
|
+ ld_shlibs=no
|
|
fi
|
|
- hardcode_libdir_flag_spec='-R$libdir'
|
|
+ ;;
|
|
+
|
|
+ netbsd* | minix*)
|
|
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
hardcode_direct=yes
|
|
hardcode_shlibpath_var=no
|
|
+ output_verbose_link_cmd=func_echo_all
|
|
;;
|
|
|
|
newsos6)
|
|
@@ -10258,6 +10408,11 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
;;
|
|
|
|
*nto* | *qnx*)
|
|
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec='-R$libdir'
|
|
+ hardcode_direct=yes
|
|
+ hardcode_shlibpath_var=no
|
|
;;
|
|
|
|
openbsd*)
|
|
@@ -11031,7 +11186,7 @@ dgux*)
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
;;
|
|
|
|
-freebsd* | dragonfly*)
|
|
+freebsd*)
|
|
# DragonFly does not have aout. When/if they implement a new
|
|
# versioning mechanism, adjust this.
|
|
if test -x /usr/bin/objformat; then
|
|
@@ -11045,7 +11200,7 @@ freebsd* | dragonfly*)
|
|
version_type=freebsd-$objformat
|
|
case $version_type in
|
|
freebsd-elf*)
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
need_version=no
|
|
need_lib_prefix=no
|
|
;;
|
|
@@ -11068,13 +11223,24 @@ freebsd* | dragonfly*)
|
|
shlibpath_overrides_runpath=no
|
|
hardcode_into_libs=yes
|
|
;;
|
|
- *) # from 4.6 on, and DragonFly
|
|
+ *) # from 4.6 on
|
|
shlibpath_overrides_runpath=yes
|
|
hardcode_into_libs=yes
|
|
;;
|
|
esac
|
|
;;
|
|
|
|
+dragonfly*)
|
|
+ version_type=linux
|
|
+ need_version=no
|
|
+ need_lib_prefix=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=no
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
gnu*)
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
|
need_lib_prefix=no
|
|
@@ -11162,12 +11328,7 @@ interix[3-9]*)
|
|
irix5* | irix6* | nonstopux*)
|
|
case $host_os in
|
|
nonstopux*) version_type=nonstopux ;;
|
|
- *)
|
|
- if test "$lt_cv_prog_gnu_ld" = yes; then
|
|
- version_type=linux # correct to gnu/linux during the next big refactor
|
|
- else
|
|
- version_type=irix
|
|
- fi ;;
|
|
+ *) version_type=irix ;;
|
|
esac
|
|
need_lib_prefix=no
|
|
need_version=no
|
|
@@ -11266,24 +11427,53 @@ fi
|
|
dynamic_linker='GNU/Linux ld.so'
|
|
;;
|
|
|
|
+midnightbsd*)
|
|
+ version_type=linux
|
|
+ need_lib_prefix=no
|
|
+ need_version=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}'
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
+mirbsd*)
|
|
+ version_type=linux
|
|
+ sys_lib_search_path_spec="/usr/lib"
|
|
+ sys_lib_dlsearch_path_spec="/usr/lib"
|
|
+ need_lib_prefix=no
|
|
+ need_version=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}'
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ ;;
|
|
+
|
|
netbsd*)
|
|
- version_type=sunos
|
|
+ version_type=linux
|
|
need_lib_prefix=no
|
|
need_version=no
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
- dynamic_linker='NetBSD (a.out) ld.so'
|
|
- else
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
- soname_spec='${libname}${release}${shared_ext}$major'
|
|
- dynamic_linker='NetBSD ld.elf_so'
|
|
- fi
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
+ dynamic_linker='NetBSD ld.elf_so'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
shlibpath_overrides_runpath=yes
|
|
hardcode_into_libs=yes
|
|
;;
|
|
|
|
+minix*)
|
|
+ version_type=linux
|
|
+ need_lib_prefix=no
|
|
+ need_version=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
+ dynamic_linker='Minix ld.elf_so'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
newsos6)
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
|
@@ -11304,7 +11494,7 @@ newsos6)
|
|
;;
|
|
|
|
openbsd*)
|
|
- version_type=sunos
|
|
+ version_type=linux
|
|
sys_lib_dlsearch_path_spec="/usr/lib"
|
|
need_lib_prefix=no
|
|
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
|
@@ -11312,7 +11502,7 @@ openbsd*)
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
|
*) need_version=no ;;
|
|
esac
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
@@ -12847,9 +13037,12 @@ else
|
|
# at 6.2 and later dlopen does load deplibs.
|
|
lt_cv_sys_dlopen_deplibs=yes
|
|
;;
|
|
- netbsd*)
|
|
+ mirbsd*)
|
|
lt_cv_sys_dlopen_deplibs=yes
|
|
;;
|
|
+ netbsd* | minix*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
openbsd*)
|
|
lt_cv_sys_dlopen_deplibs=yes
|
|
;;
|
|
@@ -13169,7 +13362,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -13213,7 +13406,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -13409,8 +13602,9 @@ else
|
|
# We make a subdir and do the tests there. Otherwise we can end up
|
|
# making bogus files that we don't know about and never remove. For
|
|
# instance it was reported that on HP-UX the gcc test will end up
|
|
- # making a dummy file named `D' -- because `-MD' means `put the output
|
|
- # in D'.
|
|
+ # making a dummy file named 'D' -- because '-MD' means "put the output
|
|
+ # in D".
|
|
+ rm -rf conftest.dir
|
|
mkdir conftest.dir
|
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
|
# using a relative directory.
|
|
@@ -13444,16 +13638,16 @@ else
|
|
: > sub/conftest.c
|
|
for i in 1 2 3 4 5 6; do
|
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
|
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
|
- # Solaris 8's {/usr,}/bin/sh.
|
|
- touch sub/conftst$i.h
|
|
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
|
|
+ # Solaris 10 /bin/sh.
|
|
+ echo '/* dummy */' > sub/conftst$i.h
|
|
done
|
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
|
|
|
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
|
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
- # handle `-M -o', and we need to detect this. Also, some Intel
|
|
- # versions had trouble with output in subdirs
|
|
+ # handle '-M -o', and we need to detect this. Also, some Intel
|
|
+ # versions had trouble with output in subdirs.
|
|
am__obj=sub/conftest.${OBJEXT-o}
|
|
am__minus_obj="-o $am__obj"
|
|
case $depmode in
|
|
@@ -13462,16 +13656,16 @@ else
|
|
test "$am__universal" = false || continue
|
|
;;
|
|
nosideeffect)
|
|
- # after this tag, mechanisms are not by side-effect, so they'll
|
|
- # only be used when explicitly requested
|
|
+ # After this tag, mechanisms are not by side-effect, so they'll
|
|
+ # only be used when explicitly requested.
|
|
if test "x$enable_dependency_tracking" = xyes; then
|
|
continue
|
|
else
|
|
break
|
|
fi
|
|
;;
|
|
- msvisualcpp | msvcmsys)
|
|
- # This compiler won't grok `-c -o', but also, the minuso test has
|
|
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
|
|
+ # This compiler won't grok '-c -o', but also, the minuso test has
|
|
# not run yet. These depmodes are late enough in the game, and
|
|
# so weak that their functioning should not be impacted.
|
|
am__obj=conftest.${OBJEXT-o}
|
|
@@ -13536,9 +13730,7 @@ func_stripname_cnf ()
|
|
esac
|
|
} # func_stripname_cnf
|
|
|
|
- if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
|
|
- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
|
|
- (test "X$CXX" != "Xg++"))) ; then
|
|
+ if test -n "$CXX" && test "X$CXX" != "Xno" ; then
|
|
ac_ext=cpp
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
@@ -13786,7 +13978,10 @@ $RM -r conftest*
|
|
*) break;;
|
|
esac
|
|
done
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
+# decisions are made only based on compiler names
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
|
|
|
|
|
if test -n "$compiler"; then
|
|
@@ -14282,7 +14477,7 @@ fi
|
|
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
|
|
case $cc_basename in
|
|
ifort*) _lt_dar_can_shared=yes ;;
|
|
- *) _lt_dar_can_shared=$GCC ;;
|
|
+ *) _lt_dar_can_shared=yes ;;
|
|
esac
|
|
if test "$_lt_dar_can_shared" = "yes"; then
|
|
output_verbose_link_cmd=func_echo_all
|
|
@@ -14651,6 +14846,22 @@ fi
|
|
ld_shlibs_CXX=no
|
|
;;
|
|
|
|
+ mirbsd*)
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
+ hardcode_direct_CXX=yes
|
|
+ hardcode_shlibpath_var_CXX=no
|
|
+ hardcode_direct_absolute_CXX=yes
|
|
+ archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
|
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
|
|
+ export_dynamic_flag_spec_CXX='${wl}-E'
|
|
+ whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
+ output_verbose_link_cmd='echo'
|
|
+ else
|
|
+ ld_shlibs_CXX=no
|
|
+ fi
|
|
+ ;;
|
|
+
|
|
mvs*)
|
|
case $cc_basename in
|
|
cxx*)
|
|
@@ -14664,16 +14875,14 @@ fi
|
|
esac
|
|
;;
|
|
|
|
- netbsd*)
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
|
|
- wlarc=
|
|
- hardcode_libdir_flag_spec_CXX='-R$libdir'
|
|
- hardcode_direct_CXX=yes
|
|
- hardcode_shlibpath_var_CXX=no
|
|
- fi
|
|
- # Workaround some broken pre-1.5 toolchains
|
|
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
|
|
+ netbsd* | minix*)
|
|
+ ld_shlibs_CXX=yes
|
|
+ archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
|
|
+ hardcode_direct_CXX=yes
|
|
+ hardcode_shlibpath_var_CXX=no
|
|
+ output_verbose_link_cmd=func_echo_all
|
|
;;
|
|
|
|
*nto* | *qnx*)
|
|
@@ -14853,9 +15062,9 @@ fi
|
|
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
|
|
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
|
|
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
|
|
- archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
|
|
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
|
|
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
|
- $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
|
|
+ $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
|
|
|
|
# Commands to make compiler produce verbose output that lists
|
|
# what "hidden" libraries, object files and flags are used when
|
|
@@ -14864,9 +15073,9 @@ fi
|
|
else
|
|
# g++ 2.7 appears to require `-G' NOT `-shared' on this
|
|
# platform.
|
|
- archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
|
|
+ archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
|
|
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
|
- $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
|
|
+ $CC -G -nostdlib ${wl}-M $wl$lib.exp $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
|
|
|
|
# Commands to make compiler produce verbose output that lists
|
|
# what "hidden" libraries, object files and flags are used when
|
|
@@ -15236,10 +15445,16 @@ lt_prog_compiler_static_CXX=
|
|
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
|
|
;;
|
|
darwin* | rhapsody*)
|
|
- # PIC is the default on this platform
|
|
+ # PIC is the default on this platform, and static linking of
|
|
+ # binaries generally doesn't work
|
|
# Common symbols not allowed in MH_DYLIB files
|
|
lt_prog_compiler_pic_CXX='-fno-common'
|
|
+ lt_prog_compiler_static_CXX=''
|
|
;;
|
|
+ *mint*)
|
|
+ # FreeMiNT does not support shared libraries at all
|
|
+ lt_prog_compiler_pic_CXX=
|
|
+ ;;
|
|
*djgpp*)
|
|
# DJGPP does not support shared libraries at all
|
|
lt_prog_compiler_pic_CXX=
|
|
@@ -15316,6 +15531,9 @@ lt_prog_compiler_static_CXX=
|
|
;;
|
|
esac
|
|
;;
|
|
+ mint*)
|
|
+ # FreeMiNT uses GNU C++
|
|
+ ;;
|
|
freebsd* | dragonfly*)
|
|
# FreeBSD uses GNU C++
|
|
;;
|
|
@@ -15423,7 +15641,7 @@ lt_prog_compiler_static_CXX=
|
|
;;
|
|
esac
|
|
;;
|
|
- netbsd*)
|
|
+ netbsd* | minix*)
|
|
;;
|
|
*qnx* | *nto*)
|
|
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
|
@@ -15513,6 +15731,9 @@ lt_prog_compiler_static_CXX=
|
|
|
|
case $host_os in
|
|
# For platforms which do not support PIC, -DPIC is meaningless:
|
|
+ mint*)
|
|
+ lt_prog_compiler_pic_CXX=
|
|
+ ;;
|
|
*djgpp*)
|
|
lt_prog_compiler_pic_CXX=
|
|
;;
|
|
@@ -16184,7 +16405,7 @@ dgux*)
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
;;
|
|
|
|
-freebsd* | dragonfly*)
|
|
+freebsd*)
|
|
# DragonFly does not have aout. When/if they implement a new
|
|
# versioning mechanism, adjust this.
|
|
if test -x /usr/bin/objformat; then
|
|
@@ -16198,7 +16419,7 @@ freebsd* | dragonfly*)
|
|
version_type=freebsd-$objformat
|
|
case $version_type in
|
|
freebsd-elf*)
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
need_version=no
|
|
need_lib_prefix=no
|
|
;;
|
|
@@ -16221,13 +16442,24 @@ freebsd* | dragonfly*)
|
|
shlibpath_overrides_runpath=no
|
|
hardcode_into_libs=yes
|
|
;;
|
|
- *) # from 4.6 on, and DragonFly
|
|
+ *) # from 4.6 on
|
|
shlibpath_overrides_runpath=yes
|
|
hardcode_into_libs=yes
|
|
;;
|
|
esac
|
|
;;
|
|
|
|
+dragonfly*)
|
|
+ version_type=linux
|
|
+ need_version=no
|
|
+ need_lib_prefix=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=no
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
gnu*)
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
|
need_lib_prefix=no
|
|
@@ -16315,12 +16547,7 @@ interix[3-9]*)
|
|
irix5* | irix6* | nonstopux*)
|
|
case $host_os in
|
|
nonstopux*) version_type=nonstopux ;;
|
|
- *)
|
|
- if test "$lt_cv_prog_gnu_ld" = yes; then
|
|
- version_type=linux # correct to gnu/linux during the next big refactor
|
|
- else
|
|
- version_type=irix
|
|
- fi ;;
|
|
+ *) version_type=irix ;;
|
|
esac
|
|
need_lib_prefix=no
|
|
need_version=no
|
|
@@ -16419,24 +16646,53 @@ fi
|
|
dynamic_linker='GNU/Linux ld.so'
|
|
;;
|
|
|
|
+midnightbsd*)
|
|
+ version_type=linux
|
|
+ need_lib_prefix=no
|
|
+ need_version=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}'
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
+mirbsd*)
|
|
+ version_type=linux
|
|
+ sys_lib_search_path_spec="/usr/lib"
|
|
+ sys_lib_dlsearch_path_spec="/usr/lib"
|
|
+ need_lib_prefix=no
|
|
+ need_version=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}'
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ ;;
|
|
+
|
|
netbsd*)
|
|
- version_type=sunos
|
|
+ version_type=linux
|
|
need_lib_prefix=no
|
|
need_version=no
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
- dynamic_linker='NetBSD (a.out) ld.so'
|
|
- else
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
- soname_spec='${libname}${release}${shared_ext}$major'
|
|
- dynamic_linker='NetBSD ld.elf_so'
|
|
- fi
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
+ dynamic_linker='NetBSD ld.elf_so'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
shlibpath_overrides_runpath=yes
|
|
hardcode_into_libs=yes
|
|
;;
|
|
|
|
+minix*)
|
|
+ version_type=linux
|
|
+ need_lib_prefix=no
|
|
+ need_version=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
+ dynamic_linker='Minix ld.elf_so'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
newsos6)
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
|
@@ -16457,7 +16713,7 @@ newsos6)
|
|
;;
|
|
|
|
openbsd*)
|
|
- version_type=sunos
|
|
+ version_type=linux
|
|
sys_lib_dlsearch_path_spec="/usr/lib"
|
|
need_lib_prefix=no
|
|
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
|
@@ -16465,7 +16721,7 @@ openbsd*)
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
|
*) need_version=no ;;
|
|
esac
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
@@ -16730,7 +16986,7 @@ ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
|
|
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
|
|
if test -n "$ac_tool_prefix"; then
|
|
- for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn
|
|
+ for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
|
|
do
|
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
|
@@ -16748,7 +17004,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -16774,7 +17030,7 @@ fi
|
|
fi
|
|
if test -z "$F77"; then
|
|
ac_ct_F77=$F77
|
|
- for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn
|
|
+ for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
|
|
do
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
set dummy $ac_prog; ac_word=$2
|
|
@@ -16792,7 +17048,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_F77="$ac_prog"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -17039,7 +17295,10 @@ $RM -r conftest*
|
|
*) break;;
|
|
esac
|
|
done
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
+# decisions are made only based on compiler names
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
|
|
|
GCC=$G77
|
|
if test -n "$compiler"; then
|
|
@@ -17131,11 +17390,18 @@ lt_prog_compiler_static_F77=
|
|
;;
|
|
|
|
darwin* | rhapsody*)
|
|
- # PIC is the default on this platform
|
|
+ # PIC is the default on this platform, and static linking of
|
|
+ # binaries generally doesn't work
|
|
# Common symbols not allowed in MH_DYLIB files
|
|
lt_prog_compiler_pic_F77='-fno-common'
|
|
+ lt_prog_compiler_static_F77=''
|
|
;;
|
|
|
|
+ *mint*)
|
|
+ # FreeMiNT does not support shared libraries at all
|
|
+ lt_prog_compiler_pic_F77=
|
|
+ ;;
|
|
+
|
|
haiku*)
|
|
# PIC is the default for Haiku.
|
|
# The "-static" flag exists, but is broken.
|
|
@@ -17161,6 +17427,13 @@ lt_prog_compiler_static_F77=
|
|
# Instead, we relocate shared libraries at runtime.
|
|
;;
|
|
|
|
+ mint*)
|
|
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
+ # on systems that don't support them.
|
|
+ lt_prog_compiler_can_build_shared_F77=no
|
|
+ enable_shared=no
|
|
+ ;;
|
|
+
|
|
msdosdjgpp*)
|
|
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
# on systems that don't support them.
|
|
@@ -17313,6 +17586,15 @@ lt_prog_compiler_static_F77=
|
|
esac
|
|
;;
|
|
|
|
+ mirbsd*)
|
|
+ case $cc_basename in
|
|
+ # pkgsrc f77 is f2c, which uses gcc underneath.
|
|
+ f77*)
|
|
+ lt_prog_compiler_wl_F77='-Wl,'
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+
|
|
newsos6)
|
|
lt_prog_compiler_pic_F77='-KPIC'
|
|
lt_prog_compiler_static_F77='-Bstatic'
|
|
@@ -17388,6 +17670,9 @@ lt_prog_compiler_static_F77=
|
|
|
|
case $host_os in
|
|
# For platforms which do not support PIC, -DPIC is meaningless:
|
|
+ mint*)
|
|
+ lt_prog_compiler_pic_F77=
|
|
+ ;;
|
|
*djgpp*)
|
|
lt_prog_compiler_pic_F77=
|
|
;;
|
|
@@ -17918,16 +18203,29 @@ _LT_EOF
|
|
fi
|
|
;;
|
|
|
|
- netbsd*)
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
- wlarc=
|
|
+ mirbsd*)
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
+ hardcode_direct_F77=yes
|
|
+ hardcode_shlibpath_var_F77=no
|
|
+ hardcode_direct_absolute_F77=yes
|
|
+ archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
+ archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
|
+ export_dynamic_flag_spec_F77='${wl}-E'
|
|
else
|
|
- archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
- archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ ld_shlibs_F77=no
|
|
fi
|
|
;;
|
|
|
|
+ netbsd* | minix*)
|
|
+ archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
|
+ hardcode_direct_F77=yes
|
|
+ hardcode_shlibpath_var_F77=no
|
|
+ output_verbose_link_cmd=func_echo_all
|
|
+ ;;
|
|
+
|
|
solaris*)
|
|
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
|
|
ld_shlibs_F77=no
|
|
@@ -18324,7 +18622,7 @@ fi
|
|
allow_undefined_flag_F77="$_lt_dar_allow_undefined"
|
|
case $cc_basename in
|
|
ifort*) _lt_dar_can_shared=yes ;;
|
|
- *) _lt_dar_can_shared=$GCC ;;
|
|
+ *) _lt_dar_can_shared=yes ;;
|
|
esac
|
|
if test "$_lt_dar_can_shared" = "yes"; then
|
|
output_verbose_link_cmd=func_echo_all
|
|
@@ -18498,15 +18796,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
link_all_deplibs_F77=yes
|
|
;;
|
|
|
|
- netbsd*)
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
|
+ mirbsd*)
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
+ hardcode_direct_F77=yes
|
|
+ hardcode_shlibpath_var_F77=no
|
|
+ hardcode_direct_absolute_F77=yes
|
|
+ archive_cmds_F77='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
|
+ archive_expsym_cmds_F77='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
|
+ export_dynamic_flag_spec_F77='${wl}-E'
|
|
+ whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
else
|
|
- archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
|
+ ld_shlibs_F77=no
|
|
fi
|
|
- hardcode_libdir_flag_spec_F77='-R$libdir'
|
|
+ ;;
|
|
+
|
|
+ netbsd* | minix*)
|
|
+ archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
|
hardcode_direct_F77=yes
|
|
hardcode_shlibpath_var_F77=no
|
|
+ output_verbose_link_cmd=func_echo_all
|
|
;;
|
|
|
|
newsos6)
|
|
@@ -18518,6 +18829,11 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
;;
|
|
|
|
*nto* | *qnx*)
|
|
+ archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_F77='-R$libdir'
|
|
+ hardcode_direct_F77=yes
|
|
+ hardcode_shlibpath_var_F77=no
|
|
;;
|
|
|
|
openbsd*)
|
|
@@ -19126,7 +19442,7 @@ dgux*)
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
;;
|
|
|
|
-freebsd* | dragonfly*)
|
|
+freebsd*)
|
|
# DragonFly does not have aout. When/if they implement a new
|
|
# versioning mechanism, adjust this.
|
|
if test -x /usr/bin/objformat; then
|
|
@@ -19140,7 +19456,7 @@ freebsd* | dragonfly*)
|
|
version_type=freebsd-$objformat
|
|
case $version_type in
|
|
freebsd-elf*)
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
need_version=no
|
|
need_lib_prefix=no
|
|
;;
|
|
@@ -19163,13 +19479,24 @@ freebsd* | dragonfly*)
|
|
shlibpath_overrides_runpath=no
|
|
hardcode_into_libs=yes
|
|
;;
|
|
- *) # from 4.6 on, and DragonFly
|
|
+ *) # from 4.6 on
|
|
shlibpath_overrides_runpath=yes
|
|
hardcode_into_libs=yes
|
|
;;
|
|
esac
|
|
;;
|
|
|
|
+dragonfly*)
|
|
+ version_type=linux
|
|
+ need_version=no
|
|
+ need_lib_prefix=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=no
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
gnu*)
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
|
need_lib_prefix=no
|
|
@@ -19257,12 +19584,7 @@ interix[3-9]*)
|
|
irix5* | irix6* | nonstopux*)
|
|
case $host_os in
|
|
nonstopux*) version_type=nonstopux ;;
|
|
- *)
|
|
- if test "$lt_cv_prog_gnu_ld" = yes; then
|
|
- version_type=linux # correct to gnu/linux during the next big refactor
|
|
- else
|
|
- version_type=irix
|
|
- fi ;;
|
|
+ *) version_type=irix ;;
|
|
esac
|
|
need_lib_prefix=no
|
|
need_version=no
|
|
@@ -19355,24 +19677,53 @@ fi
|
|
dynamic_linker='GNU/Linux ld.so'
|
|
;;
|
|
|
|
+midnightbsd*)
|
|
+ version_type=linux
|
|
+ need_lib_prefix=no
|
|
+ need_version=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}'
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
+mirbsd*)
|
|
+ version_type=linux
|
|
+ sys_lib_search_path_spec="/usr/lib"
|
|
+ sys_lib_dlsearch_path_spec="/usr/lib"
|
|
+ need_lib_prefix=no
|
|
+ need_version=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}'
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ ;;
|
|
+
|
|
netbsd*)
|
|
- version_type=sunos
|
|
+ version_type=linux
|
|
need_lib_prefix=no
|
|
need_version=no
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
- dynamic_linker='NetBSD (a.out) ld.so'
|
|
- else
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
- soname_spec='${libname}${release}${shared_ext}$major'
|
|
- dynamic_linker='NetBSD ld.elf_so'
|
|
- fi
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
+ dynamic_linker='NetBSD ld.elf_so'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
shlibpath_overrides_runpath=yes
|
|
hardcode_into_libs=yes
|
|
;;
|
|
|
|
+minix*)
|
|
+ version_type=linux
|
|
+ need_lib_prefix=no
|
|
+ need_version=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
+ dynamic_linker='Minix ld.elf_so'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
newsos6)
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
|
@@ -19393,7 +19744,7 @@ newsos6)
|
|
;;
|
|
|
|
openbsd*)
|
|
- version_type=sunos
|
|
+ version_type=linux
|
|
sys_lib_dlsearch_path_spec="/usr/lib"
|
|
need_lib_prefix=no
|
|
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
|
@@ -19401,7 +19752,7 @@ openbsd*)
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
|
*) need_version=no ;;
|
|
esac
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
@@ -19659,7 +20010,7 @@ ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftes
|
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
|
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu
|
|
if test -n "$ac_tool_prefix"; then
|
|
- for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
|
|
+ for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
|
|
do
|
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
|
@@ -19677,7 +20028,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -19703,7 +20054,7 @@ fi
|
|
fi
|
|
if test -z "$FC"; then
|
|
ac_ct_FC=$FC
|
|
- for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
|
|
+ for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
|
|
do
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
set dummy $ac_prog; ac_word=$2
|
|
@@ -19721,7 +20072,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_FC="$ac_prog"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -19854,6 +20205,11 @@ else
|
|
fi
|
|
fi
|
|
|
|
+if test $ac_compiler_gnu = yes; then
|
|
+ GFC=yes
|
|
+else
|
|
+ GFC=
|
|
+fi
|
|
ac_ext=${ac_fc_srcext-f}
|
|
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
|
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
|
|
@@ -19966,7 +20322,10 @@ $RM -r conftest*
|
|
*) break;;
|
|
esac
|
|
done
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
+# decisions are made only based on compiler names
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
|
|
|
|
|
if test -n "$compiler"; then
|
|
@@ -20203,11 +20562,18 @@ lt_prog_compiler_static_FC=
|
|
;;
|
|
|
|
darwin* | rhapsody*)
|
|
- # PIC is the default on this platform
|
|
+ # PIC is the default on this platform, and static linking of
|
|
+ # binaries generally doesn't work
|
|
# Common symbols not allowed in MH_DYLIB files
|
|
lt_prog_compiler_pic_FC='-fno-common'
|
|
+ lt_prog_compiler_static_FC=''
|
|
;;
|
|
|
|
+ *mint*)
|
|
+ # FreeMiNT does not support shared libraries at all
|
|
+ lt_prog_compiler_pic_FC=
|
|
+ ;;
|
|
+
|
|
haiku*)
|
|
# PIC is the default for Haiku.
|
|
# The "-static" flag exists, but is broken.
|
|
@@ -20233,6 +20599,13 @@ lt_prog_compiler_static_FC=
|
|
# Instead, we relocate shared libraries at runtime.
|
|
;;
|
|
|
|
+ mint*)
|
|
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
+ # on systems that don't support them.
|
|
+ lt_prog_compiler_can_build_shared_FC=no
|
|
+ enable_shared=no
|
|
+ ;;
|
|
+
|
|
msdosdjgpp*)
|
|
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
# on systems that don't support them.
|
|
@@ -20385,6 +20758,15 @@ lt_prog_compiler_static_FC=
|
|
esac
|
|
;;
|
|
|
|
+ mirbsd*)
|
|
+ case $cc_basename in
|
|
+ # pkgsrc f77 is f2c, which uses gcc underneath.
|
|
+ f77*)
|
|
+ lt_prog_compiler_wl_FC='-Wl,'
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+
|
|
newsos6)
|
|
lt_prog_compiler_pic_FC='-KPIC'
|
|
lt_prog_compiler_static_FC='-Bstatic'
|
|
@@ -20460,6 +20842,9 @@ lt_prog_compiler_static_FC=
|
|
|
|
case $host_os in
|
|
# For platforms which do not support PIC, -DPIC is meaningless:
|
|
+ mint*)
|
|
+ lt_prog_compiler_pic_FC=
|
|
+ ;;
|
|
*djgpp*)
|
|
lt_prog_compiler_pic_FC=
|
|
;;
|
|
@@ -20990,16 +21375,29 @@ _LT_EOF
|
|
fi
|
|
;;
|
|
|
|
- netbsd*)
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
- wlarc=
|
|
+ mirbsd*)
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
+ hardcode_direct_FC=yes
|
|
+ hardcode_shlibpath_var_FC=no
|
|
+ hardcode_direct_absolute_FC=yes
|
|
+ archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
+ archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
+ hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
|
|
+ export_dynamic_flag_spec_FC='${wl}-E'
|
|
else
|
|
- archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
- archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ ld_shlibs_FC=no
|
|
fi
|
|
;;
|
|
|
|
+ netbsd* | minix*)
|
|
+ archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
|
|
+ hardcode_direct_FC=yes
|
|
+ hardcode_shlibpath_var_FC=no
|
|
+ output_verbose_link_cmd=func_echo_all
|
|
+ ;;
|
|
+
|
|
solaris*)
|
|
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
|
|
ld_shlibs_FC=no
|
|
@@ -21396,7 +21794,7 @@ fi
|
|
allow_undefined_flag_FC="$_lt_dar_allow_undefined"
|
|
case $cc_basename in
|
|
ifort*) _lt_dar_can_shared=yes ;;
|
|
- *) _lt_dar_can_shared=$GCC ;;
|
|
+ *) _lt_dar_can_shared=yes ;;
|
|
esac
|
|
if test "$_lt_dar_can_shared" = "yes"; then
|
|
output_verbose_link_cmd=func_echo_all
|
|
@@ -21570,15 +21968,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
link_all_deplibs_FC=yes
|
|
;;
|
|
|
|
- netbsd*)
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
|
+ mirbsd*)
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
+ hardcode_direct_FC=yes
|
|
+ hardcode_shlibpath_var_FC=no
|
|
+ hardcode_direct_absolute_FC=yes
|
|
+ archive_cmds_FC='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
|
+ archive_expsym_cmds_FC='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
|
|
+ export_dynamic_flag_spec_FC='${wl}-E'
|
|
+ whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
else
|
|
- archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
|
+ ld_shlibs_FC=no
|
|
fi
|
|
- hardcode_libdir_flag_spec_FC='-R$libdir'
|
|
+ ;;
|
|
+
|
|
+ netbsd* | minix*)
|
|
+ archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
|
|
hardcode_direct_FC=yes
|
|
hardcode_shlibpath_var_FC=no
|
|
+ output_verbose_link_cmd=func_echo_all
|
|
;;
|
|
|
|
newsos6)
|
|
@@ -21590,6 +22001,11 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
;;
|
|
|
|
*nto* | *qnx*)
|
|
+ archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_FC='-R$libdir'
|
|
+ hardcode_direct_FC=yes
|
|
+ hardcode_shlibpath_var_FC=no
|
|
;;
|
|
|
|
openbsd*)
|
|
@@ -22198,7 +22614,7 @@ dgux*)
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
;;
|
|
|
|
-freebsd* | dragonfly*)
|
|
+freebsd*)
|
|
# DragonFly does not have aout. When/if they implement a new
|
|
# versioning mechanism, adjust this.
|
|
if test -x /usr/bin/objformat; then
|
|
@@ -22212,7 +22628,7 @@ freebsd* | dragonfly*)
|
|
version_type=freebsd-$objformat
|
|
case $version_type in
|
|
freebsd-elf*)
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
need_version=no
|
|
need_lib_prefix=no
|
|
;;
|
|
@@ -22235,13 +22651,24 @@ freebsd* | dragonfly*)
|
|
shlibpath_overrides_runpath=no
|
|
hardcode_into_libs=yes
|
|
;;
|
|
- *) # from 4.6 on, and DragonFly
|
|
+ *) # from 4.6 on
|
|
shlibpath_overrides_runpath=yes
|
|
hardcode_into_libs=yes
|
|
;;
|
|
esac
|
|
;;
|
|
|
|
+dragonfly*)
|
|
+ version_type=linux
|
|
+ need_version=no
|
|
+ need_lib_prefix=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=no
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
gnu*)
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
|
need_lib_prefix=no
|
|
@@ -22329,12 +22756,7 @@ interix[3-9]*)
|
|
irix5* | irix6* | nonstopux*)
|
|
case $host_os in
|
|
nonstopux*) version_type=nonstopux ;;
|
|
- *)
|
|
- if test "$lt_cv_prog_gnu_ld" = yes; then
|
|
- version_type=linux # correct to gnu/linux during the next big refactor
|
|
- else
|
|
- version_type=irix
|
|
- fi ;;
|
|
+ *) version_type=irix ;;
|
|
esac
|
|
need_lib_prefix=no
|
|
need_version=no
|
|
@@ -22427,24 +22849,53 @@ fi
|
|
dynamic_linker='GNU/Linux ld.so'
|
|
;;
|
|
|
|
+midnightbsd*)
|
|
+ version_type=linux
|
|
+ need_lib_prefix=no
|
|
+ need_version=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}'
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
+mirbsd*)
|
|
+ version_type=linux
|
|
+ sys_lib_search_path_spec="/usr/lib"
|
|
+ sys_lib_dlsearch_path_spec="/usr/lib"
|
|
+ need_lib_prefix=no
|
|
+ need_version=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}'
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ ;;
|
|
+
|
|
netbsd*)
|
|
- version_type=sunos
|
|
+ version_type=linux
|
|
need_lib_prefix=no
|
|
need_version=no
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
- dynamic_linker='NetBSD (a.out) ld.so'
|
|
- else
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
- soname_spec='${libname}${release}${shared_ext}$major'
|
|
- dynamic_linker='NetBSD ld.elf_so'
|
|
- fi
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
+ dynamic_linker='NetBSD ld.elf_so'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
shlibpath_overrides_runpath=yes
|
|
hardcode_into_libs=yes
|
|
;;
|
|
|
|
+minix*)
|
|
+ version_type=linux
|
|
+ need_lib_prefix=no
|
|
+ need_version=no
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
+ dynamic_linker='Minix ld.elf_so'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
newsos6)
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
|
@@ -22465,7 +22916,7 @@ newsos6)
|
|
;;
|
|
|
|
openbsd*)
|
|
- version_type=sunos
|
|
+ version_type=linux
|
|
sys_lib_dlsearch_path_spec="/usr/lib"
|
|
need_lib_prefix=no
|
|
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
|
@@ -22473,7 +22924,7 @@ openbsd*)
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
|
*) need_version=no ;;
|
|
esac
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
@@ -22743,7 +23194,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -22783,7 +23234,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_GOC="gccgo"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -22883,7 +23334,10 @@ for cc_temp in $compiler""; do
|
|
*) break;;
|
|
esac
|
|
done
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
+# decisions are made only based on compiler names
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
|
|
|
|
|
# Go did not exist at the time GCC didn't implicitly link libc in.
|
|
@@ -23003,11 +23457,18 @@ lt_prog_compiler_static_GO=
|
|
;;
|
|
|
|
darwin* | rhapsody*)
|
|
- # PIC is the default on this platform
|
|
+ # PIC is the default on this platform, and static linking of
|
|
+ # binaries generally doesn't work
|
|
# Common symbols not allowed in MH_DYLIB files
|
|
lt_prog_compiler_pic_GO='-fno-common'
|
|
+ lt_prog_compiler_static_GO=''
|
|
;;
|
|
|
|
+ *mint*)
|
|
+ # FreeMiNT does not support shared libraries at all
|
|
+ lt_prog_compiler_pic_GO=
|
|
+ ;;
|
|
+
|
|
haiku*)
|
|
# PIC is the default for Haiku.
|
|
# The "-static" flag exists, but is broken.
|
|
@@ -23033,6 +23494,13 @@ lt_prog_compiler_static_GO=
|
|
# Instead, we relocate shared libraries at runtime.
|
|
;;
|
|
|
|
+ mint*)
|
|
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
+ # on systems that don't support them.
|
|
+ lt_prog_compiler_can_build_shared_GO=no
|
|
+ enable_shared=no
|
|
+ ;;
|
|
+
|
|
msdosdjgpp*)
|
|
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
# on systems that don't support them.
|
|
@@ -23185,6 +23653,15 @@ lt_prog_compiler_static_GO=
|
|
esac
|
|
;;
|
|
|
|
+ mirbsd*)
|
|
+ case $cc_basename in
|
|
+ # pkgsrc f77 is f2c, which uses gcc underneath.
|
|
+ f77*)
|
|
+ lt_prog_compiler_wl_GO='-Wl,'
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+
|
|
newsos6)
|
|
lt_prog_compiler_pic_GO='-KPIC'
|
|
lt_prog_compiler_static_GO='-Bstatic'
|
|
@@ -23260,6 +23737,9 @@ lt_prog_compiler_static_GO=
|
|
|
|
case $host_os in
|
|
# For platforms which do not support PIC, -DPIC is meaningless:
|
|
+ mint*)
|
|
+ lt_prog_compiler_pic_GO=
|
|
+ ;;
|
|
*djgpp*)
|
|
lt_prog_compiler_pic_GO=
|
|
;;
|
|
@@ -23790,16 +24270,29 @@ _LT_EOF
|
|
fi
|
|
;;
|
|
|
|
- netbsd*)
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- archive_cmds_GO='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
- wlarc=
|
|
+ mirbsd*)
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
+ hardcode_direct_GO=yes
|
|
+ hardcode_shlibpath_var_GO=no
|
|
+ hardcode_direct_absolute_GO=yes
|
|
+ archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
+ archive_expsym_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
+ hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
|
|
+ export_dynamic_flag_spec_GO='${wl}-E'
|
|
else
|
|
- archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
- archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ ld_shlibs_GO=no
|
|
fi
|
|
;;
|
|
|
|
+ netbsd* | minix*)
|
|
+ archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
|
|
+ hardcode_direct_GO=yes
|
|
+ hardcode_shlibpath_var_GO=no
|
|
+ output_verbose_link_cmd=func_echo_all
|
|
+ ;;
|
|
+
|
|
solaris*)
|
|
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
|
|
ld_shlibs_GO=no
|
|
@@ -24208,7 +24701,7 @@ fi
|
|
allow_undefined_flag_GO="$_lt_dar_allow_undefined"
|
|
case $cc_basename in
|
|
ifort*) _lt_dar_can_shared=yes ;;
|
|
- *) _lt_dar_can_shared=$GCC ;;
|
|
+ *) _lt_dar_can_shared=yes ;;
|
|
esac
|
|
if test "$_lt_dar_can_shared" = "yes"; then
|
|
output_verbose_link_cmd=func_echo_all
|
|
@@ -24381,15 +24874,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
link_all_deplibs_GO=yes
|
|
;;
|
|
|
|
- netbsd*)
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
|
+ mirbsd*)
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
+ hardcode_direct_GO=yes
|
|
+ hardcode_shlibpath_var_GO=no
|
|
+ hardcode_direct_absolute_GO=yes
|
|
+ archive_cmds_GO='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
|
+ archive_expsym_cmds_GO='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
|
|
+ export_dynamic_flag_spec_GO='${wl}-E'
|
|
+ whole_archive_flag_spec_GO="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
else
|
|
- archive_cmds_GO='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
|
+ ld_shlibs_GO=no
|
|
fi
|
|
- hardcode_libdir_flag_spec_GO='-R$libdir'
|
|
+ ;;
|
|
+
|
|
+ netbsd* | minix*)
|
|
+ archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
|
|
hardcode_direct_GO=yes
|
|
hardcode_shlibpath_var_GO=no
|
|
+ output_verbose_link_cmd=func_echo_all
|
|
;;
|
|
|
|
newsos6)
|
|
@@ -24401,6 +24907,11 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
;;
|
|
|
|
*nto* | *qnx*)
|
|
+ archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_GO='-R$libdir'
|
|
+ hardcode_direct_GO=yes
|
|
+ hardcode_shlibpath_var_GO=no
|
|
;;
|
|
|
|
openbsd*)
|
|
@@ -24839,7 +25350,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_GCJ="${ac_tool_prefix}gcj"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -24879,7 +25390,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_GCJ="gcj"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -24980,7 +25491,10 @@ for cc_temp in $compiler""; do
|
|
*) break;;
|
|
esac
|
|
done
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
+# decisions are made only based on compiler names
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
|
|
|
|
|
# GCJ did not exist at the time GCC didn't implicitly link libc in.
|
|
@@ -25100,11 +25614,18 @@ lt_prog_compiler_static_GCJ=
|
|
;;
|
|
|
|
darwin* | rhapsody*)
|
|
- # PIC is the default on this platform
|
|
+ # PIC is the default on this platform, and static linking of
|
|
+ # binaries generally doesn't work
|
|
# Common symbols not allowed in MH_DYLIB files
|
|
lt_prog_compiler_pic_GCJ='-fno-common'
|
|
+ lt_prog_compiler_static_GCJ=''
|
|
;;
|
|
|
|
+ *mint*)
|
|
+ # FreeMiNT does not support shared libraries at all
|
|
+ lt_prog_compiler_pic_GCJ=
|
|
+ ;;
|
|
+
|
|
haiku*)
|
|
# PIC is the default for Haiku.
|
|
# The "-static" flag exists, but is broken.
|
|
@@ -25130,6 +25651,13 @@ lt_prog_compiler_static_GCJ=
|
|
# Instead, we relocate shared libraries at runtime.
|
|
;;
|
|
|
|
+ mint*)
|
|
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
+ # on systems that don't support them.
|
|
+ lt_prog_compiler_can_build_shared_GCJ=no
|
|
+ enable_shared=no
|
|
+ ;;
|
|
+
|
|
msdosdjgpp*)
|
|
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
# on systems that don't support them.
|
|
@@ -25282,6 +25810,15 @@ lt_prog_compiler_static_GCJ=
|
|
esac
|
|
;;
|
|
|
|
+ mirbsd*)
|
|
+ case $cc_basename in
|
|
+ # pkgsrc f77 is f2c, which uses gcc underneath.
|
|
+ f77*)
|
|
+ lt_prog_compiler_wl_GCJ='-Wl,'
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+
|
|
newsos6)
|
|
lt_prog_compiler_pic_GCJ='-KPIC'
|
|
lt_prog_compiler_static_GCJ='-Bstatic'
|
|
@@ -25357,6 +25894,9 @@ lt_prog_compiler_static_GCJ=
|
|
|
|
case $host_os in
|
|
# For platforms which do not support PIC, -DPIC is meaningless:
|
|
+ mint*)
|
|
+ lt_prog_compiler_pic_GCJ=
|
|
+ ;;
|
|
*djgpp*)
|
|
lt_prog_compiler_pic_GCJ=
|
|
;;
|
|
@@ -25887,16 +26427,29 @@ _LT_EOF
|
|
fi
|
|
;;
|
|
|
|
- netbsd*)
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
- wlarc=
|
|
+ mirbsd*)
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
+ hardcode_direct_GCJ=yes
|
|
+ hardcode_shlibpath_var_GCJ=no
|
|
+ hardcode_direct_absolute_GCJ=yes
|
|
+ archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
+ archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
|
+ export_dynamic_flag_spec_GCJ='${wl}-E'
|
|
else
|
|
- archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
- archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ ld_shlibs_GCJ=no
|
|
fi
|
|
;;
|
|
|
|
+ netbsd* | minix*)
|
|
+ archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
|
+ hardcode_direct_GCJ=yes
|
|
+ hardcode_shlibpath_var_GCJ=no
|
|
+ output_verbose_link_cmd=func_echo_all
|
|
+ ;;
|
|
+
|
|
solaris*)
|
|
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
|
|
ld_shlibs_GCJ=no
|
|
@@ -26305,7 +26858,7 @@ fi
|
|
allow_undefined_flag_GCJ="$_lt_dar_allow_undefined"
|
|
case $cc_basename in
|
|
ifort*) _lt_dar_can_shared=yes ;;
|
|
- *) _lt_dar_can_shared=$GCC ;;
|
|
+ *) _lt_dar_can_shared=yes ;;
|
|
esac
|
|
if test "$_lt_dar_can_shared" = "yes"; then
|
|
output_verbose_link_cmd=func_echo_all
|
|
@@ -26478,15 +27031,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
link_all_deplibs_GCJ=yes
|
|
;;
|
|
|
|
- netbsd*)
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
- archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
|
+ mirbsd*)
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
+ hardcode_direct_GCJ=yes
|
|
+ hardcode_shlibpath_var_GCJ=no
|
|
+ hardcode_direct_absolute_GCJ=yes
|
|
+ archive_cmds_GCJ='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
|
+ archive_expsym_cmds_GCJ='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
|
+ export_dynamic_flag_spec_GCJ='${wl}-E'
|
|
+ whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
else
|
|
- archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
|
+ ld_shlibs_GCJ=no
|
|
fi
|
|
- hardcode_libdir_flag_spec_GCJ='-R$libdir'
|
|
+ ;;
|
|
+
|
|
+ netbsd* | minix*)
|
|
+ archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
|
hardcode_direct_GCJ=yes
|
|
hardcode_shlibpath_var_GCJ=no
|
|
+ output_verbose_link_cmd=func_echo_all
|
|
;;
|
|
|
|
newsos6)
|
|
@@ -26498,6 +27064,11 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
;;
|
|
|
|
*nto* | *qnx*)
|
|
+ archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
+ archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
+ hardcode_libdir_flag_spec_GCJ='-R$libdir'
|
|
+ hardcode_direct_GCJ=yes
|
|
+ hardcode_shlibpath_var_GCJ=no
|
|
;;
|
|
|
|
openbsd*)
|
|
@@ -26936,7 +27507,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_RC="${ac_tool_prefix}windres"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -26976,7 +27547,7 @@ do
|
|
IFS=$as_save_IFS
|
|
test -z "$as_dir" && as_dir=.
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
ac_cv_prog_ac_ct_RC="windres"
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
break 2
|
|
@@ -27075,7 +27646,10 @@ for cc_temp in $compiler""; do
|
|
*) break;;
|
|
esac
|
|
done
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
+# decisions are made only based on compiler names
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
|
|
|
lt_cv_prog_compiler_c_o_RC=yes
|
|
|
|
@@ -27299,6 +27873,14 @@ LIBOBJS=$ac_libobjs
|
|
LTLIBOBJS=$ac_ltlibobjs
|
|
|
|
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
|
|
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
|
|
+ if test -n "$am_sleep_pid"; then
|
|
+ # Hide warnings about reused PIDs.
|
|
+ wait $am_sleep_pid 2>/dev/null
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
|
|
+$as_echo "done" >&6; }
|
|
if test -n "$EXEEXT"; then
|
|
am__EXEEXT_TRUE=
|
|
am__EXEEXT_FALSE='#'
|
|
@@ -27646,16 +28228,16 @@ if (echo >conf$$.file) 2>/dev/null; then
|
|
# ... but there are two gotchas:
|
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
- # In both cases, we have to default to `cp -p'.
|
|
+ # In both cases, we have to default to `cp -pR'.
|
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
- as_ln_s='cp -p'
|
|
+ as_ln_s='cp -pR'
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
as_ln_s=ln
|
|
else
|
|
- as_ln_s='cp -p'
|
|
+ as_ln_s='cp -pR'
|
|
fi
|
|
else
|
|
- as_ln_s='cp -p'
|
|
+ as_ln_s='cp -pR'
|
|
fi
|
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
rmdir conf$$.dir 2>/dev/null
|
|
@@ -27715,29 +28297,17 @@ else
|
|
as_mkdir_p=false
|
|
fi
|
|
|
|
-if test -x / >/dev/null 2>&1; then
|
|
- as_test_x='test -x'
|
|
-else
|
|
- if ls -dL / >/dev/null 2>&1; then
|
|
- as_ls_L_option=L
|
|
- else
|
|
- as_ls_L_option=
|
|
- fi
|
|
- as_test_x='
|
|
- eval sh -c '\''
|
|
- if test -d "$1"; then
|
|
- test -d "$1/.";
|
|
- else
|
|
- case $1 in #(
|
|
- -*)set "./$1";;
|
|
- esac;
|
|
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
|
- ???[sx]*):;;*)false;;esac;fi
|
|
- '\'' sh
|
|
- '
|
|
-fi
|
|
-as_executable_p=$as_test_x
|
|
|
|
+# as_fn_executable_p FILE
|
|
+# -----------------------
|
|
+# Test if FILE is an executable regular file.
|
|
+as_fn_executable_p ()
|
|
+{
|
|
+ test -f "$1" && test -x "$1"
|
|
+} # as_fn_executable_p
|
|
+as_test_x='test -x'
|
|
+as_executable_p=as_fn_executable_p
|
|
+
|
|
# Sed expression to map a string onto a valid CPP name.
|
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
|
@@ -27758,7 +28328,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
# values after options handling.
|
|
ac_log="
|
|
This file was extended by GNU Libtool $as_me 2.4.2, which was
|
|
-generated by GNU Autoconf 2.68. Invocation command line was
|
|
+generated by GNU Autoconf 2.69. Invocation command line was
|
|
|
|
CONFIG_FILES = $CONFIG_FILES
|
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
@@ -27826,10 +28396,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
ac_cs_version="\\
|
|
GNU Libtool config.status 2.4.2
|
|
-configured by $0, generated by GNU Autoconf 2.68,
|
|
+configured by $0, generated by GNU Autoconf 2.69,
|
|
with options \\"\$ac_cs_config\\"
|
|
|
|
-Copyright (C) 2010 Free Software Foundation, Inc.
|
|
+Copyright (C) 2012 Free Software Foundation, Inc.
|
|
This config.status script is free software; the Free Software Foundation
|
|
gives unlimited permission to copy, distribute and modify it."
|
|
|
|
@@ -27920,7 +28490,7 @@ fi
|
|
_ACEOF
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
if \$ac_cs_recheck; then
|
|
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
shift
|
|
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
CONFIG_SHELL='$SHELL'
|
|
@@ -29365,7 +29935,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
|
|
"tests/atconfig":C) cat >tests/atconfig <<ATEOF
|
|
# Configurable variable values for building test suites.
|
|
# Generated by $0.
|
|
-# Copyright (C) 2010 Free Software Foundation, Inc.
|
|
+# Copyright (C) 2012 Free Software Foundation, Inc.
|
|
|
|
# The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
|
|
at_testdir='tests'
|
|
@@ -29386,7 +29956,7 @@ SHELL=\${CONFIG_SHELL-'$SHELL'}
|
|
ATEOF
|
|
;;
|
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
|
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
|
|
+ # Older Autoconf quotes --file arguments for eval, but not when files
|
|
# are listed without --file. Let's play safe and only enable the eval
|
|
# if we detect the quoting.
|
|
case $CONFIG_FILES in
|
|
@@ -29399,7 +29969,7 @@ ATEOF
|
|
# Strip MF so we end up with the name of the file.
|
|
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
# Check whether this is an Automake generated Makefile or not.
|
|
- # We used to match only the files named `Makefile.in', but
|
|
+ # We used to match only the files named 'Makefile.in', but
|
|
# some people rename them; so instead we look at the file content.
|
|
# Grep'ing the first line is not enough: some people post-process
|
|
# each Makefile.in and add a new line on top of each file to say so.
|
|
@@ -29433,21 +30003,19 @@ $as_echo X"$mf" |
|
|
continue
|
|
fi
|
|
# Extract the definition of DEPDIR, am__include, and am__quote
|
|
- # from the Makefile without running `make'.
|
|
+ # from the Makefile without running 'make'.
|
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
test -z "$DEPDIR" && continue
|
|
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
- test -z "am__include" && continue
|
|
+ test -z "$am__include" && continue
|
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
- # When using ansi2knr, U may be empty or an underscore; expand it
|
|
- U=`sed -n 's/^U = //p' < "$mf"`
|
|
# Find all dependency output files, they are included files with
|
|
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
# simplest approach to changing $(DEPDIR) to its actual value in the
|
|
# expansion.
|
|
for file in `sed -n "
|
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
|
|
# Make sure the directory exists.
|
|
test -f "$dirpart/$file" && continue
|
|
fdir=`$as_dirname -- "$file" ||
|