| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 4980 2014-12-05 14:30:16Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 5943 2015-05-06 19:09:49Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.69 for hopm TRUNK. |
| 5 |
|
# |
| 644 |
|
YFLAGS |
| 645 |
|
YACC |
| 646 |
|
CPP |
| 647 |
+ |
LT_SYS_LIBRARY_PATH |
| 648 |
|
OTOOL64 |
| 649 |
|
OTOOL |
| 650 |
|
LIPO |
| 782 |
|
LDFLAGS |
| 783 |
|
LIBS |
| 784 |
|
CPPFLAGS |
| 785 |
+ |
LT_SYS_LIBRARY_PATH |
| 786 |
|
CPP |
| 787 |
|
YACC |
| 788 |
|
YFLAGS' |
| 1439 |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
| 1440 |
|
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1441 |
|
you have headers in a nonstandard directory <include dir> |
| 1442 |
+ |
LT_SYS_LIBRARY_PATH |
| 1443 |
+ |
User-defined run-time library search path. |
| 1444 |
|
CPP C preprocessor |
| 1445 |
|
YACC The `Yet Another Compiler Compiler' implementation to use. |
| 1446 |
|
Defaults to the first program found out of: `bison -y', `byacc', |
| 2141 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2142 |
|
|
| 2143 |
|
|
| 2144 |
< |
am__api_version='1.14' |
| 2144 |
> |
am__api_version='1.15' |
| 2145 |
|
|
| 2146 |
|
ac_aux_dir= |
| 2147 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2342 |
|
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 2343 |
|
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 2344 |
|
|
| 2345 |
< |
# expand $ac_aux_dir to an absolute path |
| 2346 |
< |
am_aux_dir=`cd $ac_aux_dir && pwd` |
| 2345 |
> |
# Expand $ac_aux_dir to an absolute path. |
| 2346 |
> |
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
| 2347 |
|
|
| 2348 |
|
if test x"${MISSING+set}" != xset; then |
| 2349 |
|
case $am_aux_dir in |
| 2362 |
|
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 2363 |
|
fi |
| 2364 |
|
|
| 2365 |
< |
if test x"${install_sh}" != xset; then |
| 2365 |
> |
if test x"${install_sh+set}" != xset; then |
| 2366 |
|
case $am_aux_dir in |
| 2367 |
|
*\ * | *\ *) |
| 2368 |
|
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 2690 |
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2691 |
|
mkdir_p='$(MKDIR_P)' |
| 2692 |
|
|
| 2693 |
< |
# We need awk for the "check" target. The system "awk" is bad on |
| 2694 |
< |
# some platforms. |
| 2693 |
> |
# We need awk for the "check" target (and possibly the TAP driver). The |
| 2694 |
> |
# system "awk" is bad on some platforms. |
| 2695 |
|
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 2696 |
|
# in the wild :-( We should find a proper way to deprecate it ... |
| 2697 |
|
AMTAR='$${TAR-tar}' |
| 2749 |
|
fi |
| 2750 |
|
fi |
| 2751 |
|
|
| 2752 |
+ |
|
| 2753 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 2754 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 2755 |
|
# Check whether --enable-maintainer-mode was given. |
| 4004 |
|
|
| 4005 |
|
|
| 4006 |
|
|
| 4007 |
< |
macro_version='2.4.4' |
| 4008 |
< |
macro_revision='2.4.4' |
| 4007 |
> |
macro_version='2.4.6' |
| 4008 |
> |
macro_revision='2.4.6' |
| 4009 |
|
|
| 4010 |
|
|
| 4011 |
|
|
| 6428 |
|
|
| 6429 |
|
|
| 6430 |
|
|
| 6431 |
+ |
|
| 6432 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 6433 |
+ |
func_cc_basename () |
| 6434 |
+ |
{ |
| 6435 |
+ |
for cc_temp in $*""; do |
| 6436 |
+ |
case $cc_temp in |
| 6437 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 6438 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 6439 |
+ |
\-*) ;; |
| 6440 |
+ |
*) break;; |
| 6441 |
+ |
esac |
| 6442 |
+ |
done |
| 6443 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 6444 |
+ |
} |
| 6445 |
+ |
|
| 6446 |
|
# Check whether --enable-libtool-lock was given. |
| 6447 |
|
if test "${enable_libtool_lock+set}" = set; then : |
| 6448 |
|
enableval=$enable_libtool_lock; |
| 7450 |
|
;; |
| 7451 |
|
esac |
| 7452 |
|
|
| 7453 |
+ |
# func_munge_path_list VARIABLE PATH |
| 7454 |
+ |
# ----------------------------------- |
| 7455 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
| 7456 |
+ |
# directories to be munged by the contents of PATH, which is string |
| 7457 |
+ |
# having a format: |
| 7458 |
+ |
# "DIR[:DIR]:" |
| 7459 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 7460 |
+ |
# ":DIR[:DIR]" |
| 7461 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 7462 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 7463 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 7464 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 7465 |
+ |
# "DIR[:DIR]" |
| 7466 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 7467 |
+ |
func_munge_path_list () |
| 7468 |
+ |
{ |
| 7469 |
+ |
case x$2 in |
| 7470 |
+ |
x) |
| 7471 |
+ |
;; |
| 7472 |
+ |
*:) |
| 7473 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 7474 |
+ |
;; |
| 7475 |
+ |
x:*) |
| 7476 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 7477 |
+ |
;; |
| 7478 |
+ |
*::*) |
| 7479 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 7480 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 7481 |
+ |
;; |
| 7482 |
+ |
*) |
| 7483 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 7484 |
+ |
;; |
| 7485 |
+ |
esac |
| 7486 |
+ |
} |
| 7487 |
+ |
|
| 7488 |
|
ac_ext=c |
| 7489 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 7490 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8072 |
|
test -z "$LD" && LD=ld |
| 8073 |
|
test -z "$ac_objext" && ac_objext=o |
| 8074 |
|
|
| 8075 |
< |
for cc_temp in $compiler""; do |
| 8076 |
< |
case $cc_temp in |
| 8022 |
< |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 8023 |
< |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 8024 |
< |
\-*) ;; |
| 8025 |
< |
*) break;; |
| 8026 |
< |
esac |
| 8027 |
< |
done |
| 8028 |
< |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 8075 |
> |
func_cc_basename $compiler |
| 8076 |
> |
cc_basename=$func_cc_basename_result |
| 8077 |
|
|
| 8078 |
|
|
| 8079 |
|
# Only perform the check for file, if the check method requires it |
| 10528 |
|
# flags to be left without arguments |
| 10529 |
|
need_version=unknown |
| 10530 |
|
|
| 10531 |
+ |
|
| 10532 |
+ |
|
| 10533 |
|
case $host_os in |
| 10534 |
|
aix3*) |
| 10535 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 10818 |
|
case $version_type in |
| 10819 |
|
freebsd-elf*) |
| 10820 |
|
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 10821 |
+ |
soname_spec='$libname$release$shared_ext$major' |
| 10822 |
|
need_version=no |
| 10823 |
|
need_lib_prefix=no |
| 10824 |
|
;; |
| 10878 |
|
soname_spec='$libname$release$shared_ext$major' |
| 10879 |
|
if test 32 = "$HPUX_IA64_MODE"; then |
| 10880 |
|
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
| 10881 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
| 10882 |
|
else |
| 10883 |
|
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 10884 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
| 10885 |
|
fi |
| 10833 |
– |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 10886 |
|
;; |
| 10887 |
|
hppa*64*) |
| 10888 |
|
shrext_cmds='.sl' |
| 11034 |
|
# before this can be enabled. |
| 11035 |
|
hardcode_into_libs=yes |
| 11036 |
|
|
| 11037 |
< |
# Append ld.so.conf contents to the search path |
| 11037 |
> |
# Ideally, we could use ldconfig to report *all* directores which are |
| 11038 |
> |
# searched for libraries, however this is still not possible. Aside from not |
| 11039 |
> |
# being certain /sbin/ldconfig is available, command |
| 11040 |
> |
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 11041 |
> |
# even though it is searched at run-time. Try to do the best guess by |
| 11042 |
> |
# appending ld.so.conf contents (and includes) to the search path. |
| 11043 |
|
if test -f /etc/ld.so.conf; then |
| 11044 |
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
| 11045 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 11264 |
|
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
| 11265 |
|
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
| 11266 |
|
fi |
| 11267 |
+ |
|
| 11268 |
|
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
| 11269 |
|
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
| 11270 |
|
fi |
| 11271 |
|
|
| 11272 |
+ |
# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
| 11273 |
+ |
configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
| 11274 |
+ |
|
| 11275 |
+ |
# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
| 11276 |
+ |
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
| 11277 |
+ |
|
| 11278 |
+ |
# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
| 11279 |
+ |
configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
| 11280 |
+ |
|
| 11281 |
+ |
|
| 11282 |
+ |
|
| 11283 |
+ |
|
| 11284 |
+ |
|
| 11285 |
+ |
|
| 11286 |
|
|
| 11287 |
|
|
| 11288 |
|
|
| 13550 |
|
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
| 13551 |
|
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
| 13552 |
|
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
| 13553 |
< |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
| 13553 |
> |
configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' |
| 13554 |
> |
configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' |
| 13555 |
|
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
| 13556 |
|
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
| 13557 |
|
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
| 13669 |
|
postuninstall_cmds \ |
| 13670 |
|
finish_cmds \ |
| 13671 |
|
sys_lib_search_path_spec \ |
| 13672 |
< |
sys_lib_dlsearch_path_spec; do |
| 13672 |
> |
configure_time_dlsearch_path \ |
| 13673 |
> |
configure_time_lt_sys_library_path; do |
| 13674 |
|
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 13675 |
|
*[\\\\\\\`\\"\\\$]*) |
| 13676 |
|
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 14449 |
|
# The names of the tagged configurations supported by this script. |
| 14450 |
|
available_tags='' |
| 14451 |
|
|
| 14452 |
+ |
# Configured defaults for sys_lib_dlsearch_path munging. |
| 14453 |
+ |
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
| 14454 |
+ |
|
| 14455 |
|
# ### BEGIN LIBTOOL CONFIG |
| 14456 |
|
|
| 14457 |
|
# Which release of libtool.m4 was used? |
| 14701 |
|
# Compile-time system search path for libraries. |
| 14702 |
|
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
| 14703 |
|
|
| 14704 |
< |
# Run-time system search path for libraries. |
| 14705 |
< |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
| 14704 |
> |
# Detected run-time system search path for libraries. |
| 14705 |
> |
sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path |
| 14706 |
> |
|
| 14707 |
> |
# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. |
| 14708 |
> |
configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path |
| 14709 |
|
|
| 14710 |
|
# Whether dlopen is supported. |
| 14711 |
|
dlopen_support=$enable_dlopen |
| 14856 |
|
|
| 14857 |
|
_LT_EOF |
| 14858 |
|
|
| 14859 |
+ |
cat <<'_LT_EOF' >> "$cfgfile" |
| 14860 |
+ |
|
| 14861 |
+ |
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
| 14862 |
+ |
|
| 14863 |
+ |
# func_munge_path_list VARIABLE PATH |
| 14864 |
+ |
# ----------------------------------- |
| 14865 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
| 14866 |
+ |
# directories to be munged by the contents of PATH, which is string |
| 14867 |
+ |
# having a format: |
| 14868 |
+ |
# "DIR[:DIR]:" |
| 14869 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 14870 |
+ |
# ":DIR[:DIR]" |
| 14871 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 14872 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 14873 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 14874 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 14875 |
+ |
# "DIR[:DIR]" |
| 14876 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 14877 |
+ |
func_munge_path_list () |
| 14878 |
+ |
{ |
| 14879 |
+ |
case x$2 in |
| 14880 |
+ |
x) |
| 14881 |
+ |
;; |
| 14882 |
+ |
*:) |
| 14883 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 14884 |
+ |
;; |
| 14885 |
+ |
x:*) |
| 14886 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 14887 |
+ |
;; |
| 14888 |
+ |
*::*) |
| 14889 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 14890 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 14891 |
+ |
;; |
| 14892 |
+ |
*) |
| 14893 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 14894 |
+ |
;; |
| 14895 |
+ |
esac |
| 14896 |
+ |
} |
| 14897 |
+ |
|
| 14898 |
+ |
|
| 14899 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 14900 |
+ |
func_cc_basename () |
| 14901 |
+ |
{ |
| 14902 |
+ |
for cc_temp in $*""; do |
| 14903 |
+ |
case $cc_temp in |
| 14904 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 14905 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 14906 |
+ |
\-*) ;; |
| 14907 |
+ |
*) break;; |
| 14908 |
+ |
esac |
| 14909 |
+ |
done |
| 14910 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 14911 |
+ |
} |
| 14912 |
+ |
|
| 14913 |
+ |
|
| 14914 |
+ |
# ### END FUNCTIONS SHARED WITH CONFIGURE |
| 14915 |
+ |
|
| 14916 |
+ |
_LT_EOF |
| 14917 |
+ |
|
| 14918 |
|
case $host_os in |
| 14919 |
|
aix3*) |
| 14920 |
|
cat <<\_LT_EOF >> "$cfgfile" |