| 1 |
|
#! /bin/sh |
| 2 |
+ |
# From configure.ac Id: configure.ac 6184 2015-06-23 16:50:46Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for hopm 1.0.0beta1. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for hopm 1.0.8. |
| 5 |
> |
# |
| 6 |
> |
# Report bugs to <bugs@ircd-hybrid.org>. |
| 7 |
|
# |
| 8 |
|
# |
| 9 |
|
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
| 275 |
|
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 276 |
|
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
| 277 |
|
else |
| 278 |
< |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
| 279 |
< |
$0: including any error possibly output before this |
| 280 |
< |
$0: message. Then install a modern shell, or manually run |
| 281 |
< |
$0: the script under such a shell if you do have one." |
| 278 |
> |
$as_echo "$0: Please tell bug-autoconf@gnu.org and |
| 279 |
> |
$0: bugs@ircd-hybrid.org about your system, including any |
| 280 |
> |
$0: error possibly output before this message. Then install |
| 281 |
> |
$0: a modern shell, or manually run the script under such a |
| 282 |
> |
$0: shell if you do have one." |
| 283 |
|
fi |
| 284 |
|
exit 1 |
| 285 |
|
fi |
| 591 |
|
# Identity of this package. |
| 592 |
|
PACKAGE_NAME='hopm' |
| 593 |
|
PACKAGE_TARNAME='hopm' |
| 594 |
< |
PACKAGE_VERSION='1.0.0beta1' |
| 595 |
< |
PACKAGE_STRING='hopm 1.0.0beta1' |
| 596 |
< |
PACKAGE_BUGREPORT='' |
| 594 |
> |
PACKAGE_VERSION='1.0.8' |
| 595 |
> |
PACKAGE_STRING='hopm 1.0.8' |
| 596 |
> |
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 597 |
|
PACKAGE_URL='' |
| 598 |
|
|
| 599 |
|
ac_unique_file="src/opercmd.h" |
| 634 |
|
# include <unistd.h> |
| 635 |
|
#endif" |
| 636 |
|
|
| 633 |
– |
enable_option_checking=no |
| 637 |
|
ac_subst_vars='am__EXEEXT_FALSE |
| 638 |
|
am__EXEEXT_TRUE |
| 639 |
|
LTLIBOBJS |
| 640 |
|
LIBOBJS |
| 638 |
– |
subdirs |
| 641 |
|
LEXLIB |
| 642 |
|
LEX_OUTPUT_ROOT |
| 643 |
|
LEX |
| 644 |
|
YFLAGS |
| 645 |
|
YACC |
| 646 |
|
CPP |
| 647 |
+ |
LT_SYS_LIBRARY_PATH |
| 648 |
|
OTOOL64 |
| 649 |
|
OTOOL |
| 650 |
|
LIPO |
| 773 |
|
with_gnu_ld |
| 774 |
|
with_sysroot |
| 775 |
|
enable_libtool_lock |
| 776 |
+ |
enable_assert |
| 777 |
+ |
enable_warnings |
| 778 |
|
' |
| 779 |
|
ac_precious_vars='build_alias |
| 780 |
|
host_alias |
| 784 |
|
LDFLAGS |
| 785 |
|
LIBS |
| 786 |
|
CPPFLAGS |
| 787 |
+ |
LT_SYS_LIBRARY_PATH |
| 788 |
|
CPP |
| 789 |
|
YACC |
| 790 |
|
YFLAGS' |
| 791 |
< |
ac_subdirs_all='src/libopm' |
| 791 |
> |
|
| 792 |
|
|
| 793 |
|
# Initialize some variables set by options. |
| 794 |
|
ac_init_help= |
| 1328 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1329 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1330 |
|
cat <<_ACEOF |
| 1331 |
< |
\`configure' configures hopm 1.0.0beta1 to adapt to many kinds of systems. |
| 1331 |
> |
\`configure' configures hopm 1.0.8 to adapt to many kinds of systems. |
| 1332 |
|
|
| 1333 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1334 |
|
|
| 1398 |
|
|
| 1399 |
|
if test -n "$ac_init_help"; then |
| 1400 |
|
case $ac_init_help in |
| 1401 |
< |
short | recursive ) echo "Configuration of hopm 1.0.0beta1:";; |
| 1401 |
> |
short | recursive ) echo "Configuration of hopm 1.0.8:";; |
| 1402 |
|
esac |
| 1403 |
|
cat <<\_ACEOF |
| 1404 |
|
|
| 1420 |
|
--enable-fast-install[=PKGS] |
| 1421 |
|
optimize for fast installation [default=yes] |
| 1422 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1423 |
+ |
--enable-assert Enable assert() statements |
| 1424 |
+ |
--enable-warnings Enable compiler warnings. |
| 1425 |
|
|
| 1426 |
|
Optional Packages: |
| 1427 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1443 |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
| 1444 |
|
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1445 |
|
you have headers in a nonstandard directory <include dir> |
| 1446 |
+ |
LT_SYS_LIBRARY_PATH |
| 1447 |
+ |
User-defined run-time library search path. |
| 1448 |
|
CPP C preprocessor |
| 1449 |
|
YACC The `Yet Another Compiler Compiler' implementation to use. |
| 1450 |
|
Defaults to the first program found out of: `bison -y', `byacc', |
| 1456 |
|
Use these variables to override the choices made by `configure' or to help |
| 1457 |
|
it to find libraries and programs with nonstandard names/locations. |
| 1458 |
|
|
| 1459 |
< |
Report bugs to the package provider. |
| 1459 |
> |
Report bugs to <bugs@ircd-hybrid.org>. |
| 1460 |
|
_ACEOF |
| 1461 |
|
ac_status=$? |
| 1462 |
|
fi |
| 1519 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1520 |
|
if $ac_init_version; then |
| 1521 |
|
cat <<\_ACEOF |
| 1522 |
< |
hopm configure 1.0.0beta1 |
| 1522 |
> |
hopm configure 1.0.8 |
| 1523 |
|
generated by GNU Autoconf 2.69 |
| 1524 |
|
|
| 1525 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 1793 |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1794 |
|
|
| 1795 |
|
} # ac_fn_c_check_func |
| 1786 |
– |
|
| 1787 |
– |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
| 1788 |
– |
# ------------------------------------------------------- |
| 1789 |
– |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
| 1790 |
– |
# the include files in INCLUDES and setting the cache variable VAR |
| 1791 |
– |
# accordingly. |
| 1792 |
– |
ac_fn_c_check_header_mongrel () |
| 1793 |
– |
{ |
| 1794 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1795 |
– |
if eval \${$3+:} false; then : |
| 1796 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1797 |
– |
$as_echo_n "checking for $2... " >&6; } |
| 1798 |
– |
if eval \${$3+:} false; then : |
| 1799 |
– |
$as_echo_n "(cached) " >&6 |
| 1800 |
– |
fi |
| 1801 |
– |
eval ac_res=\$$3 |
| 1802 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1803 |
– |
$as_echo "$ac_res" >&6; } |
| 1804 |
– |
else |
| 1805 |
– |
# Is the header compilable? |
| 1806 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
| 1807 |
– |
$as_echo_n "checking $2 usability... " >&6; } |
| 1808 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1809 |
– |
/* end confdefs.h. */ |
| 1810 |
– |
$4 |
| 1811 |
– |
#include <$2> |
| 1812 |
– |
_ACEOF |
| 1813 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1814 |
– |
ac_header_compiler=yes |
| 1815 |
– |
else |
| 1816 |
– |
ac_header_compiler=no |
| 1817 |
– |
fi |
| 1818 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1819 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
| 1820 |
– |
$as_echo "$ac_header_compiler" >&6; } |
| 1821 |
– |
|
| 1822 |
– |
# Is the header present? |
| 1823 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
| 1824 |
– |
$as_echo_n "checking $2 presence... " >&6; } |
| 1825 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1826 |
– |
/* end confdefs.h. */ |
| 1827 |
– |
#include <$2> |
| 1828 |
– |
_ACEOF |
| 1829 |
– |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 1830 |
– |
ac_header_preproc=yes |
| 1831 |
– |
else |
| 1832 |
– |
ac_header_preproc=no |
| 1833 |
– |
fi |
| 1834 |
– |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 1835 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 1836 |
– |
$as_echo "$ac_header_preproc" >&6; } |
| 1837 |
– |
|
| 1838 |
– |
# So? What about this header? |
| 1839 |
– |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
| 1840 |
– |
yes:no: ) |
| 1841 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 1842 |
– |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 1843 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 1844 |
– |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 1845 |
– |
;; |
| 1846 |
– |
no:yes:* ) |
| 1847 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
| 1848 |
– |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
| 1849 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
| 1850 |
– |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
| 1851 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
| 1852 |
– |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
| 1853 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
| 1854 |
– |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 1855 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 1856 |
– |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 1857 |
– |
;; |
| 1858 |
– |
esac |
| 1859 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1860 |
– |
$as_echo_n "checking for $2... " >&6; } |
| 1861 |
– |
if eval \${$3+:} false; then : |
| 1862 |
– |
$as_echo_n "(cached) " >&6 |
| 1863 |
– |
else |
| 1864 |
– |
eval "$3=\$ac_header_compiler" |
| 1865 |
– |
fi |
| 1866 |
– |
eval ac_res=\$$3 |
| 1867 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1868 |
– |
$as_echo "$ac_res" >&6; } |
| 1869 |
– |
fi |
| 1870 |
– |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1871 |
– |
|
| 1872 |
– |
} # ac_fn_c_check_header_mongrel |
| 1796 |
|
cat >config.log <<_ACEOF |
| 1797 |
|
This file contains any messages produced by compilers while |
| 1798 |
|
running configure, to aid debugging if configure makes a mistake. |
| 1799 |
|
|
| 1800 |
< |
It was created by hopm $as_me 1.0.0beta1, which was |
| 1800 |
> |
It was created by hopm $as_me 1.0.8, which was |
| 1801 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 1802 |
|
|
| 1803 |
|
$ $0 $@ |
| 2145 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2146 |
|
|
| 2147 |
|
|
| 2148 |
< |
|
| 2226 |
< |
ac_config_headers="$ac_config_headers src/setup.h" |
| 2227 |
< |
|
| 2228 |
< |
am__api_version='1.14' |
| 2148 |
> |
am__api_version='1.15' |
| 2149 |
|
|
| 2150 |
|
ac_aux_dir= |
| 2151 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2346 |
|
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 2347 |
|
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 2348 |
|
|
| 2349 |
< |
# expand $ac_aux_dir to an absolute path |
| 2350 |
< |
am_aux_dir=`cd $ac_aux_dir && pwd` |
| 2349 |
> |
# Expand $ac_aux_dir to an absolute path. |
| 2350 |
> |
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
| 2351 |
|
|
| 2352 |
|
if test x"${MISSING+set}" != xset; then |
| 2353 |
|
case $am_aux_dir in |
| 2366 |
|
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 2367 |
|
fi |
| 2368 |
|
|
| 2369 |
< |
if test x"${install_sh}" != xset; then |
| 2369 |
> |
if test x"${install_sh+set}" != xset; then |
| 2370 |
|
case $am_aux_dir in |
| 2371 |
|
*\ * | *\ *) |
| 2372 |
|
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 2660 |
|
|
| 2661 |
|
# Define the identity of the package. |
| 2662 |
|
PACKAGE='hopm' |
| 2663 |
< |
VERSION='1.0.0beta1' |
| 2663 |
> |
VERSION='1.0.8' |
| 2664 |
|
|
| 2665 |
|
|
| 2666 |
|
cat >>confdefs.h <<_ACEOF |
| 2694 |
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2695 |
|
mkdir_p='$(MKDIR_P)' |
| 2696 |
|
|
| 2697 |
< |
# We need awk for the "check" target. The system "awk" is bad on |
| 2698 |
< |
# some platforms. |
| 2697 |
> |
# We need awk for the "check" target (and possibly the TAP driver). The |
| 2698 |
> |
# system "awk" is bad on some platforms. |
| 2699 |
|
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 2700 |
|
# in the wild :-( We should find a proper way to deprecate it ... |
| 2701 |
|
AMTAR='$${TAR-tar}' |
| 2777 |
|
|
| 2778 |
|
|
| 2779 |
|
|
| 2780 |
+ |
ac_config_headers="$ac_config_headers src/setup.h" |
| 2781 |
+ |
|
| 2782 |
+ |
|
| 2783 |
+ |
|
| 2784 |
+ |
|
| 2785 |
|
DEPDIR="${am__leading_dot}deps" |
| 2786 |
|
|
| 2787 |
|
ac_config_commands="$ac_config_commands depfiles" |
| 4009 |
|
|
| 4010 |
|
|
| 4011 |
|
|
| 4012 |
< |
macro_version='2.4.4' |
| 4013 |
< |
macro_revision='2.4.4' |
| 4012 |
> |
macro_version='2.4.6' |
| 4013 |
> |
macro_revision='2.4.6' |
| 4014 |
|
|
| 4015 |
|
|
| 4016 |
|
|
| 6433 |
|
|
| 6434 |
|
|
| 6435 |
|
|
| 6436 |
+ |
|
| 6437 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 6438 |
+ |
func_cc_basename () |
| 6439 |
+ |
{ |
| 6440 |
+ |
for cc_temp in $*""; do |
| 6441 |
+ |
case $cc_temp in |
| 6442 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 6443 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 6444 |
+ |
\-*) ;; |
| 6445 |
+ |
*) break;; |
| 6446 |
+ |
esac |
| 6447 |
+ |
done |
| 6448 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 6449 |
+ |
} |
| 6450 |
+ |
|
| 6451 |
|
# Check whether --enable-libtool-lock was given. |
| 6452 |
|
if test "${enable_libtool_lock+set}" = set; then : |
| 6453 |
|
enableval=$enable_libtool_lock; |
| 7455 |
|
;; |
| 7456 |
|
esac |
| 7457 |
|
|
| 7458 |
+ |
# func_munge_path_list VARIABLE PATH |
| 7459 |
+ |
# ----------------------------------- |
| 7460 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
| 7461 |
+ |
# directories to be munged by the contents of PATH, which is string |
| 7462 |
+ |
# having a format: |
| 7463 |
+ |
# "DIR[:DIR]:" |
| 7464 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 7465 |
+ |
# ":DIR[:DIR]" |
| 7466 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 7467 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 7468 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 7469 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 7470 |
+ |
# "DIR[:DIR]" |
| 7471 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 7472 |
+ |
func_munge_path_list () |
| 7473 |
+ |
{ |
| 7474 |
+ |
case x$2 in |
| 7475 |
+ |
x) |
| 7476 |
+ |
;; |
| 7477 |
+ |
*:) |
| 7478 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 7479 |
+ |
;; |
| 7480 |
+ |
x:*) |
| 7481 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 7482 |
+ |
;; |
| 7483 |
+ |
*::*) |
| 7484 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 7485 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 7486 |
+ |
;; |
| 7487 |
+ |
*) |
| 7488 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 7489 |
+ |
;; |
| 7490 |
+ |
esac |
| 7491 |
+ |
} |
| 7492 |
+ |
|
| 7493 |
|
ac_ext=c |
| 7494 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 7495 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8077 |
|
test -z "$LD" && LD=ld |
| 8078 |
|
test -z "$ac_objext" && ac_objext=o |
| 8079 |
|
|
| 8080 |
< |
for cc_temp in $compiler""; do |
| 8081 |
< |
case $cc_temp in |
| 8107 |
< |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 8108 |
< |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 8109 |
< |
\-*) ;; |
| 8110 |
< |
*) break;; |
| 8111 |
< |
esac |
| 8112 |
< |
done |
| 8113 |
< |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 8080 |
> |
func_cc_basename $compiler |
| 8081 |
> |
cc_basename=$func_cc_basename_result |
| 8082 |
|
|
| 8083 |
|
|
| 8084 |
|
# Only perform the check for file, if the check method requires it |
| 8278 |
|
$RM -r conftest* |
| 8279 |
|
|
| 8280 |
|
|
| 8281 |
+ |
## CAVEAT EMPTOR: |
| 8282 |
+ |
## There is no encapsulation within the following macros, do not change |
| 8283 |
+ |
## the running order or otherwise move them around unless you know exactly |
| 8284 |
+ |
## what you are doing... |
| 8285 |
|
if test -n "$compiler"; then |
| 8286 |
|
|
| 8287 |
|
lt_prog_compiler_no_builtin_flag= |
| 10537 |
|
# flags to be left without arguments |
| 10538 |
|
need_version=unknown |
| 10539 |
|
|
| 10540 |
+ |
|
| 10541 |
+ |
|
| 10542 |
|
case $host_os in |
| 10543 |
|
aix3*) |
| 10544 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 10827 |
|
case $version_type in |
| 10828 |
|
freebsd-elf*) |
| 10829 |
|
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 10830 |
+ |
soname_spec='$libname$release$shared_ext$major' |
| 10831 |
|
need_version=no |
| 10832 |
|
need_lib_prefix=no |
| 10833 |
|
;; |
| 10887 |
|
soname_spec='$libname$release$shared_ext$major' |
| 10888 |
|
if test 32 = "$HPUX_IA64_MODE"; then |
| 10889 |
|
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
| 10890 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
| 10891 |
|
else |
| 10892 |
|
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 10893 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
| 10894 |
|
fi |
| 10918 |
– |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 10895 |
|
;; |
| 10896 |
|
hppa*64*) |
| 10897 |
|
shrext_cmds='.sl' |
| 11043 |
|
# before this can be enabled. |
| 11044 |
|
hardcode_into_libs=yes |
| 11045 |
|
|
| 11046 |
< |
# Append ld.so.conf contents to the search path |
| 11046 |
> |
# Ideally, we could use ldconfig to report *all* directores which are |
| 11047 |
> |
# searched for libraries, however this is still not possible. Aside from not |
| 11048 |
> |
# being certain /sbin/ldconfig is available, command |
| 11049 |
> |
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 11050 |
> |
# even though it is searched at run-time. Try to do the best guess by |
| 11051 |
> |
# appending ld.so.conf contents (and includes) to the search path. |
| 11052 |
|
if test -f /etc/ld.so.conf; then |
| 11053 |
|
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' ' '` |
| 11054 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 11273 |
|
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
| 11274 |
|
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
| 11275 |
|
fi |
| 11276 |
+ |
|
| 11277 |
|
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
| 11278 |
|
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
| 11279 |
|
fi |
| 11280 |
|
|
| 11281 |
+ |
# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
| 11282 |
+ |
configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
| 11283 |
+ |
|
| 11284 |
+ |
# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
| 11285 |
+ |
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
| 11286 |
+ |
|
| 11287 |
+ |
# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
| 11288 |
+ |
configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
| 11289 |
+ |
|
| 11290 |
+ |
|
| 11291 |
+ |
|
| 11292 |
+ |
|
| 11293 |
+ |
|
| 11294 |
+ |
|
| 11295 |
|
|
| 11296 |
|
|
| 11297 |
|
|
| 12072 |
|
|
| 12073 |
|
|
| 12074 |
|
|
| 12079 |
– |
for ac_header in fcntl.h sys/time.h unistd.h |
| 12080 |
– |
do : |
| 12081 |
– |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12082 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 12083 |
– |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 12084 |
– |
cat >>confdefs.h <<_ACEOF |
| 12085 |
– |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12086 |
– |
_ACEOF |
| 12087 |
– |
|
| 12088 |
– |
fi |
| 12089 |
– |
|
| 12090 |
– |
done |
| 12091 |
– |
|
| 12092 |
– |
|
| 12093 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
| 12094 |
– |
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
| 12095 |
– |
if ${ac_cv_header_time+:} false; then : |
| 12096 |
– |
$as_echo_n "(cached) " >&6 |
| 12097 |
– |
else |
| 12098 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12099 |
– |
/* end confdefs.h. */ |
| 12100 |
– |
#include <sys/types.h> |
| 12101 |
– |
#include <sys/time.h> |
| 12102 |
– |
#include <time.h> |
| 12103 |
– |
|
| 12104 |
– |
int |
| 12105 |
– |
main () |
| 12106 |
– |
{ |
| 12107 |
– |
if ((struct tm *) 0) |
| 12108 |
– |
return 0; |
| 12109 |
– |
; |
| 12110 |
– |
return 0; |
| 12111 |
– |
} |
| 12112 |
– |
_ACEOF |
| 12113 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12114 |
– |
ac_cv_header_time=yes |
| 12115 |
– |
else |
| 12116 |
– |
ac_cv_header_time=no |
| 12117 |
– |
fi |
| 12118 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12119 |
– |
fi |
| 12120 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 |
| 12121 |
– |
$as_echo "$ac_cv_header_time" >&6; } |
| 12122 |
– |
if test $ac_cv_header_time = yes; then |
| 12123 |
– |
|
| 12124 |
– |
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
| 12125 |
– |
|
| 12126 |
– |
fi |
| 12127 |
– |
|
| 12128 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 12129 |
– |
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
| 12130 |
– |
if ${ac_cv_struct_tm+:} false; then : |
| 12131 |
– |
$as_echo_n "(cached) " >&6 |
| 12132 |
– |
else |
| 12133 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12134 |
– |
/* end confdefs.h. */ |
| 12135 |
– |
#include <sys/types.h> |
| 12136 |
– |
#include <time.h> |
| 12137 |
– |
|
| 12138 |
– |
int |
| 12139 |
– |
main () |
| 12140 |
– |
{ |
| 12141 |
– |
struct tm tm; |
| 12142 |
– |
int *p = &tm.tm_sec; |
| 12143 |
– |
return !p; |
| 12144 |
– |
; |
| 12145 |
– |
return 0; |
| 12146 |
– |
} |
| 12147 |
– |
_ACEOF |
| 12148 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12149 |
– |
ac_cv_struct_tm=time.h |
| 12150 |
– |
else |
| 12151 |
– |
ac_cv_struct_tm=sys/time.h |
| 12152 |
– |
fi |
| 12153 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12154 |
– |
fi |
| 12155 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 |
| 12156 |
– |
$as_echo "$ac_cv_struct_tm" >&6; } |
| 12157 |
– |
if test $ac_cv_struct_tm = sys/time.h; then |
| 12158 |
– |
|
| 12159 |
– |
$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h |
| 12160 |
– |
|
| 12161 |
– |
fi |
| 12162 |
– |
|
| 12163 |
– |
|
| 12164 |
– |
|
| 12075 |
|
for ac_prog in 'bison -y' byacc |
| 12076 |
|
do |
| 12077 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 12279 |
|
LEX=${am_missing_run}flex |
| 12280 |
|
fi |
| 12281 |
|
|
| 12282 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 12283 |
< |
$as_echo_n "checking for library containing socket... " >&6; } |
| 12284 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 12282 |
> |
|
| 12283 |
> |
|
| 12284 |
> |
if test "X$CC" != "X"; then |
| 12285 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5 |
| 12286 |
> |
$as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; } |
| 12287 |
> |
if ${ssp_cv_cc+:} false; then : |
| 12288 |
|
$as_echo_n "(cached) " >&6 |
| 12289 |
|
else |
| 12290 |
< |
ac_func_search_save_LIBS=$LIBS |
| 12291 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12290 |
> |
ssp_old_cflags="$CFLAGS" |
| 12291 |
> |
CFLAGS="$CFLAGS -fstack-protector-strong" |
| 12292 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12293 |
|
/* end confdefs.h. */ |
| 12294 |
|
|
| 12381 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 12382 |
– |
Use char because int might match the return type of a GCC |
| 12383 |
– |
builtin and then its argument prototype would still apply. */ |
| 12384 |
– |
#ifdef __cplusplus |
| 12385 |
– |
extern "C" |
| 12386 |
– |
#endif |
| 12387 |
– |
char socket (); |
| 12295 |
|
int |
| 12296 |
|
main () |
| 12297 |
|
{ |
| 12298 |
< |
return socket (); |
| 12298 |
> |
|
| 12299 |
|
; |
| 12300 |
|
return 0; |
| 12301 |
|
} |
| 12302 |
|
_ACEOF |
| 12303 |
< |
for ac_lib in '' socket; do |
| 12304 |
< |
if test -z "$ac_lib"; then |
| 12305 |
< |
ac_res="none required" |
| 12306 |
< |
else |
| 12400 |
< |
ac_res=-l$ac_lib |
| 12401 |
< |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 12402 |
< |
fi |
| 12403 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12404 |
< |
ac_cv_search_socket=$ac_res |
| 12303 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12304 |
> |
ssp_cv_cc=yes |
| 12305 |
> |
else |
| 12306 |
> |
ssp_cv_cc=no |
| 12307 |
|
fi |
| 12308 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12309 |
< |
conftest$ac_exeext |
| 12310 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 12409 |
< |
break |
| 12308 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12309 |
> |
CFLAGS="$ssp_old_cflags" |
| 12310 |
> |
|
| 12311 |
|
fi |
| 12312 |
< |
done |
| 12313 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 12312 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 12313 |
> |
$as_echo "$ssp_cv_cc" >&6; } |
| 12314 |
> |
if test $ssp_cv_cc = yes; then |
| 12315 |
> |
CFLAGS="$CFLAGS -fstack-protector-strong" |
| 12316 |
|
|
| 12317 |
+ |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 12318 |
+ |
|
| 12319 |
+ |
else |
| 12320 |
+ |
unset ssp_cv_cc |
| 12321 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
| 12322 |
+ |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
| 12323 |
+ |
if ${ssp_cv_cc+:} false; then : |
| 12324 |
+ |
$as_echo_n "(cached) " >&6 |
| 12325 |
|
else |
| 12326 |
< |
ac_cv_search_socket=no |
| 12326 |
> |
ssp_old_cflags="$CFLAGS" |
| 12327 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
| 12328 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12329 |
> |
/* end confdefs.h. */ |
| 12330 |
> |
|
| 12331 |
> |
int |
| 12332 |
> |
main () |
| 12333 |
> |
{ |
| 12334 |
> |
|
| 12335 |
> |
; |
| 12336 |
> |
return 0; |
| 12337 |
> |
} |
| 12338 |
> |
_ACEOF |
| 12339 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12340 |
> |
ssp_cv_cc=yes |
| 12341 |
> |
else |
| 12342 |
> |
ssp_cv_cc=no |
| 12343 |
|
fi |
| 12344 |
< |
rm conftest.$ac_ext |
| 12345 |
< |
LIBS=$ac_func_search_save_LIBS |
| 12344 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12345 |
> |
CFLAGS="$ssp_old_cflags" |
| 12346 |
> |
|
| 12347 |
|
fi |
| 12348 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 12349 |
< |
$as_echo "$ac_cv_search_socket" >&6; } |
| 12350 |
< |
ac_res=$ac_cv_search_socket |
| 12351 |
< |
if test "$ac_res" != no; then : |
| 12424 |
< |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 12348 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 12349 |
> |
$as_echo "$ssp_cv_cc" >&6; } |
| 12350 |
> |
if test $ssp_cv_cc = yes; then |
| 12351 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
| 12352 |
|
|
| 12353 |
+ |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 12354 |
+ |
|
| 12355 |
+ |
fi |
| 12356 |
+ |
fi |
| 12357 |
+ |
fi |
| 12358 |
+ |
|
| 12359 |
+ |
|
| 12360 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5 |
| 12361 |
+ |
$as_echo_n "checking whether libssp exists... " >&6; } |
| 12362 |
+ |
if ${ssp_cv_lib+:} false; then : |
| 12363 |
+ |
$as_echo_n "(cached) " >&6 |
| 12364 |
|
else |
| 12365 |
< |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 12365 |
> |
ssp_old_libs="$LIBS" |
| 12366 |
> |
LIBS="$LIBS -lssp" |
| 12367 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12368 |
> |
/* end confdefs.h. */ |
| 12369 |
> |
|
| 12370 |
> |
int |
| 12371 |
> |
main () |
| 12372 |
> |
{ |
| 12373 |
> |
|
| 12374 |
> |
; |
| 12375 |
> |
return 0; |
| 12376 |
> |
} |
| 12377 |
> |
_ACEOF |
| 12378 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 12379 |
> |
ssp_cv_lib=yes |
| 12380 |
> |
else |
| 12381 |
> |
ssp_cv_lib=no |
| 12382 |
> |
fi |
| 12383 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 12384 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 12385 |
> |
LIBS="$ssp_old_libs" |
| 12386 |
> |
|
| 12387 |
|
fi |
| 12388 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5 |
| 12389 |
+ |
$as_echo "$ssp_cv_lib" >&6; } |
| 12390 |
+ |
if test $ssp_cv_lib = yes; then |
| 12391 |
+ |
LIBS="$LIBS -lssp" |
| 12392 |
+ |
fi |
| 12393 |
|
|
| 12394 |
< |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 12394 |
> |
|
| 12395 |
> |
|
| 12396 |
> |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 12397 |
|
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 12398 |
|
|
| 12399 |
|
else |
| 12455 |
|
|
| 12456 |
|
fi |
| 12457 |
|
|
| 12458 |
< |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
| 12458 |
> |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
| 12459 |
|
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
| 12460 |
|
|
| 12461 |
|
else |
| 12517 |
|
|
| 12518 |
|
fi |
| 12519 |
|
|
| 12520 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 12521 |
+ |
$as_echo_n "checking for library containing socket... " >&6; } |
| 12522 |
+ |
if ${ac_cv_search_socket+:} false; then : |
| 12523 |
+ |
$as_echo_n "(cached) " >&6 |
| 12524 |
+ |
else |
| 12525 |
+ |
ac_func_search_save_LIBS=$LIBS |
| 12526 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12527 |
+ |
/* end confdefs.h. */ |
| 12528 |
+ |
|
| 12529 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 12530 |
+ |
Use char because int might match the return type of a GCC |
| 12531 |
+ |
builtin and then its argument prototype would still apply. */ |
| 12532 |
+ |
#ifdef __cplusplus |
| 12533 |
+ |
extern "C" |
| 12534 |
+ |
#endif |
| 12535 |
+ |
char socket (); |
| 12536 |
+ |
int |
| 12537 |
+ |
main () |
| 12538 |
+ |
{ |
| 12539 |
+ |
return socket (); |
| 12540 |
+ |
; |
| 12541 |
+ |
return 0; |
| 12542 |
+ |
} |
| 12543 |
+ |
_ACEOF |
| 12544 |
+ |
for ac_lib in '' socket; do |
| 12545 |
+ |
if test -z "$ac_lib"; then |
| 12546 |
+ |
ac_res="none required" |
| 12547 |
+ |
else |
| 12548 |
+ |
ac_res=-l$ac_lib |
| 12549 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 12550 |
+ |
fi |
| 12551 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 12552 |
+ |
ac_cv_search_socket=$ac_res |
| 12553 |
+ |
fi |
| 12554 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 12555 |
+ |
conftest$ac_exeext |
| 12556 |
+ |
if ${ac_cv_search_socket+:} false; then : |
| 12557 |
+ |
break |
| 12558 |
+ |
fi |
| 12559 |
+ |
done |
| 12560 |
+ |
if ${ac_cv_search_socket+:} false; then : |
| 12561 |
+ |
|
| 12562 |
+ |
else |
| 12563 |
+ |
ac_cv_search_socket=no |
| 12564 |
+ |
fi |
| 12565 |
+ |
rm conftest.$ac_ext |
| 12566 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 12567 |
+ |
fi |
| 12568 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 12569 |
+ |
$as_echo "$ac_cv_search_socket" >&6; } |
| 12570 |
+ |
ac_res=$ac_cv_search_socket |
| 12571 |
+ |
if test "$ac_res" != no; then : |
| 12572 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 12573 |
+ |
|
| 12574 |
+ |
else |
| 12575 |
+ |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 12576 |
+ |
fi |
| 12577 |
+ |
|
| 12578 |
+ |
|
| 12579 |
+ |
|
| 12580 |
+ |
# Check whether --enable-assert was given. |
| 12581 |
+ |
if test "${enable_assert+set}" = set; then : |
| 12582 |
+ |
enableval=$enable_assert; assert=$enableval |
| 12583 |
+ |
else |
| 12584 |
+ |
assert=no |
| 12585 |
+ |
fi |
| 12586 |
+ |
|
| 12587 |
+ |
|
| 12588 |
+ |
if test "$assert" = "no"; then : |
| 12589 |
+ |
|
| 12590 |
+ |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 12591 |
+ |
|
| 12592 |
+ |
fi |
| 12593 |
+ |
|
| 12594 |
+ |
|
| 12595 |
+ |
# Check whether --enable-warnings was given. |
| 12596 |
+ |
if test "${enable_warnings+set}" = set; then : |
| 12597 |
+ |
enableval=$enable_warnings; warnings="$enableval" |
| 12598 |
+ |
else |
| 12599 |
+ |
warnings="no" |
| 12600 |
+ |
fi |
| 12601 |
+ |
|
| 12602 |
+ |
|
| 12603 |
+ |
if test "$warnings" = "yes"; then : |
| 12604 |
+ |
|
| 12605 |
+ |
|
| 12606 |
+ |
|
| 12607 |
+ |
|
| 12608 |
+ |
|
| 12609 |
+ |
for flag in -Wall; do |
| 12610 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 12611 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 12612 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 12613 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 12614 |
+ |
$as_echo_n "(cached) " >&6 |
| 12615 |
+ |
else |
| 12616 |
+ |
|
| 12617 |
+ |
ax_check_save_flags=$CFLAGS |
| 12618 |
+ |
CFLAGS="$CFLAGS $flag" |
| 12619 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12620 |
+ |
/* end confdefs.h. */ |
| 12621 |
+ |
|
| 12622 |
+ |
int |
| 12623 |
+ |
main () |
| 12624 |
+ |
{ |
| 12625 |
+ |
|
| 12626 |
+ |
; |
| 12627 |
+ |
return 0; |
| 12628 |
+ |
} |
| 12629 |
+ |
_ACEOF |
| 12630 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12631 |
+ |
eval "$as_CACHEVAR=yes" |
| 12632 |
+ |
else |
| 12633 |
+ |
eval "$as_CACHEVAR=no" |
| 12634 |
+ |
fi |
| 12635 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12636 |
+ |
CFLAGS=$ax_check_save_flags |
| 12637 |
+ |
fi |
| 12638 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 12639 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 12640 |
+ |
$as_echo "$ac_res" >&6; } |
| 12641 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 12642 |
+ |
|
| 12643 |
+ |
if ${CFLAGS+:} false; then : |
| 12644 |
+ |
|
| 12645 |
+ |
case " $CFLAGS " in #( |
| 12646 |
+ |
*" $flag "*) : |
| 12647 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 12648 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 12649 |
+ |
ac_status=$? |
| 12650 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12651 |
+ |
test $ac_status = 0; } ;; #( |
| 12652 |
+ |
*) : |
| 12653 |
+ |
|
| 12654 |
+ |
as_fn_append CFLAGS " $flag" |
| 12655 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 12656 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 12657 |
+ |
ac_status=$? |
| 12658 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12659 |
+ |
test $ac_status = 0; } |
| 12660 |
+ |
;; |
| 12661 |
+ |
esac |
| 12662 |
+ |
|
| 12663 |
+ |
else |
| 12664 |
+ |
|
| 12665 |
+ |
CFLAGS=$flag |
| 12666 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 12667 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 12668 |
+ |
ac_status=$? |
| 12669 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12670 |
+ |
test $ac_status = 0; } |
| 12671 |
+ |
|
| 12672 |
+ |
fi |
| 12673 |
+ |
|
| 12674 |
+ |
else |
| 12675 |
+ |
: |
| 12676 |
+ |
fi |
| 12677 |
+ |
|
| 12678 |
+ |
done |
| 12679 |
+ |
|
| 12680 |
+ |
|
| 12681 |
+ |
|
| 12682 |
+ |
|
| 12683 |
+ |
|
| 12684 |
+ |
for flag in -Wbad-function-cast; do |
| 12685 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 12686 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 12687 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 12688 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 12689 |
+ |
$as_echo_n "(cached) " >&6 |
| 12690 |
+ |
else |
| 12691 |
+ |
|
| 12692 |
+ |
ax_check_save_flags=$CFLAGS |
| 12693 |
+ |
CFLAGS="$CFLAGS $flag" |
| 12694 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12695 |
+ |
/* end confdefs.h. */ |
| 12696 |
+ |
|
| 12697 |
+ |
int |
| 12698 |
+ |
main () |
| 12699 |
+ |
{ |
| 12700 |
+ |
|
| 12701 |
+ |
; |
| 12702 |
+ |
return 0; |
| 12703 |
+ |
} |
| 12704 |
+ |
_ACEOF |
| 12705 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12706 |
+ |
eval "$as_CACHEVAR=yes" |
| 12707 |
+ |
else |
| 12708 |
+ |
eval "$as_CACHEVAR=no" |
| 12709 |
+ |
fi |
| 12710 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12711 |
+ |
CFLAGS=$ax_check_save_flags |
| 12712 |
+ |
fi |
| 12713 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 12714 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 12715 |
+ |
$as_echo "$ac_res" >&6; } |
| 12716 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 12717 |
+ |
|
| 12718 |
+ |
if ${CFLAGS+:} false; then : |
| 12719 |
+ |
|
| 12720 |
+ |
case " $CFLAGS " in #( |
| 12721 |
+ |
*" $flag "*) : |
| 12722 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 12723 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 12724 |
+ |
ac_status=$? |
| 12725 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12726 |
+ |
test $ac_status = 0; } ;; #( |
| 12727 |
+ |
*) : |
| 12728 |
+ |
|
| 12729 |
+ |
as_fn_append CFLAGS " $flag" |
| 12730 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 12731 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 12732 |
+ |
ac_status=$? |
| 12733 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12734 |
+ |
test $ac_status = 0; } |
| 12735 |
+ |
;; |
| 12736 |
+ |
esac |
| 12737 |
+ |
|
| 12738 |
+ |
else |
| 12739 |
+ |
|
| 12740 |
+ |
CFLAGS=$flag |
| 12741 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 12742 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 12743 |
+ |
ac_status=$? |
| 12744 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12745 |
+ |
test $ac_status = 0; } |
| 12746 |
+ |
|
| 12747 |
+ |
fi |
| 12748 |
+ |
|
| 12749 |
+ |
else |
| 12750 |
+ |
: |
| 12751 |
+ |
fi |
| 12752 |
+ |
|
| 12753 |
+ |
done |
| 12754 |
+ |
|
| 12755 |
+ |
|
| 12756 |
+ |
|
| 12757 |
+ |
|
| 12758 |
+ |
|
| 12759 |
+ |
for flag in -Wcast-align; do |
| 12760 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 12761 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 12762 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 12763 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 12764 |
+ |
$as_echo_n "(cached) " >&6 |
| 12765 |
+ |
else |
| 12766 |
+ |
|
| 12767 |
+ |
ax_check_save_flags=$CFLAGS |
| 12768 |
+ |
CFLAGS="$CFLAGS $flag" |
| 12769 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12770 |
+ |
/* end confdefs.h. */ |
| 12771 |
+ |
|
| 12772 |
+ |
int |
| 12773 |
+ |
main () |
| 12774 |
+ |
{ |
| 12775 |
+ |
|
| 12776 |
+ |
; |
| 12777 |
+ |
return 0; |
| 12778 |
+ |
} |
| 12779 |
+ |
_ACEOF |
| 12780 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12781 |
+ |
eval "$as_CACHEVAR=yes" |
| 12782 |
+ |
else |
| 12783 |
+ |
eval "$as_CACHEVAR=no" |
| 12784 |
+ |
fi |
| 12785 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12786 |
+ |
CFLAGS=$ax_check_save_flags |
| 12787 |
+ |
fi |
| 12788 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 12789 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 12790 |
+ |
$as_echo "$ac_res" >&6; } |
| 12791 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 12792 |
+ |
|
| 12793 |
+ |
if ${CFLAGS+:} false; then : |
| 12794 |
+ |
|
| 12795 |
+ |
case " $CFLAGS " in #( |
| 12796 |
+ |
*" $flag "*) : |
| 12797 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 12798 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 12799 |
+ |
ac_status=$? |
| 12800 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12801 |
+ |
test $ac_status = 0; } ;; #( |
| 12802 |
+ |
*) : |
| 12803 |
+ |
|
| 12804 |
+ |
as_fn_append CFLAGS " $flag" |
| 12805 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 12806 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 12807 |
+ |
ac_status=$? |
| 12808 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12809 |
+ |
test $ac_status = 0; } |
| 12810 |
+ |
;; |
| 12811 |
+ |
esac |
| 12812 |
+ |
|
| 12813 |
+ |
else |
| 12814 |
+ |
|
| 12815 |
+ |
CFLAGS=$flag |
| 12816 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 12817 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 12818 |
+ |
ac_status=$? |
| 12819 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12820 |
+ |
test $ac_status = 0; } |
| 12821 |
+ |
|
| 12822 |
+ |
fi |
| 12823 |
+ |
|
| 12824 |
+ |
else |
| 12825 |
+ |
: |
| 12826 |
+ |
fi |
| 12827 |
+ |
|
| 12828 |
+ |
done |
| 12829 |
+ |
|
| 12830 |
+ |
|
| 12831 |
+ |
|
| 12832 |
+ |
|
| 12833 |
+ |
|
| 12834 |
+ |
for flag in -Wcast-qual; do |
| 12835 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 12836 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 12837 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 12838 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 12839 |
+ |
$as_echo_n "(cached) " >&6 |
| 12840 |
+ |
else |
| 12841 |
+ |
|
| 12842 |
+ |
ax_check_save_flags=$CFLAGS |
| 12843 |
+ |
CFLAGS="$CFLAGS $flag" |
| 12844 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12845 |
+ |
/* end confdefs.h. */ |
| 12846 |
+ |
|
| 12847 |
+ |
int |
| 12848 |
+ |
main () |
| 12849 |
+ |
{ |
| 12850 |
+ |
|
| 12851 |
+ |
; |
| 12852 |
+ |
return 0; |
| 12853 |
+ |
} |
| 12854 |
+ |
_ACEOF |
| 12855 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12856 |
+ |
eval "$as_CACHEVAR=yes" |
| 12857 |
+ |
else |
| 12858 |
+ |
eval "$as_CACHEVAR=no" |
| 12859 |
+ |
fi |
| 12860 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12861 |
+ |
CFLAGS=$ax_check_save_flags |
| 12862 |
+ |
fi |
| 12863 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 12864 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 12865 |
+ |
$as_echo "$ac_res" >&6; } |
| 12866 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 12867 |
+ |
|
| 12868 |
+ |
if ${CFLAGS+:} false; then : |
| 12869 |
+ |
|
| 12870 |
+ |
case " $CFLAGS " in #( |
| 12871 |
+ |
*" $flag "*) : |
| 12872 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 12873 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 12874 |
+ |
ac_status=$? |
| 12875 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12876 |
+ |
test $ac_status = 0; } ;; #( |
| 12877 |
+ |
*) : |
| 12878 |
+ |
|
| 12879 |
+ |
as_fn_append CFLAGS " $flag" |
| 12880 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 12881 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 12882 |
+ |
ac_status=$? |
| 12883 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12884 |
+ |
test $ac_status = 0; } |
| 12885 |
+ |
;; |
| 12886 |
+ |
esac |
| 12887 |
+ |
|
| 12888 |
+ |
else |
| 12889 |
+ |
|
| 12890 |
+ |
CFLAGS=$flag |
| 12891 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 12892 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 12893 |
+ |
ac_status=$? |
| 12894 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12895 |
+ |
test $ac_status = 0; } |
| 12896 |
+ |
|
| 12897 |
+ |
fi |
| 12898 |
+ |
|
| 12899 |
+ |
else |
| 12900 |
+ |
: |
| 12901 |
+ |
fi |
| 12902 |
+ |
|
| 12903 |
+ |
done |
| 12904 |
+ |
|
| 12905 |
+ |
|
| 12906 |
+ |
|
| 12907 |
+ |
|
| 12908 |
+ |
|
| 12909 |
+ |
for flag in -Wclobbered; do |
| 12910 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 12911 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 12912 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 12913 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 12914 |
+ |
$as_echo_n "(cached) " >&6 |
| 12915 |
+ |
else |
| 12916 |
+ |
|
| 12917 |
+ |
ax_check_save_flags=$CFLAGS |
| 12918 |
+ |
CFLAGS="$CFLAGS $flag" |
| 12919 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12920 |
+ |
/* end confdefs.h. */ |
| 12921 |
+ |
|
| 12922 |
+ |
int |
| 12923 |
+ |
main () |
| 12924 |
+ |
{ |
| 12925 |
+ |
|
| 12926 |
+ |
; |
| 12927 |
+ |
return 0; |
| 12928 |
+ |
} |
| 12929 |
+ |
_ACEOF |
| 12930 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12931 |
+ |
eval "$as_CACHEVAR=yes" |
| 12932 |
+ |
else |
| 12933 |
+ |
eval "$as_CACHEVAR=no" |
| 12934 |
+ |
fi |
| 12935 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12936 |
+ |
CFLAGS=$ax_check_save_flags |
| 12937 |
+ |
fi |
| 12938 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 12939 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 12940 |
+ |
$as_echo "$ac_res" >&6; } |
| 12941 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 12942 |
+ |
|
| 12943 |
+ |
if ${CFLAGS+:} false; then : |
| 12944 |
+ |
|
| 12945 |
+ |
case " $CFLAGS " in #( |
| 12946 |
+ |
*" $flag "*) : |
| 12947 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 12948 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 12949 |
+ |
ac_status=$? |
| 12950 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12951 |
+ |
test $ac_status = 0; } ;; #( |
| 12952 |
+ |
*) : |
| 12953 |
+ |
|
| 12954 |
+ |
as_fn_append CFLAGS " $flag" |
| 12955 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 12956 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 12957 |
+ |
ac_status=$? |
| 12958 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12959 |
+ |
test $ac_status = 0; } |
| 12960 |
+ |
;; |
| 12961 |
+ |
esac |
| 12962 |
+ |
|
| 12963 |
+ |
else |
| 12964 |
+ |
|
| 12965 |
+ |
CFLAGS=$flag |
| 12966 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 12967 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 12968 |
+ |
ac_status=$? |
| 12969 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12970 |
+ |
test $ac_status = 0; } |
| 12971 |
+ |
|
| 12972 |
+ |
fi |
| 12973 |
+ |
|
| 12974 |
+ |
else |
| 12975 |
+ |
: |
| 12976 |
+ |
fi |
| 12977 |
+ |
|
| 12978 |
+ |
done |
| 12979 |
+ |
|
| 12980 |
+ |
|
| 12981 |
+ |
|
| 12982 |
+ |
|
| 12983 |
+ |
|
| 12984 |
+ |
for flag in -Wempty-body; do |
| 12985 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 12986 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 12987 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 12988 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 12989 |
+ |
$as_echo_n "(cached) " >&6 |
| 12990 |
+ |
else |
| 12991 |
+ |
|
| 12992 |
+ |
ax_check_save_flags=$CFLAGS |
| 12993 |
+ |
CFLAGS="$CFLAGS $flag" |
| 12994 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12995 |
+ |
/* end confdefs.h. */ |
| 12996 |
+ |
|
| 12997 |
+ |
int |
| 12998 |
+ |
main () |
| 12999 |
+ |
{ |
| 13000 |
+ |
|
| 13001 |
+ |
; |
| 13002 |
+ |
return 0; |
| 13003 |
+ |
} |
| 13004 |
+ |
_ACEOF |
| 13005 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13006 |
+ |
eval "$as_CACHEVAR=yes" |
| 13007 |
+ |
else |
| 13008 |
+ |
eval "$as_CACHEVAR=no" |
| 13009 |
+ |
fi |
| 13010 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13011 |
+ |
CFLAGS=$ax_check_save_flags |
| 13012 |
+ |
fi |
| 13013 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13014 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13015 |
+ |
$as_echo "$ac_res" >&6; } |
| 13016 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13017 |
+ |
|
| 13018 |
+ |
if ${CFLAGS+:} false; then : |
| 13019 |
+ |
|
| 13020 |
+ |
case " $CFLAGS " in #( |
| 13021 |
+ |
*" $flag "*) : |
| 13022 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13023 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13024 |
+ |
ac_status=$? |
| 13025 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13026 |
+ |
test $ac_status = 0; } ;; #( |
| 13027 |
+ |
*) : |
| 13028 |
+ |
|
| 13029 |
+ |
as_fn_append CFLAGS " $flag" |
| 13030 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13031 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13032 |
+ |
ac_status=$? |
| 13033 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13034 |
+ |
test $ac_status = 0; } |
| 13035 |
+ |
;; |
| 13036 |
+ |
esac |
| 13037 |
+ |
|
| 13038 |
+ |
else |
| 13039 |
+ |
|
| 13040 |
+ |
CFLAGS=$flag |
| 13041 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13042 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13043 |
+ |
ac_status=$? |
| 13044 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13045 |
+ |
test $ac_status = 0; } |
| 13046 |
+ |
|
| 13047 |
+ |
fi |
| 13048 |
+ |
|
| 13049 |
+ |
else |
| 13050 |
+ |
: |
| 13051 |
+ |
fi |
| 13052 |
+ |
|
| 13053 |
+ |
done |
| 13054 |
+ |
|
| 13055 |
+ |
|
| 13056 |
+ |
|
| 13057 |
+ |
|
| 13058 |
+ |
|
| 13059 |
+ |
for flag in -Wignored-qualifiers; do |
| 13060 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13061 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13062 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13063 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13064 |
+ |
$as_echo_n "(cached) " >&6 |
| 13065 |
+ |
else |
| 13066 |
+ |
|
| 13067 |
+ |
ax_check_save_flags=$CFLAGS |
| 13068 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13069 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13070 |
+ |
/* end confdefs.h. */ |
| 13071 |
+ |
|
| 13072 |
+ |
int |
| 13073 |
+ |
main () |
| 13074 |
+ |
{ |
| 13075 |
+ |
|
| 13076 |
+ |
; |
| 13077 |
+ |
return 0; |
| 13078 |
+ |
} |
| 13079 |
+ |
_ACEOF |
| 13080 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13081 |
+ |
eval "$as_CACHEVAR=yes" |
| 13082 |
+ |
else |
| 13083 |
+ |
eval "$as_CACHEVAR=no" |
| 13084 |
+ |
fi |
| 13085 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13086 |
+ |
CFLAGS=$ax_check_save_flags |
| 13087 |
+ |
fi |
| 13088 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13089 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13090 |
+ |
$as_echo "$ac_res" >&6; } |
| 13091 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13092 |
+ |
|
| 13093 |
+ |
if ${CFLAGS+:} false; then : |
| 13094 |
+ |
|
| 13095 |
+ |
case " $CFLAGS " in #( |
| 13096 |
+ |
*" $flag "*) : |
| 13097 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13098 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13099 |
+ |
ac_status=$? |
| 13100 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13101 |
+ |
test $ac_status = 0; } ;; #( |
| 13102 |
+ |
*) : |
| 13103 |
+ |
|
| 13104 |
+ |
as_fn_append CFLAGS " $flag" |
| 13105 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13106 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13107 |
+ |
ac_status=$? |
| 13108 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13109 |
+ |
test $ac_status = 0; } |
| 13110 |
+ |
;; |
| 13111 |
+ |
esac |
| 13112 |
+ |
|
| 13113 |
+ |
else |
| 13114 |
+ |
|
| 13115 |
+ |
CFLAGS=$flag |
| 13116 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13117 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13118 |
+ |
ac_status=$? |
| 13119 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13120 |
+ |
test $ac_status = 0; } |
| 13121 |
+ |
|
| 13122 |
+ |
fi |
| 13123 |
+ |
|
| 13124 |
+ |
else |
| 13125 |
+ |
: |
| 13126 |
+ |
fi |
| 13127 |
+ |
|
| 13128 |
+ |
done |
| 13129 |
+ |
|
| 13130 |
+ |
|
| 13131 |
+ |
|
| 13132 |
+ |
|
| 13133 |
+ |
|
| 13134 |
+ |
for flag in -Wlogical-op; do |
| 13135 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13136 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13137 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13138 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13139 |
+ |
$as_echo_n "(cached) " >&6 |
| 13140 |
+ |
else |
| 13141 |
+ |
|
| 13142 |
+ |
ax_check_save_flags=$CFLAGS |
| 13143 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13144 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13145 |
+ |
/* end confdefs.h. */ |
| 13146 |
+ |
|
| 13147 |
+ |
int |
| 13148 |
+ |
main () |
| 13149 |
+ |
{ |
| 13150 |
+ |
|
| 13151 |
+ |
; |
| 13152 |
+ |
return 0; |
| 13153 |
+ |
} |
| 13154 |
+ |
_ACEOF |
| 13155 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13156 |
+ |
eval "$as_CACHEVAR=yes" |
| 13157 |
+ |
else |
| 13158 |
+ |
eval "$as_CACHEVAR=no" |
| 13159 |
+ |
fi |
| 13160 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13161 |
+ |
CFLAGS=$ax_check_save_flags |
| 13162 |
+ |
fi |
| 13163 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13164 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13165 |
+ |
$as_echo "$ac_res" >&6; } |
| 13166 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13167 |
+ |
|
| 13168 |
+ |
if ${CFLAGS+:} false; then : |
| 13169 |
+ |
|
| 13170 |
+ |
case " $CFLAGS " in #( |
| 13171 |
+ |
*" $flag "*) : |
| 13172 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13173 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13174 |
+ |
ac_status=$? |
| 13175 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13176 |
+ |
test $ac_status = 0; } ;; #( |
| 13177 |
+ |
*) : |
| 13178 |
+ |
|
| 13179 |
+ |
as_fn_append CFLAGS " $flag" |
| 13180 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13181 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13182 |
+ |
ac_status=$? |
| 13183 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13184 |
+ |
test $ac_status = 0; } |
| 13185 |
+ |
;; |
| 13186 |
+ |
esac |
| 13187 |
+ |
|
| 13188 |
+ |
else |
| 13189 |
+ |
|
| 13190 |
+ |
CFLAGS=$flag |
| 13191 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13192 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13193 |
+ |
ac_status=$? |
| 13194 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13195 |
+ |
test $ac_status = 0; } |
| 13196 |
+ |
|
| 13197 |
+ |
fi |
| 13198 |
+ |
|
| 13199 |
+ |
else |
| 13200 |
+ |
: |
| 13201 |
+ |
fi |
| 13202 |
+ |
|
| 13203 |
+ |
done |
| 13204 |
+ |
|
| 13205 |
+ |
|
| 13206 |
+ |
|
| 13207 |
+ |
|
| 13208 |
+ |
|
| 13209 |
+ |
for flag in -Wmissing-declarations; do |
| 13210 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13211 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13212 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13213 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13214 |
+ |
$as_echo_n "(cached) " >&6 |
| 13215 |
+ |
else |
| 13216 |
+ |
|
| 13217 |
+ |
ax_check_save_flags=$CFLAGS |
| 13218 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13219 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13220 |
+ |
/* end confdefs.h. */ |
| 13221 |
+ |
|
| 13222 |
+ |
int |
| 13223 |
+ |
main () |
| 13224 |
+ |
{ |
| 13225 |
+ |
|
| 13226 |
+ |
; |
| 13227 |
+ |
return 0; |
| 13228 |
+ |
} |
| 13229 |
+ |
_ACEOF |
| 13230 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13231 |
+ |
eval "$as_CACHEVAR=yes" |
| 13232 |
+ |
else |
| 13233 |
+ |
eval "$as_CACHEVAR=no" |
| 13234 |
+ |
fi |
| 13235 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13236 |
+ |
CFLAGS=$ax_check_save_flags |
| 13237 |
+ |
fi |
| 13238 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13239 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13240 |
+ |
$as_echo "$ac_res" >&6; } |
| 13241 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13242 |
+ |
|
| 13243 |
+ |
if ${CFLAGS+:} false; then : |
| 13244 |
+ |
|
| 13245 |
+ |
case " $CFLAGS " in #( |
| 13246 |
+ |
*" $flag "*) : |
| 13247 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13248 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13249 |
+ |
ac_status=$? |
| 13250 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13251 |
+ |
test $ac_status = 0; } ;; #( |
| 13252 |
+ |
*) : |
| 13253 |
+ |
|
| 13254 |
+ |
as_fn_append CFLAGS " $flag" |
| 13255 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13256 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13257 |
+ |
ac_status=$? |
| 13258 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13259 |
+ |
test $ac_status = 0; } |
| 13260 |
+ |
;; |
| 13261 |
+ |
esac |
| 13262 |
+ |
|
| 13263 |
+ |
else |
| 13264 |
+ |
|
| 13265 |
+ |
CFLAGS=$flag |
| 13266 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13267 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13268 |
+ |
ac_status=$? |
| 13269 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13270 |
+ |
test $ac_status = 0; } |
| 13271 |
+ |
|
| 13272 |
+ |
fi |
| 13273 |
+ |
|
| 13274 |
+ |
else |
| 13275 |
+ |
: |
| 13276 |
+ |
fi |
| 13277 |
+ |
|
| 13278 |
+ |
done |
| 13279 |
+ |
|
| 13280 |
+ |
|
| 13281 |
+ |
|
| 13282 |
+ |
|
| 13283 |
+ |
|
| 13284 |
+ |
for flag in -Wmissing-field-initializers; do |
| 13285 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13286 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13287 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13288 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13289 |
+ |
$as_echo_n "(cached) " >&6 |
| 13290 |
+ |
else |
| 13291 |
+ |
|
| 13292 |
+ |
ax_check_save_flags=$CFLAGS |
| 13293 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13294 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13295 |
+ |
/* end confdefs.h. */ |
| 13296 |
+ |
|
| 13297 |
+ |
int |
| 13298 |
+ |
main () |
| 13299 |
+ |
{ |
| 13300 |
+ |
|
| 13301 |
+ |
; |
| 13302 |
+ |
return 0; |
| 13303 |
+ |
} |
| 13304 |
+ |
_ACEOF |
| 13305 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13306 |
+ |
eval "$as_CACHEVAR=yes" |
| 13307 |
+ |
else |
| 13308 |
+ |
eval "$as_CACHEVAR=no" |
| 13309 |
+ |
fi |
| 13310 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13311 |
+ |
CFLAGS=$ax_check_save_flags |
| 13312 |
+ |
fi |
| 13313 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13314 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13315 |
+ |
$as_echo "$ac_res" >&6; } |
| 13316 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13317 |
+ |
|
| 13318 |
+ |
if ${CFLAGS+:} false; then : |
| 13319 |
+ |
|
| 13320 |
+ |
case " $CFLAGS " in #( |
| 13321 |
+ |
*" $flag "*) : |
| 13322 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13323 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13324 |
+ |
ac_status=$? |
| 13325 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13326 |
+ |
test $ac_status = 0; } ;; #( |
| 13327 |
+ |
*) : |
| 13328 |
+ |
|
| 13329 |
+ |
as_fn_append CFLAGS " $flag" |
| 13330 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13331 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13332 |
+ |
ac_status=$? |
| 13333 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13334 |
+ |
test $ac_status = 0; } |
| 13335 |
+ |
;; |
| 13336 |
+ |
esac |
| 13337 |
+ |
|
| 13338 |
+ |
else |
| 13339 |
+ |
|
| 13340 |
+ |
CFLAGS=$flag |
| 13341 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13342 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13343 |
+ |
ac_status=$? |
| 13344 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13345 |
+ |
test $ac_status = 0; } |
| 13346 |
+ |
|
| 13347 |
+ |
fi |
| 13348 |
+ |
|
| 13349 |
+ |
else |
| 13350 |
+ |
: |
| 13351 |
+ |
fi |
| 13352 |
+ |
|
| 13353 |
+ |
done |
| 13354 |
+ |
|
| 13355 |
+ |
|
| 13356 |
+ |
|
| 13357 |
+ |
|
| 13358 |
+ |
|
| 13359 |
+ |
for flag in -Wmissing-include-dirs; do |
| 13360 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13361 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13362 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13363 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13364 |
+ |
$as_echo_n "(cached) " >&6 |
| 13365 |
+ |
else |
| 13366 |
+ |
|
| 13367 |
+ |
ax_check_save_flags=$CFLAGS |
| 13368 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13369 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13370 |
+ |
/* end confdefs.h. */ |
| 13371 |
+ |
|
| 13372 |
+ |
int |
| 13373 |
+ |
main () |
| 13374 |
+ |
{ |
| 13375 |
+ |
|
| 13376 |
+ |
; |
| 13377 |
+ |
return 0; |
| 13378 |
+ |
} |
| 13379 |
+ |
_ACEOF |
| 13380 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13381 |
+ |
eval "$as_CACHEVAR=yes" |
| 13382 |
+ |
else |
| 13383 |
+ |
eval "$as_CACHEVAR=no" |
| 13384 |
+ |
fi |
| 13385 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13386 |
+ |
CFLAGS=$ax_check_save_flags |
| 13387 |
+ |
fi |
| 13388 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13389 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13390 |
+ |
$as_echo "$ac_res" >&6; } |
| 13391 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13392 |
+ |
|
| 13393 |
+ |
if ${CFLAGS+:} false; then : |
| 13394 |
+ |
|
| 13395 |
+ |
case " $CFLAGS " in #( |
| 13396 |
+ |
*" $flag "*) : |
| 13397 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13398 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13399 |
+ |
ac_status=$? |
| 13400 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13401 |
+ |
test $ac_status = 0; } ;; #( |
| 13402 |
+ |
*) : |
| 13403 |
+ |
|
| 13404 |
+ |
as_fn_append CFLAGS " $flag" |
| 13405 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13406 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13407 |
+ |
ac_status=$? |
| 13408 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13409 |
+ |
test $ac_status = 0; } |
| 13410 |
+ |
;; |
| 13411 |
+ |
esac |
| 13412 |
+ |
|
| 13413 |
+ |
else |
| 13414 |
+ |
|
| 13415 |
+ |
CFLAGS=$flag |
| 13416 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13417 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13418 |
+ |
ac_status=$? |
| 13419 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13420 |
+ |
test $ac_status = 0; } |
| 13421 |
+ |
|
| 13422 |
+ |
fi |
| 13423 |
+ |
|
| 13424 |
+ |
else |
| 13425 |
+ |
: |
| 13426 |
+ |
fi |
| 13427 |
+ |
|
| 13428 |
+ |
done |
| 13429 |
+ |
|
| 13430 |
+ |
|
| 13431 |
+ |
|
| 13432 |
+ |
|
| 13433 |
+ |
|
| 13434 |
+ |
for flag in -Wmissing-parameter-type; do |
| 13435 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13436 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13437 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13438 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13439 |
+ |
$as_echo_n "(cached) " >&6 |
| 13440 |
+ |
else |
| 13441 |
+ |
|
| 13442 |
+ |
ax_check_save_flags=$CFLAGS |
| 13443 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13444 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13445 |
+ |
/* end confdefs.h. */ |
| 13446 |
+ |
|
| 13447 |
+ |
int |
| 13448 |
+ |
main () |
| 13449 |
+ |
{ |
| 13450 |
+ |
|
| 13451 |
+ |
; |
| 13452 |
+ |
return 0; |
| 13453 |
+ |
} |
| 13454 |
+ |
_ACEOF |
| 13455 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13456 |
+ |
eval "$as_CACHEVAR=yes" |
| 13457 |
+ |
else |
| 13458 |
+ |
eval "$as_CACHEVAR=no" |
| 13459 |
+ |
fi |
| 13460 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13461 |
+ |
CFLAGS=$ax_check_save_flags |
| 13462 |
+ |
fi |
| 13463 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13464 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13465 |
+ |
$as_echo "$ac_res" >&6; } |
| 13466 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13467 |
+ |
|
| 13468 |
+ |
if ${CFLAGS+:} false; then : |
| 13469 |
+ |
|
| 13470 |
+ |
case " $CFLAGS " in #( |
| 13471 |
+ |
*" $flag "*) : |
| 13472 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13473 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13474 |
+ |
ac_status=$? |
| 13475 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13476 |
+ |
test $ac_status = 0; } ;; #( |
| 13477 |
+ |
*) : |
| 13478 |
+ |
|
| 13479 |
+ |
as_fn_append CFLAGS " $flag" |
| 13480 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13481 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13482 |
+ |
ac_status=$? |
| 13483 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13484 |
+ |
test $ac_status = 0; } |
| 13485 |
+ |
;; |
| 13486 |
+ |
esac |
| 13487 |
+ |
|
| 13488 |
+ |
else |
| 13489 |
+ |
|
| 13490 |
+ |
CFLAGS=$flag |
| 13491 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13492 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13493 |
+ |
ac_status=$? |
| 13494 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13495 |
+ |
test $ac_status = 0; } |
| 13496 |
+ |
|
| 13497 |
+ |
fi |
| 13498 |
+ |
|
| 13499 |
+ |
else |
| 13500 |
+ |
: |
| 13501 |
+ |
fi |
| 13502 |
+ |
|
| 13503 |
+ |
done |
| 13504 |
+ |
|
| 13505 |
+ |
|
| 13506 |
+ |
|
| 13507 |
+ |
|
| 13508 |
+ |
|
| 13509 |
+ |
for flag in -Wmissing-prototypes; do |
| 13510 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13511 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13512 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13513 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13514 |
+ |
$as_echo_n "(cached) " >&6 |
| 13515 |
+ |
else |
| 13516 |
+ |
|
| 13517 |
+ |
ax_check_save_flags=$CFLAGS |
| 13518 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13519 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13520 |
+ |
/* end confdefs.h. */ |
| 13521 |
+ |
|
| 13522 |
+ |
int |
| 13523 |
+ |
main () |
| 13524 |
+ |
{ |
| 13525 |
+ |
|
| 13526 |
+ |
; |
| 13527 |
+ |
return 0; |
| 13528 |
+ |
} |
| 13529 |
+ |
_ACEOF |
| 13530 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13531 |
+ |
eval "$as_CACHEVAR=yes" |
| 13532 |
+ |
else |
| 13533 |
+ |
eval "$as_CACHEVAR=no" |
| 13534 |
+ |
fi |
| 13535 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13536 |
+ |
CFLAGS=$ax_check_save_flags |
| 13537 |
+ |
fi |
| 13538 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13539 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13540 |
+ |
$as_echo "$ac_res" >&6; } |
| 13541 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13542 |
+ |
|
| 13543 |
+ |
if ${CFLAGS+:} false; then : |
| 13544 |
+ |
|
| 13545 |
+ |
case " $CFLAGS " in #( |
| 13546 |
+ |
*" $flag "*) : |
| 13547 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13548 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13549 |
+ |
ac_status=$? |
| 13550 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13551 |
+ |
test $ac_status = 0; } ;; #( |
| 13552 |
+ |
*) : |
| 13553 |
+ |
|
| 13554 |
+ |
as_fn_append CFLAGS " $flag" |
| 13555 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13556 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13557 |
+ |
ac_status=$? |
| 13558 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13559 |
+ |
test $ac_status = 0; } |
| 13560 |
+ |
;; |
| 13561 |
+ |
esac |
| 13562 |
+ |
|
| 13563 |
+ |
else |
| 13564 |
+ |
|
| 13565 |
+ |
CFLAGS=$flag |
| 13566 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13567 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13568 |
+ |
ac_status=$? |
| 13569 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13570 |
+ |
test $ac_status = 0; } |
| 13571 |
+ |
|
| 13572 |
+ |
fi |
| 13573 |
+ |
|
| 13574 |
+ |
else |
| 13575 |
+ |
: |
| 13576 |
+ |
fi |
| 13577 |
+ |
|
| 13578 |
+ |
done |
| 13579 |
+ |
|
| 13580 |
+ |
|
| 13581 |
+ |
|
| 13582 |
+ |
|
| 13583 |
+ |
|
| 13584 |
+ |
for flag in -Wnested-externs; do |
| 13585 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13586 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13587 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13588 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13589 |
+ |
$as_echo_n "(cached) " >&6 |
| 13590 |
+ |
else |
| 13591 |
+ |
|
| 13592 |
+ |
ax_check_save_flags=$CFLAGS |
| 13593 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13594 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13595 |
+ |
/* end confdefs.h. */ |
| 13596 |
+ |
|
| 13597 |
+ |
int |
| 13598 |
+ |
main () |
| 13599 |
+ |
{ |
| 13600 |
+ |
|
| 13601 |
+ |
; |
| 13602 |
+ |
return 0; |
| 13603 |
+ |
} |
| 13604 |
+ |
_ACEOF |
| 13605 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13606 |
+ |
eval "$as_CACHEVAR=yes" |
| 13607 |
+ |
else |
| 13608 |
+ |
eval "$as_CACHEVAR=no" |
| 13609 |
+ |
fi |
| 13610 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13611 |
+ |
CFLAGS=$ax_check_save_flags |
| 13612 |
+ |
fi |
| 13613 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13614 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13615 |
+ |
$as_echo "$ac_res" >&6; } |
| 13616 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13617 |
+ |
|
| 13618 |
+ |
if ${CFLAGS+:} false; then : |
| 13619 |
+ |
|
| 13620 |
+ |
case " $CFLAGS " in #( |
| 13621 |
+ |
*" $flag "*) : |
| 13622 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13623 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13624 |
+ |
ac_status=$? |
| 13625 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13626 |
+ |
test $ac_status = 0; } ;; #( |
| 13627 |
+ |
*) : |
| 13628 |
+ |
|
| 13629 |
+ |
as_fn_append CFLAGS " $flag" |
| 13630 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13631 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13632 |
+ |
ac_status=$? |
| 13633 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13634 |
+ |
test $ac_status = 0; } |
| 13635 |
+ |
;; |
| 13636 |
+ |
esac |
| 13637 |
+ |
|
| 13638 |
+ |
else |
| 13639 |
+ |
|
| 13640 |
+ |
CFLAGS=$flag |
| 13641 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13642 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13643 |
+ |
ac_status=$? |
| 13644 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13645 |
+ |
test $ac_status = 0; } |
| 13646 |
+ |
|
| 13647 |
+ |
fi |
| 13648 |
+ |
|
| 13649 |
+ |
else |
| 13650 |
+ |
: |
| 13651 |
+ |
fi |
| 13652 |
+ |
|
| 13653 |
+ |
done |
| 13654 |
+ |
|
| 13655 |
+ |
|
| 13656 |
+ |
|
| 13657 |
+ |
|
| 13658 |
+ |
|
| 13659 |
+ |
for flag in -Wold-style-declaration; do |
| 13660 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13661 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13662 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13663 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13664 |
+ |
$as_echo_n "(cached) " >&6 |
| 13665 |
+ |
else |
| 13666 |
+ |
|
| 13667 |
+ |
ax_check_save_flags=$CFLAGS |
| 13668 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13669 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13670 |
+ |
/* end confdefs.h. */ |
| 13671 |
+ |
|
| 13672 |
+ |
int |
| 13673 |
+ |
main () |
| 13674 |
+ |
{ |
| 13675 |
+ |
|
| 13676 |
+ |
; |
| 13677 |
+ |
return 0; |
| 13678 |
+ |
} |
| 13679 |
+ |
_ACEOF |
| 13680 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13681 |
+ |
eval "$as_CACHEVAR=yes" |
| 13682 |
+ |
else |
| 13683 |
+ |
eval "$as_CACHEVAR=no" |
| 13684 |
+ |
fi |
| 13685 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13686 |
+ |
CFLAGS=$ax_check_save_flags |
| 13687 |
+ |
fi |
| 13688 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13689 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13690 |
+ |
$as_echo "$ac_res" >&6; } |
| 13691 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13692 |
+ |
|
| 13693 |
+ |
if ${CFLAGS+:} false; then : |
| 13694 |
+ |
|
| 13695 |
+ |
case " $CFLAGS " in #( |
| 13696 |
+ |
*" $flag "*) : |
| 13697 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13698 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13699 |
+ |
ac_status=$? |
| 13700 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13701 |
+ |
test $ac_status = 0; } ;; #( |
| 13702 |
+ |
*) : |
| 13703 |
+ |
|
| 13704 |
+ |
as_fn_append CFLAGS " $flag" |
| 13705 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13706 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13707 |
+ |
ac_status=$? |
| 13708 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13709 |
+ |
test $ac_status = 0; } |
| 13710 |
+ |
;; |
| 13711 |
+ |
esac |
| 13712 |
+ |
|
| 13713 |
+ |
else |
| 13714 |
+ |
|
| 13715 |
+ |
CFLAGS=$flag |
| 13716 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13717 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13718 |
+ |
ac_status=$? |
| 13719 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13720 |
+ |
test $ac_status = 0; } |
| 13721 |
+ |
|
| 13722 |
+ |
fi |
| 13723 |
+ |
|
| 13724 |
+ |
else |
| 13725 |
+ |
: |
| 13726 |
+ |
fi |
| 13727 |
+ |
|
| 13728 |
+ |
done |
| 13729 |
+ |
|
| 13730 |
+ |
|
| 13731 |
+ |
|
| 13732 |
+ |
|
| 13733 |
+ |
|
| 13734 |
+ |
for flag in -Woverride-init; do |
| 13735 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13736 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13737 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13738 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13739 |
+ |
$as_echo_n "(cached) " >&6 |
| 13740 |
+ |
else |
| 13741 |
+ |
|
| 13742 |
+ |
ax_check_save_flags=$CFLAGS |
| 13743 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13744 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13745 |
+ |
/* end confdefs.h. */ |
| 13746 |
+ |
|
| 13747 |
+ |
int |
| 13748 |
+ |
main () |
| 13749 |
+ |
{ |
| 13750 |
+ |
|
| 13751 |
+ |
; |
| 13752 |
+ |
return 0; |
| 13753 |
+ |
} |
| 13754 |
+ |
_ACEOF |
| 13755 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13756 |
+ |
eval "$as_CACHEVAR=yes" |
| 13757 |
+ |
else |
| 13758 |
+ |
eval "$as_CACHEVAR=no" |
| 13759 |
+ |
fi |
| 13760 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13761 |
+ |
CFLAGS=$ax_check_save_flags |
| 13762 |
+ |
fi |
| 13763 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13764 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13765 |
+ |
$as_echo "$ac_res" >&6; } |
| 13766 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13767 |
+ |
|
| 13768 |
+ |
if ${CFLAGS+:} false; then : |
| 13769 |
+ |
|
| 13770 |
+ |
case " $CFLAGS " in #( |
| 13771 |
+ |
*" $flag "*) : |
| 13772 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13773 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13774 |
+ |
ac_status=$? |
| 13775 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13776 |
+ |
test $ac_status = 0; } ;; #( |
| 13777 |
+ |
*) : |
| 13778 |
+ |
|
| 13779 |
+ |
as_fn_append CFLAGS " $flag" |
| 13780 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13781 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13782 |
+ |
ac_status=$? |
| 13783 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13784 |
+ |
test $ac_status = 0; } |
| 13785 |
+ |
;; |
| 13786 |
+ |
esac |
| 13787 |
+ |
|
| 13788 |
+ |
else |
| 13789 |
+ |
|
| 13790 |
+ |
CFLAGS=$flag |
| 13791 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13792 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13793 |
+ |
ac_status=$? |
| 13794 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13795 |
+ |
test $ac_status = 0; } |
| 13796 |
+ |
|
| 13797 |
+ |
fi |
| 13798 |
+ |
|
| 13799 |
+ |
else |
| 13800 |
+ |
: |
| 13801 |
+ |
fi |
| 13802 |
+ |
|
| 13803 |
+ |
done |
| 13804 |
+ |
|
| 13805 |
+ |
|
| 13806 |
+ |
|
| 13807 |
+ |
|
| 13808 |
+ |
|
| 13809 |
+ |
for flag in -Wpointer-arith; do |
| 13810 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13811 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13812 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13813 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13814 |
+ |
$as_echo_n "(cached) " >&6 |
| 13815 |
+ |
else |
| 13816 |
+ |
|
| 13817 |
+ |
ax_check_save_flags=$CFLAGS |
| 13818 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13819 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13820 |
+ |
/* end confdefs.h. */ |
| 13821 |
+ |
|
| 13822 |
+ |
int |
| 13823 |
+ |
main () |
| 13824 |
+ |
{ |
| 13825 |
+ |
|
| 13826 |
+ |
; |
| 13827 |
+ |
return 0; |
| 13828 |
+ |
} |
| 13829 |
+ |
_ACEOF |
| 13830 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13831 |
+ |
eval "$as_CACHEVAR=yes" |
| 13832 |
+ |
else |
| 13833 |
+ |
eval "$as_CACHEVAR=no" |
| 13834 |
+ |
fi |
| 13835 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13836 |
+ |
CFLAGS=$ax_check_save_flags |
| 13837 |
+ |
fi |
| 13838 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13839 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13840 |
+ |
$as_echo "$ac_res" >&6; } |
| 13841 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13842 |
+ |
|
| 13843 |
+ |
if ${CFLAGS+:} false; then : |
| 13844 |
+ |
|
| 13845 |
+ |
case " $CFLAGS " in #( |
| 13846 |
+ |
*" $flag "*) : |
| 13847 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13848 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13849 |
+ |
ac_status=$? |
| 13850 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13851 |
+ |
test $ac_status = 0; } ;; #( |
| 13852 |
+ |
*) : |
| 13853 |
+ |
|
| 13854 |
+ |
as_fn_append CFLAGS " $flag" |
| 13855 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13856 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13857 |
+ |
ac_status=$? |
| 13858 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13859 |
+ |
test $ac_status = 0; } |
| 13860 |
+ |
;; |
| 13861 |
+ |
esac |
| 13862 |
+ |
|
| 13863 |
+ |
else |
| 13864 |
+ |
|
| 13865 |
+ |
CFLAGS=$flag |
| 13866 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13867 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13868 |
+ |
ac_status=$? |
| 13869 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13870 |
+ |
test $ac_status = 0; } |
| 13871 |
+ |
|
| 13872 |
+ |
fi |
| 13873 |
+ |
|
| 13874 |
+ |
else |
| 13875 |
+ |
: |
| 13876 |
+ |
fi |
| 13877 |
+ |
|
| 13878 |
+ |
done |
| 13879 |
+ |
|
| 13880 |
+ |
|
| 13881 |
+ |
|
| 13882 |
+ |
|
| 13883 |
+ |
|
| 13884 |
+ |
for flag in -Wredundant-decls; do |
| 13885 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13886 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13887 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13888 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13889 |
+ |
$as_echo_n "(cached) " >&6 |
| 13890 |
+ |
else |
| 13891 |
+ |
|
| 13892 |
+ |
ax_check_save_flags=$CFLAGS |
| 13893 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13894 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13895 |
+ |
/* end confdefs.h. */ |
| 13896 |
+ |
|
| 13897 |
+ |
int |
| 13898 |
+ |
main () |
| 13899 |
+ |
{ |
| 13900 |
+ |
|
| 13901 |
+ |
; |
| 13902 |
+ |
return 0; |
| 13903 |
+ |
} |
| 13904 |
+ |
_ACEOF |
| 13905 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13906 |
+ |
eval "$as_CACHEVAR=yes" |
| 13907 |
+ |
else |
| 13908 |
+ |
eval "$as_CACHEVAR=no" |
| 13909 |
+ |
fi |
| 13910 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13911 |
+ |
CFLAGS=$ax_check_save_flags |
| 13912 |
+ |
fi |
| 13913 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13914 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13915 |
+ |
$as_echo "$ac_res" >&6; } |
| 13916 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13917 |
+ |
|
| 13918 |
+ |
if ${CFLAGS+:} false; then : |
| 13919 |
+ |
|
| 13920 |
+ |
case " $CFLAGS " in #( |
| 13921 |
+ |
*" $flag "*) : |
| 13922 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13923 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13924 |
+ |
ac_status=$? |
| 13925 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13926 |
+ |
test $ac_status = 0; } ;; #( |
| 13927 |
+ |
*) : |
| 13928 |
+ |
|
| 13929 |
+ |
as_fn_append CFLAGS " $flag" |
| 13930 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13931 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13932 |
+ |
ac_status=$? |
| 13933 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13934 |
+ |
test $ac_status = 0; } |
| 13935 |
+ |
;; |
| 13936 |
+ |
esac |
| 13937 |
+ |
|
| 13938 |
+ |
else |
| 13939 |
+ |
|
| 13940 |
+ |
CFLAGS=$flag |
| 13941 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13942 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13943 |
+ |
ac_status=$? |
| 13944 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13945 |
+ |
test $ac_status = 0; } |
| 13946 |
+ |
|
| 13947 |
+ |
fi |
| 13948 |
+ |
|
| 13949 |
+ |
else |
| 13950 |
+ |
: |
| 13951 |
+ |
fi |
| 13952 |
+ |
|
| 13953 |
+ |
done |
| 13954 |
+ |
|
| 13955 |
+ |
|
| 13956 |
+ |
|
| 13957 |
+ |
|
| 13958 |
+ |
|
| 13959 |
+ |
for flag in -Wshadow; do |
| 13960 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13961 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13962 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13963 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13964 |
+ |
$as_echo_n "(cached) " >&6 |
| 13965 |
+ |
else |
| 13966 |
+ |
|
| 13967 |
+ |
ax_check_save_flags=$CFLAGS |
| 13968 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13969 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13970 |
+ |
/* end confdefs.h. */ |
| 13971 |
+ |
|
| 13972 |
+ |
int |
| 13973 |
+ |
main () |
| 13974 |
+ |
{ |
| 13975 |
+ |
|
| 13976 |
+ |
; |
| 13977 |
+ |
return 0; |
| 13978 |
+ |
} |
| 13979 |
+ |
_ACEOF |
| 13980 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13981 |
+ |
eval "$as_CACHEVAR=yes" |
| 13982 |
+ |
else |
| 13983 |
+ |
eval "$as_CACHEVAR=no" |
| 13984 |
+ |
fi |
| 13985 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13986 |
+ |
CFLAGS=$ax_check_save_flags |
| 13987 |
+ |
fi |
| 13988 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13989 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13990 |
+ |
$as_echo "$ac_res" >&6; } |
| 13991 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13992 |
+ |
|
| 13993 |
+ |
if ${CFLAGS+:} false; then : |
| 13994 |
+ |
|
| 13995 |
+ |
case " $CFLAGS " in #( |
| 13996 |
+ |
*" $flag "*) : |
| 13997 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13998 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13999 |
+ |
ac_status=$? |
| 14000 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14001 |
+ |
test $ac_status = 0; } ;; #( |
| 14002 |
+ |
*) : |
| 14003 |
+ |
|
| 14004 |
+ |
as_fn_append CFLAGS " $flag" |
| 14005 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14006 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14007 |
+ |
ac_status=$? |
| 14008 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14009 |
+ |
test $ac_status = 0; } |
| 14010 |
+ |
;; |
| 14011 |
+ |
esac |
| 14012 |
+ |
|
| 14013 |
+ |
else |
| 14014 |
+ |
|
| 14015 |
+ |
CFLAGS=$flag |
| 14016 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14017 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14018 |
+ |
ac_status=$? |
| 14019 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14020 |
+ |
test $ac_status = 0; } |
| 14021 |
+ |
|
| 14022 |
+ |
fi |
| 14023 |
+ |
|
| 14024 |
+ |
else |
| 14025 |
+ |
: |
| 14026 |
+ |
fi |
| 14027 |
+ |
|
| 14028 |
+ |
done |
| 14029 |
+ |
|
| 14030 |
+ |
|
| 14031 |
+ |
|
| 14032 |
+ |
|
| 14033 |
+ |
|
| 14034 |
+ |
for flag in -Wsign-compare; do |
| 14035 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14036 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14037 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14038 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 14039 |
+ |
$as_echo_n "(cached) " >&6 |
| 14040 |
+ |
else |
| 14041 |
+ |
|
| 14042 |
+ |
ax_check_save_flags=$CFLAGS |
| 14043 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14044 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14045 |
+ |
/* end confdefs.h. */ |
| 14046 |
+ |
|
| 14047 |
+ |
int |
| 14048 |
+ |
main () |
| 14049 |
+ |
{ |
| 14050 |
+ |
|
| 14051 |
+ |
; |
| 14052 |
+ |
return 0; |
| 14053 |
+ |
} |
| 14054 |
+ |
_ACEOF |
| 14055 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14056 |
+ |
eval "$as_CACHEVAR=yes" |
| 14057 |
+ |
else |
| 14058 |
+ |
eval "$as_CACHEVAR=no" |
| 14059 |
+ |
fi |
| 14060 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14061 |
+ |
CFLAGS=$ax_check_save_flags |
| 14062 |
+ |
fi |
| 14063 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14064 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14065 |
+ |
$as_echo "$ac_res" >&6; } |
| 14066 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14067 |
+ |
|
| 14068 |
+ |
if ${CFLAGS+:} false; then : |
| 14069 |
+ |
|
| 14070 |
+ |
case " $CFLAGS " in #( |
| 14071 |
+ |
*" $flag "*) : |
| 14072 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14073 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14074 |
+ |
ac_status=$? |
| 14075 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14076 |
+ |
test $ac_status = 0; } ;; #( |
| 14077 |
+ |
*) : |
| 14078 |
+ |
|
| 14079 |
+ |
as_fn_append CFLAGS " $flag" |
| 14080 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14081 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14082 |
+ |
ac_status=$? |
| 14083 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14084 |
+ |
test $ac_status = 0; } |
| 14085 |
+ |
;; |
| 14086 |
+ |
esac |
| 14087 |
+ |
|
| 14088 |
+ |
else |
| 14089 |
+ |
|
| 14090 |
+ |
CFLAGS=$flag |
| 14091 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14092 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14093 |
+ |
ac_status=$? |
| 14094 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14095 |
+ |
test $ac_status = 0; } |
| 14096 |
+ |
|
| 14097 |
+ |
fi |
| 14098 |
+ |
|
| 14099 |
+ |
else |
| 14100 |
+ |
: |
| 14101 |
+ |
fi |
| 14102 |
+ |
|
| 14103 |
+ |
done |
| 14104 |
+ |
|
| 14105 |
+ |
|
| 14106 |
+ |
|
| 14107 |
+ |
|
| 14108 |
+ |
|
| 14109 |
+ |
for flag in -Wtype-limits; do |
| 14110 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14111 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14112 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14113 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 14114 |
+ |
$as_echo_n "(cached) " >&6 |
| 14115 |
+ |
else |
| 14116 |
+ |
|
| 14117 |
+ |
ax_check_save_flags=$CFLAGS |
| 14118 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14119 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14120 |
+ |
/* end confdefs.h. */ |
| 14121 |
+ |
|
| 14122 |
+ |
int |
| 14123 |
+ |
main () |
| 14124 |
+ |
{ |
| 14125 |
+ |
|
| 14126 |
+ |
; |
| 14127 |
+ |
return 0; |
| 14128 |
+ |
} |
| 14129 |
+ |
_ACEOF |
| 14130 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14131 |
+ |
eval "$as_CACHEVAR=yes" |
| 14132 |
+ |
else |
| 14133 |
+ |
eval "$as_CACHEVAR=no" |
| 14134 |
+ |
fi |
| 14135 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14136 |
+ |
CFLAGS=$ax_check_save_flags |
| 14137 |
+ |
fi |
| 14138 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14139 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14140 |
+ |
$as_echo "$ac_res" >&6; } |
| 14141 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14142 |
+ |
|
| 14143 |
+ |
if ${CFLAGS+:} false; then : |
| 14144 |
+ |
|
| 14145 |
+ |
case " $CFLAGS " in #( |
| 14146 |
+ |
*" $flag "*) : |
| 14147 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14148 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14149 |
+ |
ac_status=$? |
| 14150 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14151 |
+ |
test $ac_status = 0; } ;; #( |
| 14152 |
+ |
*) : |
| 14153 |
+ |
|
| 14154 |
+ |
as_fn_append CFLAGS " $flag" |
| 14155 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14156 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14157 |
+ |
ac_status=$? |
| 14158 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14159 |
+ |
test $ac_status = 0; } |
| 14160 |
+ |
;; |
| 14161 |
+ |
esac |
| 14162 |
+ |
|
| 14163 |
+ |
else |
| 14164 |
+ |
|
| 14165 |
+ |
CFLAGS=$flag |
| 14166 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14167 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14168 |
+ |
ac_status=$? |
| 14169 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14170 |
+ |
test $ac_status = 0; } |
| 14171 |
+ |
|
| 14172 |
+ |
fi |
| 14173 |
+ |
|
| 14174 |
+ |
else |
| 14175 |
+ |
: |
| 14176 |
+ |
fi |
| 14177 |
+ |
|
| 14178 |
+ |
done |
| 14179 |
+ |
|
| 14180 |
+ |
|
| 14181 |
+ |
|
| 14182 |
+ |
|
| 14183 |
+ |
|
| 14184 |
+ |
for flag in -Wundef; do |
| 14185 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14186 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14187 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14188 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 14189 |
+ |
$as_echo_n "(cached) " >&6 |
| 14190 |
+ |
else |
| 14191 |
+ |
|
| 14192 |
+ |
ax_check_save_flags=$CFLAGS |
| 14193 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14194 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14195 |
+ |
/* end confdefs.h. */ |
| 14196 |
+ |
|
| 14197 |
+ |
int |
| 14198 |
+ |
main () |
| 14199 |
+ |
{ |
| 14200 |
+ |
|
| 14201 |
+ |
; |
| 14202 |
+ |
return 0; |
| 14203 |
+ |
} |
| 14204 |
+ |
_ACEOF |
| 14205 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14206 |
+ |
eval "$as_CACHEVAR=yes" |
| 14207 |
+ |
else |
| 14208 |
+ |
eval "$as_CACHEVAR=no" |
| 14209 |
+ |
fi |
| 14210 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14211 |
+ |
CFLAGS=$ax_check_save_flags |
| 14212 |
+ |
fi |
| 14213 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14214 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14215 |
+ |
$as_echo "$ac_res" >&6; } |
| 14216 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14217 |
+ |
|
| 14218 |
+ |
if ${CFLAGS+:} false; then : |
| 14219 |
+ |
|
| 14220 |
+ |
case " $CFLAGS " in #( |
| 14221 |
+ |
*" $flag "*) : |
| 14222 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14223 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14224 |
+ |
ac_status=$? |
| 14225 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14226 |
+ |
test $ac_status = 0; } ;; #( |
| 14227 |
+ |
*) : |
| 14228 |
+ |
|
| 14229 |
+ |
as_fn_append CFLAGS " $flag" |
| 14230 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14231 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14232 |
+ |
ac_status=$? |
| 14233 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14234 |
+ |
test $ac_status = 0; } |
| 14235 |
+ |
;; |
| 14236 |
+ |
esac |
| 14237 |
+ |
|
| 14238 |
+ |
else |
| 14239 |
+ |
|
| 14240 |
+ |
CFLAGS=$flag |
| 14241 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14242 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14243 |
+ |
ac_status=$? |
| 14244 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14245 |
+ |
test $ac_status = 0; } |
| 14246 |
+ |
|
| 14247 |
+ |
fi |
| 14248 |
+ |
|
| 14249 |
+ |
else |
| 14250 |
+ |
: |
| 14251 |
+ |
fi |
| 14252 |
+ |
|
| 14253 |
+ |
done |
| 14254 |
+ |
|
| 14255 |
+ |
|
| 14256 |
+ |
|
| 14257 |
+ |
|
| 14258 |
+ |
|
| 14259 |
+ |
for flag in -Wuninitialized; do |
| 14260 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14261 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14262 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14263 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 14264 |
+ |
$as_echo_n "(cached) " >&6 |
| 14265 |
+ |
else |
| 14266 |
+ |
|
| 14267 |
+ |
ax_check_save_flags=$CFLAGS |
| 14268 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14269 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14270 |
+ |
/* end confdefs.h. */ |
| 14271 |
+ |
|
| 14272 |
+ |
int |
| 14273 |
+ |
main () |
| 14274 |
+ |
{ |
| 14275 |
+ |
|
| 14276 |
+ |
; |
| 14277 |
+ |
return 0; |
| 14278 |
+ |
} |
| 14279 |
+ |
_ACEOF |
| 14280 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14281 |
+ |
eval "$as_CACHEVAR=yes" |
| 14282 |
+ |
else |
| 14283 |
+ |
eval "$as_CACHEVAR=no" |
| 14284 |
+ |
fi |
| 14285 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14286 |
+ |
CFLAGS=$ax_check_save_flags |
| 14287 |
+ |
fi |
| 14288 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14289 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14290 |
+ |
$as_echo "$ac_res" >&6; } |
| 14291 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14292 |
+ |
|
| 14293 |
+ |
if ${CFLAGS+:} false; then : |
| 14294 |
+ |
|
| 14295 |
+ |
case " $CFLAGS " in #( |
| 14296 |
+ |
*" $flag "*) : |
| 14297 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14298 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14299 |
+ |
ac_status=$? |
| 14300 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14301 |
+ |
test $ac_status = 0; } ;; #( |
| 14302 |
+ |
*) : |
| 14303 |
+ |
|
| 14304 |
+ |
as_fn_append CFLAGS " $flag" |
| 14305 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14306 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14307 |
+ |
ac_status=$? |
| 14308 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14309 |
+ |
test $ac_status = 0; } |
| 14310 |
+ |
;; |
| 14311 |
+ |
esac |
| 14312 |
+ |
|
| 14313 |
+ |
else |
| 14314 |
+ |
|
| 14315 |
+ |
CFLAGS=$flag |
| 14316 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14317 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14318 |
+ |
ac_status=$? |
| 14319 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14320 |
+ |
test $ac_status = 0; } |
| 14321 |
+ |
|
| 14322 |
+ |
fi |
| 14323 |
+ |
|
| 14324 |
+ |
else |
| 14325 |
+ |
: |
| 14326 |
+ |
fi |
| 14327 |
+ |
|
| 14328 |
+ |
done |
| 14329 |
+ |
|
| 14330 |
+ |
|
| 14331 |
+ |
|
| 14332 |
+ |
|
| 14333 |
+ |
|
| 14334 |
+ |
for flag in -Wwrite-strings; do |
| 14335 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14336 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14337 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14338 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 14339 |
+ |
$as_echo_n "(cached) " >&6 |
| 14340 |
+ |
else |
| 14341 |
+ |
|
| 14342 |
+ |
ax_check_save_flags=$CFLAGS |
| 14343 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14344 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14345 |
+ |
/* end confdefs.h. */ |
| 14346 |
+ |
|
| 14347 |
+ |
int |
| 14348 |
+ |
main () |
| 14349 |
+ |
{ |
| 14350 |
+ |
|
| 14351 |
+ |
; |
| 14352 |
+ |
return 0; |
| 14353 |
+ |
} |
| 14354 |
+ |
_ACEOF |
| 14355 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14356 |
+ |
eval "$as_CACHEVAR=yes" |
| 14357 |
+ |
else |
| 14358 |
+ |
eval "$as_CACHEVAR=no" |
| 14359 |
+ |
fi |
| 14360 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14361 |
+ |
CFLAGS=$ax_check_save_flags |
| 14362 |
+ |
fi |
| 14363 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14364 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14365 |
+ |
$as_echo "$ac_res" >&6; } |
| 14366 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14367 |
+ |
|
| 14368 |
+ |
if ${CFLAGS+:} false; then : |
| 14369 |
+ |
|
| 14370 |
+ |
case " $CFLAGS " in #( |
| 14371 |
+ |
*" $flag "*) : |
| 14372 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14373 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14374 |
+ |
ac_status=$? |
| 14375 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14376 |
+ |
test $ac_status = 0; } ;; #( |
| 14377 |
+ |
*) : |
| 14378 |
+ |
|
| 14379 |
+ |
as_fn_append CFLAGS " $flag" |
| 14380 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14381 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14382 |
+ |
ac_status=$? |
| 14383 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14384 |
+ |
test $ac_status = 0; } |
| 14385 |
+ |
;; |
| 14386 |
+ |
esac |
| 14387 |
+ |
|
| 14388 |
+ |
else |
| 14389 |
+ |
|
| 14390 |
+ |
CFLAGS=$flag |
| 14391 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14392 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14393 |
+ |
ac_status=$? |
| 14394 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14395 |
+ |
test $ac_status = 0; } |
| 14396 |
+ |
|
| 14397 |
+ |
fi |
| 14398 |
+ |
|
| 14399 |
+ |
else |
| 14400 |
+ |
: |
| 14401 |
+ |
fi |
| 14402 |
+ |
|
| 14403 |
+ |
done |
| 14404 |
+ |
|
| 14405 |
+ |
|
| 14406 |
+ |
fi |
| 14407 |
+ |
|
| 14408 |
|
|
| 14409 |
< |
for ac_func in strlcpy strlcat socket |
| 14409 |
> |
for ac_func in strlcpy strlcat |
| 14410 |
|
do : |
| 14411 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14412 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 14644 |
|
esac |
| 14645 |
|
|
| 14646 |
|
|
| 14647 |
< |
|
| 12794 |
< |
|
| 12795 |
< |
|
| 12796 |
< |
subdirs="$subdirs src/libopm" |
| 12797 |
< |
|
| 12798 |
< |
|
| 12799 |
< |
ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile" |
| 14647 |
> |
ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile" |
| 14648 |
|
|
| 14649 |
|
cat >confcache <<\_ACEOF |
| 14650 |
|
# This file is a shell script that caches the results of configure |
| 15181 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 15182 |
|
# values after options handling. |
| 15183 |
|
ac_log=" |
| 15184 |
< |
This file was extended by hopm $as_me 1.0.0beta1, which was |
| 15184 |
> |
This file was extended by hopm $as_me 1.0.8, which was |
| 15185 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 15186 |
|
|
| 15187 |
|
CONFIG_FILES = $CONFIG_FILES |
| 15241 |
|
Configuration commands: |
| 15242 |
|
$config_commands |
| 15243 |
|
|
| 15244 |
< |
Report bugs to the package provider." |
| 15244 |
> |
Report bugs to <bugs@ircd-hybrid.org>." |
| 15245 |
|
|
| 15246 |
|
_ACEOF |
| 15247 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15248 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 15249 |
|
ac_cs_version="\\ |
| 15250 |
< |
hopm config.status 1.0.0beta1 |
| 15250 |
> |
hopm config.status 1.0.8 |
| 15251 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 15252 |
|
with options \\"\$ac_cs_config\\" |
| 15253 |
|
|
| 15503 |
|
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
| 15504 |
|
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
| 15505 |
|
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
| 15506 |
< |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
| 15506 |
> |
configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' |
| 15507 |
> |
configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' |
| 15508 |
|
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
| 15509 |
|
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
| 15510 |
|
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
| 15622 |
|
postuninstall_cmds \ |
| 15623 |
|
finish_cmds \ |
| 15624 |
|
sys_lib_search_path_spec \ |
| 15625 |
< |
sys_lib_dlsearch_path_spec; do |
| 15625 |
> |
configure_time_dlsearch_path \ |
| 15626 |
> |
configure_time_lt_sys_library_path; do |
| 15627 |
|
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 15628 |
|
*[\\\\\\\`\\"\\\$]*) |
| 15629 |
|
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 15665 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 15666 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 15667 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 15668 |
+ |
"src/libopm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/Makefile" ;; |
| 15669 |
+ |
"src/libopm/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/src/Makefile" ;; |
| 15670 |
|
|
| 15671 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 15672 |
|
esac |
| 16402 |
|
# The names of the tagged configurations supported by this script. |
| 16403 |
|
available_tags='' |
| 16404 |
|
|
| 16405 |
+ |
# Configured defaults for sys_lib_dlsearch_path munging. |
| 16406 |
+ |
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
| 16407 |
+ |
|
| 16408 |
|
# ### BEGIN LIBTOOL CONFIG |
| 16409 |
|
|
| 16410 |
|
# Which release of libtool.m4 was used? |
| 16654 |
|
# Compile-time system search path for libraries. |
| 16655 |
|
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
| 16656 |
|
|
| 16657 |
< |
# Run-time system search path for libraries. |
| 16658 |
< |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
| 16657 |
> |
# Detected run-time system search path for libraries. |
| 16658 |
> |
sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path |
| 16659 |
> |
|
| 16660 |
> |
# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. |
| 16661 |
> |
configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path |
| 16662 |
|
|
| 16663 |
|
# Whether dlopen is supported. |
| 16664 |
|
dlopen_support=$enable_dlopen |
| 16809 |
|
|
| 16810 |
|
_LT_EOF |
| 16811 |
|
|
| 16812 |
+ |
cat <<'_LT_EOF' >> "$cfgfile" |
| 16813 |
+ |
|
| 16814 |
+ |
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
| 16815 |
+ |
|
| 16816 |
+ |
# func_munge_path_list VARIABLE PATH |
| 16817 |
+ |
# ----------------------------------- |
| 16818 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
| 16819 |
+ |
# directories to be munged by the contents of PATH, which is string |
| 16820 |
+ |
# having a format: |
| 16821 |
+ |
# "DIR[:DIR]:" |
| 16822 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 16823 |
+ |
# ":DIR[:DIR]" |
| 16824 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 16825 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 16826 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 16827 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 16828 |
+ |
# "DIR[:DIR]" |
| 16829 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 16830 |
+ |
func_munge_path_list () |
| 16831 |
+ |
{ |
| 16832 |
+ |
case x$2 in |
| 16833 |
+ |
x) |
| 16834 |
+ |
;; |
| 16835 |
+ |
*:) |
| 16836 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 16837 |
+ |
;; |
| 16838 |
+ |
x:*) |
| 16839 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 16840 |
+ |
;; |
| 16841 |
+ |
*::*) |
| 16842 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 16843 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 16844 |
+ |
;; |
| 16845 |
+ |
*) |
| 16846 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 16847 |
+ |
;; |
| 16848 |
+ |
esac |
| 16849 |
+ |
} |
| 16850 |
+ |
|
| 16851 |
+ |
|
| 16852 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 16853 |
+ |
func_cc_basename () |
| 16854 |
+ |
{ |
| 16855 |
+ |
for cc_temp in $*""; do |
| 16856 |
+ |
case $cc_temp in |
| 16857 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 16858 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 16859 |
+ |
\-*) ;; |
| 16860 |
+ |
*) break;; |
| 16861 |
+ |
esac |
| 16862 |
+ |
done |
| 16863 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 16864 |
+ |
} |
| 16865 |
+ |
|
| 16866 |
+ |
|
| 16867 |
+ |
# ### END FUNCTIONS SHARED WITH CONFIGURE |
| 16868 |
+ |
|
| 16869 |
+ |
_LT_EOF |
| 16870 |
+ |
|
| 16871 |
|
case $host_os in |
| 16872 |
|
aix3*) |
| 16873 |
|
cat <<\_LT_EOF >> "$cfgfile" |
| 16931 |
|
# would make configure fail if this is the last instruction. |
| 16932 |
|
$ac_cs_success || as_fn_exit 1 |
| 16933 |
|
fi |
| 15017 |
– |
|
| 15018 |
– |
# |
| 15019 |
– |
# CONFIG_SUBDIRS section. |
| 15020 |
– |
# |
| 15021 |
– |
if test "$no_recursion" != yes; then |
| 15022 |
– |
|
| 15023 |
– |
# Remove --cache-file, --srcdir, and --disable-option-checking arguments |
| 15024 |
– |
# so they do not pile up. |
| 15025 |
– |
ac_sub_configure_args= |
| 15026 |
– |
ac_prev= |
| 15027 |
– |
eval "set x $ac_configure_args" |
| 15028 |
– |
shift |
| 15029 |
– |
for ac_arg |
| 15030 |
– |
do |
| 15031 |
– |
if test -n "$ac_prev"; then |
| 15032 |
– |
ac_prev= |
| 15033 |
– |
continue |
| 15034 |
– |
fi |
| 15035 |
– |
case $ac_arg in |
| 15036 |
– |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 15037 |
– |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 15038 |
– |
ac_prev=cache_file ;; |
| 15039 |
– |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 15040 |
– |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
| 15041 |
– |
| --c=*) |
| 15042 |
– |
;; |
| 15043 |
– |
--config-cache | -C) |
| 15044 |
– |
;; |
| 15045 |
– |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 15046 |
– |
ac_prev=srcdir ;; |
| 15047 |
– |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 15048 |
– |
;; |
| 15049 |
– |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 15050 |
– |
ac_prev=prefix ;; |
| 15051 |
– |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 15052 |
– |
;; |
| 15053 |
– |
--disable-option-checking) |
| 15054 |
– |
;; |
| 15055 |
– |
*) |
| 15056 |
– |
case $ac_arg in |
| 15057 |
– |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 15058 |
– |
esac |
| 15059 |
– |
as_fn_append ac_sub_configure_args " '$ac_arg'" ;; |
| 15060 |
– |
esac |
| 15061 |
– |
done |
| 15062 |
– |
|
| 15063 |
– |
# Always prepend --prefix to ensure using the same prefix |
| 15064 |
– |
# in subdir configurations. |
| 15065 |
– |
ac_arg="--prefix=$prefix" |
| 15066 |
– |
case $ac_arg in |
| 15067 |
– |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 15068 |
– |
esac |
| 15069 |
– |
ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
| 15070 |
– |
|
| 15071 |
– |
# Pass --silent |
| 15072 |
– |
if test "$silent" = yes; then |
| 15073 |
– |
ac_sub_configure_args="--silent $ac_sub_configure_args" |
| 15074 |
– |
fi |
| 15075 |
– |
|
| 15076 |
– |
# Always prepend --disable-option-checking to silence warnings, since |
| 15077 |
– |
# different subdirs can have different --enable and --with options. |
| 15078 |
– |
ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" |
| 15079 |
– |
|
| 15080 |
– |
ac_popdir=`pwd` |
| 15081 |
– |
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
| 15082 |
– |
|
| 15083 |
– |
# Do not complain, so a configure script can configure whichever |
| 15084 |
– |
# parts of a large source tree are present. |
| 15085 |
– |
test -d "$srcdir/$ac_dir" || continue |
| 15086 |
– |
|
| 15087 |
– |
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
| 15088 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 |
| 15089 |
– |
$as_echo "$ac_msg" >&6 |
| 15090 |
– |
as_dir="$ac_dir"; as_fn_mkdir_p |
| 15091 |
– |
ac_builddir=. |
| 15092 |
– |
|
| 15093 |
– |
case "$ac_dir" in |
| 15094 |
– |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 15095 |
– |
*) |
| 15096 |
– |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 15097 |
– |
# A ".." for each directory in $ac_dir_suffix. |
| 15098 |
– |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 15099 |
– |
case $ac_top_builddir_sub in |
| 15100 |
– |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 15101 |
– |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 15102 |
– |
esac ;; |
| 15103 |
– |
esac |
| 15104 |
– |
ac_abs_top_builddir=$ac_pwd |
| 15105 |
– |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 15106 |
– |
# for backward compatibility: |
| 15107 |
– |
ac_top_builddir=$ac_top_build_prefix |
| 15108 |
– |
|
| 15109 |
– |
case $srcdir in |
| 15110 |
– |
.) # We are building in place. |
| 15111 |
– |
ac_srcdir=. |
| 15112 |
– |
ac_top_srcdir=$ac_top_builddir_sub |
| 15113 |
– |
ac_abs_top_srcdir=$ac_pwd ;; |
| 15114 |
– |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 15115 |
– |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 15116 |
– |
ac_top_srcdir=$srcdir |
| 15117 |
– |
ac_abs_top_srcdir=$srcdir ;; |
| 15118 |
– |
*) # Relative name. |
| 15119 |
– |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 15120 |
– |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 15121 |
– |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 15122 |
– |
esac |
| 15123 |
– |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 15124 |
– |
|
| 15125 |
– |
|
| 15126 |
– |
cd "$ac_dir" |
| 15127 |
– |
|
| 15128 |
– |
# Check for guested configure; otherwise get Cygnus style configure. |
| 15129 |
– |
if test -f "$ac_srcdir/configure.gnu"; then |
| 15130 |
– |
ac_sub_configure=$ac_srcdir/configure.gnu |
| 15131 |
– |
elif test -f "$ac_srcdir/configure"; then |
| 15132 |
– |
ac_sub_configure=$ac_srcdir/configure |
| 15133 |
– |
elif test -f "$ac_srcdir/configure.in"; then |
| 15134 |
– |
# This should be Cygnus configure. |
| 15135 |
– |
ac_sub_configure=$ac_aux_dir/configure |
| 15136 |
– |
else |
| 15137 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 |
| 15138 |
– |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
| 15139 |
– |
ac_sub_configure= |
| 15140 |
– |
fi |
| 15141 |
– |
|
| 15142 |
– |
# The recursion is here. |
| 15143 |
– |
if test -n "$ac_sub_configure"; then |
| 15144 |
– |
# Make the cache file name correct relative to the subdirectory. |
| 15145 |
– |
case $cache_file in |
| 15146 |
– |
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
| 15147 |
– |
*) # Relative name. |
| 15148 |
– |
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
| 15149 |
– |
esac |
| 15150 |
– |
|
| 15151 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
| 15152 |
– |
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
| 15153 |
– |
# The eval makes quoting arguments work. |
| 15154 |
– |
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
| 15155 |
– |
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
| 15156 |
– |
as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 |
| 15157 |
– |
fi |
| 15158 |
– |
|
| 15159 |
– |
cd "$ac_popdir" |
| 15160 |
– |
done |
| 15161 |
– |
fi |
| 16934 |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 16935 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 16936 |
|
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |