| 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 5276 2015-01-01 20:29:27Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.2.2. |
| 5 |
|
# |
| 669 |
|
LTDLDEPS |
| 670 |
|
LIBLTDL |
| 671 |
|
CPP |
| 672 |
+ |
LT_SYS_LIBRARY_PATH |
| 673 |
|
OTOOL64 |
| 674 |
|
OTOOL |
| 675 |
|
LIPO |
| 827 |
|
CPPFLAGS |
| 828 |
|
YACC |
| 829 |
|
YFLAGS |
| 830 |
+ |
LT_SYS_LIBRARY_PATH |
| 831 |
|
CPP' |
| 832 |
|
|
| 833 |
|
|
| 1502 |
|
YFLAGS The list of arguments that will be passed by default to $YACC. |
| 1503 |
|
This script will default YFLAGS to the empty string to avoid a |
| 1504 |
|
default value of `-d' given by some make applications. |
| 1505 |
+ |
LT_SYS_LIBRARY_PATH |
| 1506 |
+ |
User-defined run-time library search path. |
| 1507 |
|
CPP C preprocessor |
| 1508 |
|
|
| 1509 |
|
Use these variables to override the choices made by `configure' or to help |
| 2400 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2401 |
|
|
| 2402 |
|
|
| 2403 |
< |
am__api_version='1.14' |
| 2403 |
> |
am__api_version='1.15' |
| 2404 |
|
|
| 2405 |
|
ac_aux_dir= |
| 2406 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2601 |
|
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 2602 |
|
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 2603 |
|
|
| 2604 |
< |
# expand $ac_aux_dir to an absolute path |
| 2605 |
< |
am_aux_dir=`cd $ac_aux_dir && pwd` |
| 2604 |
> |
# Expand $ac_aux_dir to an absolute path. |
| 2605 |
> |
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
| 2606 |
|
|
| 2607 |
|
if test x"${MISSING+set}" != xset; then |
| 2608 |
|
case $am_aux_dir in |
| 2621 |
|
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 2622 |
|
fi |
| 2623 |
|
|
| 2624 |
< |
if test x"${install_sh}" != xset; then |
| 2624 |
> |
if test x"${install_sh+set}" != xset; then |
| 2625 |
|
case $am_aux_dir in |
| 2626 |
|
*\ * | *\ *) |
| 2627 |
|
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 2949 |
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2950 |
|
mkdir_p='$(MKDIR_P)' |
| 2951 |
|
|
| 2952 |
< |
# We need awk for the "check" target. The system "awk" is bad on |
| 2953 |
< |
# some platforms. |
| 2952 |
> |
# We need awk for the "check" target (and possibly the TAP driver). The |
| 2953 |
> |
# system "awk" is bad on some platforms. |
| 2954 |
|
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 2955 |
|
# in the wild :-( We should find a proper way to deprecate it ... |
| 2956 |
|
AMTAR='$${TAR-tar}' |
| 3008 |
|
fi |
| 3009 |
|
fi |
| 3010 |
|
|
| 3011 |
+ |
|
| 3012 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3013 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3014 |
|
# Check whether --enable-maintainer-mode was given. |
| 4480 |
|
|
| 4481 |
|
|
| 4482 |
|
|
| 4483 |
< |
macro_version='2.4.4' |
| 4484 |
< |
macro_revision='2.4.4' |
| 4483 |
> |
macro_version='2.4.5' |
| 4484 |
> |
macro_revision='2.4.5' |
| 4485 |
|
|
| 4486 |
|
|
| 4487 |
|
|
| 6903 |
|
|
| 6904 |
|
|
| 6905 |
|
|
| 6906 |
+ |
|
| 6907 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 6908 |
+ |
func_cc_basename () |
| 6909 |
+ |
{ |
| 6910 |
+ |
for cc_temp in $*""; do |
| 6911 |
+ |
case $cc_temp in |
| 6912 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 6913 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 6914 |
+ |
\-*) ;; |
| 6915 |
+ |
*) break;; |
| 6916 |
+ |
esac |
| 6917 |
+ |
done |
| 6918 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 6919 |
+ |
} |
| 6920 |
+ |
|
| 6921 |
|
# Check whether --enable-libtool-lock was given. |
| 6922 |
|
if test "${enable_libtool_lock+set}" = set; then : |
| 6923 |
|
enableval=$enable_libtool_lock; |
| 7925 |
|
;; |
| 7926 |
|
esac |
| 7927 |
|
|
| 7928 |
+ |
# func_munge_path_list VARIABLE PATH |
| 7929 |
+ |
# ----------------------------------- |
| 7930 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
| 7931 |
+ |
# directories to be munged by the contents of PATH, which is string |
| 7932 |
+ |
# having a format: |
| 7933 |
+ |
# "DIR[:DIR]:" |
| 7934 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 7935 |
+ |
# ":DIR[:DIR]" |
| 7936 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 7937 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 7938 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 7939 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 7940 |
+ |
# "DIR[:DIR]" |
| 7941 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 7942 |
+ |
func_munge_path_list () |
| 7943 |
+ |
{ |
| 7944 |
+ |
case x$2 in |
| 7945 |
+ |
x) |
| 7946 |
+ |
;; |
| 7947 |
+ |
*:) |
| 7948 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \S|@1\" |
| 7949 |
+ |
;; |
| 7950 |
+ |
x:*) |
| 7951 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 7952 |
+ |
;; |
| 7953 |
+ |
*::*) |
| 7954 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 7955 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 7956 |
+ |
;; |
| 7957 |
+ |
*) |
| 7958 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 7959 |
+ |
;; |
| 7960 |
+ |
esac |
| 7961 |
+ |
} |
| 7962 |
+ |
|
| 7963 |
|
ac_ext=c |
| 7964 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 7965 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8545 |
|
test -z "$LD" && LD=ld |
| 8546 |
|
test -z "$ac_objext" && ac_objext=o |
| 8547 |
|
|
| 8548 |
< |
for cc_temp in $compiler""; do |
| 8549 |
< |
case $cc_temp in |
| 8495 |
< |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 8496 |
< |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 8497 |
< |
\-*) ;; |
| 8498 |
< |
*) break;; |
| 8499 |
< |
esac |
| 8500 |
< |
done |
| 8501 |
< |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 8548 |
> |
func_cc_basename $compiler |
| 8549 |
> |
cc_basename=$func_cc_basename_result |
| 8550 |
|
|
| 8551 |
|
|
| 8552 |
|
# Only perform the check for file, if the check method requires it |
| 11005 |
|
# flags to be left without arguments |
| 11006 |
|
need_version=unknown |
| 11007 |
|
|
| 11008 |
+ |
|
| 11009 |
+ |
|
| 11010 |
|
case $host_os in |
| 11011 |
|
aix3*) |
| 11012 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 11295 |
|
case $version_type in |
| 11296 |
|
freebsd-elf*) |
| 11297 |
|
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 11298 |
+ |
soname_spec='$libname$release$shared_ext$major' |
| 11299 |
|
need_version=no |
| 11300 |
|
need_lib_prefix=no |
| 11301 |
|
;; |
| 11355 |
|
soname_spec='$libname$release$shared_ext$major' |
| 11356 |
|
if test 32 = "$HPUX_IA64_MODE"; then |
| 11357 |
|
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
| 11358 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
| 11359 |
|
else |
| 11360 |
|
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 11361 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
| 11362 |
|
fi |
| 11310 |
– |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 11363 |
|
;; |
| 11364 |
|
hppa*64*) |
| 11365 |
|
shrext_cmds='.sl' |
| 11511 |
|
# before this can be enabled. |
| 11512 |
|
hardcode_into_libs=yes |
| 11513 |
|
|
| 11514 |
< |
# Append ld.so.conf contents to the search path |
| 11514 |
> |
# Ideally, we could use ldconfig to report *all* directores which are |
| 11515 |
> |
# searched for libraries, however this is still not possible. Aside from not |
| 11516 |
> |
# being certain /sbin/ldconfig is available, command |
| 11517 |
> |
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 11518 |
> |
# even though it is searched at run-time. Try to do the best guess by |
| 11519 |
> |
# appending ld.so.conf contents (and includes) to the search path. |
| 11520 |
|
if test -f /etc/ld.so.conf; then |
| 11521 |
|
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' ' '` |
| 11522 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 11741 |
|
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
| 11742 |
|
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
| 11743 |
|
fi |
| 11744 |
+ |
|
| 11745 |
|
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
| 11746 |
|
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
| 11747 |
|
fi |
| 11748 |
|
|
| 11749 |
+ |
# lt_cv_sys_lib... is unaugmented for libtool script decls... |
| 11750 |
+ |
lt_cv_sys_lib_dlsearch_path_spec=$sys_lib_dlsearch_path_spec |
| 11751 |
+ |
|
| 11752 |
+ |
# ..but sys_lib_... needs LT_SYS_LIBRARY_PATH munging for |
| 11753 |
+ |
# LT_SYS_DLSEARCH_PATH macro in ltdl.m4 to work with the correct paths: |
| 11754 |
+ |
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
| 11755 |
+ |
|
| 11756 |
|
|
| 11757 |
|
|
| 11758 |
|
|
| 17423 |
|
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
| 17424 |
|
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
| 17425 |
|
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
| 17426 |
< |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
| 17426 |
> |
lt_cv_sys_lib_dlsearch_path_spec='`$ECHO "$lt_cv_sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
| 17427 |
|
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
| 17428 |
|
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
| 17429 |
|
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
| 17541 |
|
postuninstall_cmds \ |
| 17542 |
|
finish_cmds \ |
| 17543 |
|
sys_lib_search_path_spec \ |
| 17544 |
< |
sys_lib_dlsearch_path_spec; do |
| 17544 |
> |
lt_cv_sys_lib_dlsearch_path_spec; do |
| 17545 |
|
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 17546 |
|
*[\\\\\\\`\\"\\\$]*) |
| 17547 |
|
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 18324 |
|
# The names of the tagged configurations supported by this script. |
| 18325 |
|
available_tags='' |
| 18326 |
|
|
| 18327 |
+ |
# Configured defaults for sys_lib_dlsearch_path munging. |
| 18328 |
+ |
: \${LT_SYS_LIBRARY_PATH="$LT_SYS_LIBRARY_PATH"} |
| 18329 |
+ |
|
| 18330 |
|
# ### BEGIN LIBTOOL CONFIG |
| 18331 |
|
|
| 18332 |
|
# Which release of libtool.m4 was used? |
| 18577 |
|
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
| 18578 |
|
|
| 18579 |
|
# Run-time system search path for libraries. |
| 18580 |
< |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
| 18580 |
> |
sys_lib_dlsearch_path_spec=$lt_lt_cv_sys_lib_dlsearch_path_spec |
| 18581 |
|
|
| 18582 |
|
# Whether dlopen is supported. |
| 18583 |
|
dlopen_support=$enable_dlopen |
| 18728 |
|
|
| 18729 |
|
_LT_EOF |
| 18730 |
|
|
| 18731 |
+ |
cat <<'_LT_EOF' >> "$cfgfile" |
| 18732 |
+ |
## -------------------------------------- ## |
| 18733 |
+ |
## Shell functions shared with configure. ## |
| 18734 |
+ |
## -------------------------------------- ## |
| 18735 |
+ |
|
| 18736 |
+ |
# func_munge_path_list VARIABLE PATH |
| 18737 |
+ |
# ----------------------------------- |
| 18738 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
| 18739 |
+ |
# directories to be munged by the contents of PATH, which is string |
| 18740 |
+ |
# having a format: |
| 18741 |
+ |
# "DIR[:DIR]:" |
| 18742 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 18743 |
+ |
# ":DIR[:DIR]" |
| 18744 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 18745 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 18746 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 18747 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 18748 |
+ |
# "DIR[:DIR]" |
| 18749 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 18750 |
+ |
func_munge_path_list () |
| 18751 |
+ |
{ |
| 18752 |
+ |
case x$2 in |
| 18753 |
+ |
x) |
| 18754 |
+ |
;; |
| 18755 |
+ |
*:) |
| 18756 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \S|@1\" |
| 18757 |
+ |
;; |
| 18758 |
+ |
x:*) |
| 18759 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 18760 |
+ |
;; |
| 18761 |
+ |
*::*) |
| 18762 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 18763 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 18764 |
+ |
;; |
| 18765 |
+ |
*) |
| 18766 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 18767 |
+ |
;; |
| 18768 |
+ |
esac |
| 18769 |
+ |
} |
| 18770 |
+ |
|
| 18771 |
+ |
|
| 18772 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 18773 |
+ |
func_cc_basename () |
| 18774 |
+ |
{ |
| 18775 |
+ |
for cc_temp in $*""; do |
| 18776 |
+ |
case $cc_temp in |
| 18777 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 18778 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 18779 |
+ |
\-*) ;; |
| 18780 |
+ |
*) break;; |
| 18781 |
+ |
esac |
| 18782 |
+ |
done |
| 18783 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 18784 |
+ |
} |
| 18785 |
+ |
|
| 18786 |
+ |
|
| 18787 |
+ |
_LT_EOF |
| 18788 |
+ |
|
| 18789 |
|
case $host_os in |
| 18790 |
|
aix3*) |
| 18791 |
|
cat <<\_LT_EOF >> "$cfgfile" |
| 18854 |
|
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 18855 |
|
fi |
| 18856 |
|
|
| 18857 |
+ |
|
| 18858 |
+ |
echo "###############################################################################" |
| 18859 |
+ |
echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile." |
| 18860 |
+ |
echo |
| 18861 |
+ |
echo "ircd-hybrid will be installed in ${prefix}. To change this, run:" |
| 18862 |
+ |
echo " ./configure --prefix=DIRECTORY" |
| 18863 |
+ |
echo "###############################################################################" |