configure
上传用户:qaz666999
上传日期:2022-08-06
资源大小:2570k
文件大小:938k
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: $? = $ac_status" >&5
- test $ac_status = 0; }; then
- if test "$tmp_underscore" = "_"; then
- gmp_cv_asm_x86_got_underscore=yes
- else
- gmp_cv_asm_x86_got_underscore=no
- fi
- break
- fi
- done
- rm -f conftest* a.out b.out a.exe a_out.exe
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gmp_cv_asm_x86_got_underscore" >&5
- $as_echo "$gmp_cv_asm_x86_got_underscore" >&6; }
- if test "$gmp_cv_asm_x86_got_underscore" = "yes"; then
- echo 'define(<GOT_GSYM_PREFIX>, <_>)' >>$gmp_tmpconfigm4
- else
- echo 'define(<GOT_GSYM_PREFIX>, <>)' >>$gmp_tmpconfigm4
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler takes cl with shldl" >&5
- $as_echo_n "checking if the assembler takes cl with shldl... " >&6; }
- if test "${gmp_cv_asm_x86_shldl_cl+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- cat >conftest.s <<EOF
- $gmp_cv_asm_text
- shldl %cl, %eax, %ebx
- EOF
- gmp_assemble="$CCAS $CFLAGS $CPPFLAGS conftest.s >conftest.out 2>&1"
- if { { eval echo ""$as_me":${as_lineno-$LINENO}: "$gmp_assemble""; } >&5
- (eval $gmp_assemble) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: $? = $ac_status" >&5
- test $ac_status = 0; }; then
- cat conftest.out >&5
- gmp_cv_asm_x86_shldl_cl=yes
- else
- cat conftest.out >&5
- echo "configure: failed program was:" >&5
- cat conftest.s >&5
- gmp_cv_asm_x86_shldl_cl=no
- fi
- rm -f conftest*
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gmp_cv_asm_x86_shldl_cl" >&5
- $as_echo "$gmp_cv_asm_x86_shldl_cl" >&6; }
- if test "$gmp_cv_asm_x86_shldl_cl" = "yes"; then
- echo 'define(<WANT_SHLDL_CL>, <1>)' >>$gmp_tmpconfigm4
- else
- echo 'define(<WANT_SHLDL_CL>, <0>)' >>$gmp_tmpconfigm4
- fi
- case $enable_profiling in
- prof | gprof) # Check whether --enable-shared was given.
- if test "${enable_shared+set}" = set; then :
- enableval=$enable_shared; p=${PACKAGE-default}
- case $enableval in
- yes) enable_shared=yes ;;
- no) enable_shared=no ;;
- *)
- enable_shared=no
- # Look at the argument we got. We use all the common list separators.
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
- for pkg in $enableval; do
- IFS="$lt_save_ifs"
- if test "X$pkg" = "X$p"; then
- enable_shared=yes
- fi
- done
- IFS="$lt_save_ifs"
- ;;
- esac
- else
- enable_shared=yes
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to call x86 mcount" >&5
- $as_echo_n "checking how to call x86 mcount... " >&6; }
- cat >conftest.c <<EOF
- foo(){bar();}
- EOF
- if test "$enable_static" = yes; then
- gmp_asmout_compile="$CC $CFLAGS $CPPFLAGS -S conftest.c 1>&5"
- if { { eval echo ""$as_me":${as_lineno-$LINENO}: "$gmp_asmout_compile""; } >&5
- (eval $gmp_asmout_compile) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: $? = $ac_status" >&5
- test $ac_status = 0; }; then
- if grep '.data' conftest.s >/dev/null; then
- mcount_nonpic_reg=`sed -n '/esp/!s/.*movl.*,(%[a-z]*).*$/1/p' conftest.s`
- else
- mcount_nonpic_reg=
- fi
- mcount_nonpic_call=`grep 'call.*mcount' conftest.s`
- if test -z "$mcount_nonpic_call"; then
- as_fn_error "Cannot find mcount call for non-PIC" "$LINENO" 5
- fi
- else
- as_fn_error "Cannot compile test program for non-PIC" "$LINENO" 5
- fi
- fi
- if test "$enable_shared" = yes; then
- gmp_asmout_compile="$CC $CFLAGS $CPPFLAGS $lt_prog_compiler_pic -S conftest.c 1>&5"
- if { { eval echo ""$as_me":${as_lineno-$LINENO}: "$gmp_asmout_compile""; } >&5
- (eval $gmp_asmout_compile) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: $? = $ac_status" >&5
- test $ac_status = 0; }; then
- if grep '.data' conftest.s >/dev/null; then
- case $lt_prog_compiler_pic in
- *-DDLL_EXPORT*)
- # Windows DLLs have non-PIC style mcount
- mcount_pic_reg=`sed -n '/esp/!s/.*movl.*,(%[a-z]*).*$/1/p' conftest.s`
- ;;
- *)
- mcount_pic_reg=`sed -n 's/.*GOTOFF.*,(%[a-z]*).*$/1/p' conftest.s`
- ;;
- esac
- else
- mcount_pic_reg=
- fi
- mcount_pic_call=`grep 'call.*mcount' conftest.s`
- if test -z "$mcount_pic_call"; then
- as_fn_error "Cannot find mcount call for PIC" "$LINENO" 5
- fi
- else
- as_fn_error "Cannot compile test program for PIC" "$LINENO" 5
- fi
- fi
- echo "define(<MCOUNT_NONPIC_REG>, <`$mcount_nonpic_reg'>)" >> $gmp_tmpconfigm4
- echo "define(<MCOUNT_NONPIC_CALL>,<`$mcount_nonpic_call'>)" >> $gmp_tmpconfigm4
- echo "define(<MCOUNT_PIC_REG>, <`$mcount_pic_reg'>)" >> $gmp_tmpconfigm4
- echo "define(<MCOUNT_PIC_CALL>, <`$mcount_pic_call'>)" >> $gmp_tmpconfigm4
- rm -f conftest.*
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: determined" >&5
- $as_echo "determined" >&6; }
- ;;
- esac
- case $host in
- *-*-darwin*)
- echo "include_mpn(`x86/darwin.m4')" >> $gmp_tmpconfigm4i
- ;;
- esac
- ;;
- 64)
- echo "include_mpn(`x86_64/x86_64-defs.m4')" >> $gmp_tmpconfigm4i
- $as_echo "#define HAVE_HOST_CPU_FAMILY_x86_64 1" >>confdefs.h
- case $host in
- *-*-darwin*)
- echo "include_mpn(`x86_64/darwin.m4')" >> $gmp_tmpconfigm4i
- ;;
- esac
- ;;
- esac
- ;;
- esac
- fi
- # For --enable-minithres, prepend "minithres" to path so that its special
- # gmp-mparam.h will be used.
- if test $enable_minithres = yes; then
- path="minithres $path"
- fi
- # Create link for gmp-mparam.h.
- gmp_mparam_source=
- for gmp_mparam_dir in $path; do
- test "$no_create" = yes || rm -f gmp-mparam.h
- tmp_file=$srcdir/mpn/$gmp_mparam_dir/gmp-mparam.h
- if test -f $tmp_file; then
- ac_config_links="$ac_config_links gmp-mparam.h:mpn/$gmp_mparam_dir/gmp-mparam.h"
- gmp_srclinks="$gmp_srclinks gmp-mparam.h"
- gmp_mparam_source=$tmp_file
- break
- fi
- done
- if test -z "$gmp_mparam_source"; then
- as_fn_error "no version of gmp-mparam.h found in path: $path" "$LINENO" 5
- fi
- # For a helpful message from tune/tuneup.c
- gmp_mparam_suggest=$gmp_mparam_source
- if test "$gmp_mparam_dir" = generic; then
- for i in $path; do break; done
- if test "$i" != generic; then
- gmp_mparam_suggest="new file $srcdir/mpn/$i/gmp-mparam.h"
- fi
- fi
- cat >>confdefs.h <<_ACEOF
- #define GMP_MPARAM_H_SUGGEST "$gmp_mparam_source"
- _ACEOF
- # Copy any SQR_TOOM2_THRESHOLD from gmp-mparam.h to config.m4.
- # Some versions of sqr_basecase.asm use this.
- # Fat binaries do this on a per-file basis, so skip in that case.
- #
- if test -z "$fat_path"; then
- tmp_gmp_karatsuba_sqr_threshold=`sed -n 's/^#define SQR_TOOM2_THRESHOLD[ ]*([0-9][0-9]*).*$/1/p' $gmp_mparam_source`
- if test -n "$tmp_gmp_karatsuba_sqr_threshold"; then
- echo "define(<SQR_TOOM2_THRESHOLD>,<$tmp_gmp_karatsuba_sqr_threshold>)" >> $gmp_tmpconfigm4
- fi
- fi
- # Sizes of some types, needed at preprocessing time.
- #
- # FIXME: The assumption that GMP_LIMB_BITS is 8*sizeof(mp_limb_t) might
- # be slightly rash, but it's true everywhere we know of and ought to be true
- # of any sensible system. In a generic C build, grepping LONG_BIT out of
- # <limits.h> might be an alternative, for maximum portability.
- #
- # The cast to long int works around a bug in the HP C Compiler
- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
- # This bug is HP SR number 8606223364.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
- $as_echo_n "checking size of void *... " >&6; }
- if test "${ac_cv_sizeof_void_p+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
- else
- if test "$ac_cv_type_void_p" = yes; then
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in `$ac_pwd':" >&5
- $as_echo "$as_me: error: in `$ac_pwd':" >&2;}
- { as_fn_set_status 77
- as_fn_error "cannot compute sizeof (void *)
- See `config.log' for more details." "$LINENO" 5; }; }
- else
- ac_cv_sizeof_void_p=0
- fi
- fi
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
- $as_echo "$ac_cv_sizeof_void_p" >&6; }
- cat >>confdefs.h <<_ACEOF
- #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
- _ACEOF
- # The cast to long int works around a bug in the HP C Compiler
- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
- # This bug is HP SR number 8606223364.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
- $as_echo_n "checking size of unsigned short... " >&6; }
- if test "${ac_cv_sizeof_unsigned_short+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
- else
- if test "$ac_cv_type_unsigned_short" = yes; then
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in `$ac_pwd':" >&5
- $as_echo "$as_me: error: in `$ac_pwd':" >&2;}
- { as_fn_set_status 77
- as_fn_error "cannot compute sizeof (unsigned short)
- See `config.log' for more details." "$LINENO" 5; }; }
- else
- ac_cv_sizeof_unsigned_short=0
- fi
- fi
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
- $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
- cat >>confdefs.h <<_ACEOF
- #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
- _ACEOF
- # The cast to long int works around a bug in the HP C Compiler
- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
- # This bug is HP SR number 8606223364.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned" >&5
- $as_echo_n "checking size of unsigned... " >&6; }
- if test "${ac_cv_sizeof_unsigned+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned))" "ac_cv_sizeof_unsigned" "$ac_includes_default"; then :
- else
- if test "$ac_cv_type_unsigned" = yes; then
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in `$ac_pwd':" >&5
- $as_echo "$as_me: error: in `$ac_pwd':" >&2;}
- { as_fn_set_status 77
- as_fn_error "cannot compute sizeof (unsigned)
- See `config.log' for more details." "$LINENO" 5; }; }
- else
- ac_cv_sizeof_unsigned=0
- fi
- fi
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned" >&5
- $as_echo "$ac_cv_sizeof_unsigned" >&6; }
- cat >>confdefs.h <<_ACEOF
- #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
- _ACEOF
- # The cast to long int works around a bug in the HP C Compiler
- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
- # This bug is HP SR number 8606223364.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
- $as_echo_n "checking size of unsigned long... " >&6; }
- if test "${ac_cv_sizeof_unsigned_long+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
- else
- if test "$ac_cv_type_unsigned_long" = yes; then
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in `$ac_pwd':" >&5
- $as_echo "$as_me: error: in `$ac_pwd':" >&2;}
- { as_fn_set_status 77
- as_fn_error "cannot compute sizeof (unsigned long)
- See `config.log' for more details." "$LINENO" 5; }; }
- else
- ac_cv_sizeof_unsigned_long=0
- fi
- fi
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
- $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
- cat >>confdefs.h <<_ACEOF
- #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
- _ACEOF
- # The cast to long int works around a bug in the HP C Compiler
- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
- # This bug is HP SR number 8606223364.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of mp_limb_t" >&5
- $as_echo_n "checking size of mp_limb_t... " >&6; }
- if test "${ac_cv_sizeof_mp_limb_t+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (mp_limb_t))" "ac_cv_sizeof_mp_limb_t" "#define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */
- #define GMP_NAIL_BITS $GMP_NAIL_BITS
- #define GMP_LIMB_BITS 123
- $DEFN_LONG_LONG_LIMB
- #include "$srcdir/gmp-h.in"
- "; then :
- else
- if test "$ac_cv_type_mp_limb_t" = yes; then
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in `$ac_pwd':" >&5
- $as_echo "$as_me: error: in `$ac_pwd':" >&2;}
- { as_fn_set_status 77
- as_fn_error "cannot compute sizeof (mp_limb_t)
- See `config.log' for more details." "$LINENO" 5; }; }
- else
- ac_cv_sizeof_mp_limb_t=0
- fi
- fi
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_mp_limb_t" >&5
- $as_echo "$ac_cv_sizeof_mp_limb_t" >&6; }
- cat >>confdefs.h <<_ACEOF
- #define SIZEOF_MP_LIMB_T $ac_cv_sizeof_mp_limb_t
- _ACEOF
- if test "$ac_cv_sizeof_mp_limb_t" = 0; then
- as_fn_error "Oops, mp_limb_t doesn't seem to work" "$LINENO" 5
- fi
- GMP_LIMB_BITS=`expr 8 * $ac_cv_sizeof_mp_limb_t`
- echo "define(<SIZEOF_UNSIGNED>,<$ac_cv_sizeof_unsigned>)" >> $gmp_tmpconfigm4
- # Check compiler limb size matches gmp-mparam.h
- #
- # FIXME: Some of the cycle counter objects in the tune directory depend on
- # the size of ulong, it'd be possible to check that here, though a mismatch
- # probably wouldn't want to be fatal, none of the libgmp assembler code
- # depends on ulong.
- #
- mparam_bits=`sed -n 's/^#define GMP_LIMB_BITS[ ][ ]*([0-9]*).*$/1/p' $gmp_mparam_source`
- if test -n "$mparam_bits" && test "$mparam_bits" -ne $GMP_LIMB_BITS; then
- if test "$test_CFLAGS" = set; then
- as_fn_error "Oops, mp_limb_t is $GMP_LIMB_BITS bits, but the assembler code
- in this configuration expects $mparam_bits bits.
- You appear to have set $CFLAGS, perhaps you also need to tell GMP the
- intended ABI, see "ABI and ISA" in the manual." "$LINENO" 5
- else
- as_fn_error "Oops, mp_limb_t is $GMP_LIMB_BITS bits, but the assembler code
- in this configuration expects $mparam_bits bits." "$LINENO" 5
- fi
- fi
- echo "define(<GMP_LIMB_BITS>,$GMP_LIMB_BITS)" >> $gmp_tmpconfigm4
- echo "define(<GMP_NAIL_BITS>,$GMP_NAIL_BITS)" >> $gmp_tmpconfigm4
- echo "define(<GMP_NUMB_BITS>,eval(GMP_LIMB_BITS-GMP_NAIL_BITS))" >> $gmp_tmpconfigm4
- # Exclude the mpn random functions from mpbsd since that would drag in the
- # top-level rand things, all of which are unnecessary for libmp. There's
- # other unnecessary objects too actually, if we could be bothered figuring
- # out exactly which they are.
- #
- mpn_objs_in_libmp=
- for i in $mpn_objs_in_libgmp; do
- case $i in
- *random*) ;;
- *) mpn_objs_in_libmp="$mpn_objs_in_libmp $i" ;;
- esac
- done
- # A recompiled sqr_basecase for use in the tune program, if necessary.
- TUNE_SQR_OBJ=
- test -d tune || mkdir tune
- case $sqr_basecase_source in
- *.asm)
- sqr_max=`sed -n 's/^def...(SQR_TOOM2_THRESHOLD_MAX, *([0-9]*))/1/p' $sqr_basecase_source`
- if test -n "$sqr_max"; then
- TUNE_SQR_OBJ=sqr_asm.o
- cat >>confdefs.h <<_ACEOF
- #define TUNE_SQR_TOOM2_MAX $sqr_max
- _ACEOF
- fi
- cat >tune/sqr_basecase.c <<EOF
- /* not sure that an empty file can compile, so put in a dummy */
- int sqr_basecase_dummy;
- EOF
- ;;
- *.c)
- TUNE_SQR_OBJ=
- $as_echo "#define TUNE_SQR_TOOM2_MAX SQR_TOOM2_MAX_GENERIC" >>confdefs.h
- cat >tune/sqr_basecase.c <<EOF
- #define TUNE_PROGRAM_BUILD 1
- #define TUNE_PROGRAM_BUILD_SQR 1
- #include "mpn/sqr_basecase.c"
- EOF
- ;;
- esac
- # Configs for demos/pexpr.c.
- #
- ac_config_files="$ac_config_files demos/pexpr-config.h:demos/pexpr-config-h.in"
- case $ac_cv_func_clock in
- yes) HAVE_CLOCK_01=1
- ;;
- no) HAVE_CLOCK_01=0 ;;
- esac
- case $ac_cv_func_cputime in
- yes) HAVE_CPUTIME_01=1
- ;;
- no) HAVE_CPUTIME_01=0 ;;
- esac
- case $ac_cv_func_getrusage in
- yes) HAVE_GETRUSAGE_01=1
- ;;
- no) HAVE_GETRUSAGE_01=0 ;;
- esac
- case $ac_cv_func_gettimeofday in
- yes) HAVE_GETTIMEOFDAY_01=1
- ;;
- no) HAVE_GETTIMEOFDAY_01=0 ;;
- esac
- case $ac_cv_func_sigaction in
- yes) HAVE_SIGACTION_01=1
- ;;
- no) HAVE_SIGACTION_01=0 ;;
- esac
- case $ac_cv_func_sigaltstack in
- yes) HAVE_SIGALTSTACK_01=1
- ;;
- no) HAVE_SIGALTSTACK_01=0 ;;
- esac
- case $ac_cv_func_sigstack in
- yes) HAVE_SIGSTACK_01=1
- ;;
- no) HAVE_SIGSTACK_01=0 ;;
- esac
- case $ac_cv_header_sys_resource_h in
- yes) HAVE_SYS_RESOURCE_H_01=1
- ;;
- no) HAVE_SYS_RESOURCE_H_01=0 ;;
- esac
- ac_fn_c_check_type "$LINENO" "stack_t" "ac_cv_type_stack_t" "#include <signal.h>
- "
- if test "x$ac_cv_type_stack_t" = x""yes; then :
- cat >>confdefs.h <<_ACEOF
- #define HAVE_STACK_T 1
- _ACEOF
- HAVE_STACK_T_01=1
- else
- HAVE_STACK_T_01=0
- fi
- # Configs for demos/calc directory
- #
- # AC_SUBST+AC_CONFIG_FILES is used for calc-config.h, rather than AC_DEFINE+
- # AC_CONFIG_HEADERS, since with the latter automake (1.8) will then put the
- # directory (ie. demos/calc) into $(DEFAULT_INCLUDES) for every Makefile.in,
- # which would look very strange.
- #
- # -lcurses is required by libreadline. On a typical SVR4 style system this
- # normally doesn't have to be given explicitly, since libreadline.so will
- # have a NEEDED record for it. But if someone for some reason is using only
- # a static libreadline.a then we must give -lcurses. Readline (as of
- # version 4.3) doesn't use libtool, so we can't rely on a .la to cover
- # necessary dependencies.
- #
- # On a couple of systems we've seen libreadline available, but the headers
- # not in the default include path, so check for readline/readline.h. We've
- # also seen readline/history.h missing, not sure if that's just a broken
- # install or a very old version, but check that too.
- #
- ac_config_files="$ac_config_files demos/calc/calc-config.h:demos/calc/calc-config-h.in"
- LIBCURSES=
- if test $with_readline != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -lncurses" >&5
- $as_echo_n "checking for tputs in -lncurses... " >&6; }
- if test "${ac_cv_lib_ncurses_tputs+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- ac_check_lib_save_LIBS=$LIBS
- LIBS="-lncurses $LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
- /* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
- #ifdef __cplusplus
- extern "C"
- #endif
- char tputs ();
- int
- main ()
- {
- return tputs ();
- ;
- return 0;
- }
- _ACEOF
- if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_ncurses_tputs=yes
- else
- ac_cv_lib_ncurses_tputs=no
- fi
- rm -f core conftest.err conftest.$ac_objext
- conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tputs" >&5
- $as_echo "$ac_cv_lib_ncurses_tputs" >&6; }
- if test "x$ac_cv_lib_ncurses_tputs" = x""yes; then :
- LIBCURSES=-lncurses
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -lcurses" >&5
- $as_echo_n "checking for tputs in -lcurses... " >&6; }
- if test "${ac_cv_lib_curses_tputs+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- ac_check_lib_save_LIBS=$LIBS
- LIBS="-lcurses $LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
- /* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
- #ifdef __cplusplus
- extern "C"
- #endif
- char tputs ();
- int
- main ()
- {
- return tputs ();
- ;
- return 0;
- }
- _ACEOF
- if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_curses_tputs=yes
- else
- ac_cv_lib_curses_tputs=no
- fi
- rm -f core conftest.err conftest.$ac_objext
- conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_tputs" >&5
- $as_echo "$ac_cv_lib_curses_tputs" >&6; }
- if test "x$ac_cv_lib_curses_tputs" = x""yes; then :
- LIBCURSES=-lcurses
- fi
- fi
- fi
- use_readline=$with_readline
- if test $with_readline = detect; then
- use_readline=no
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
- $as_echo_n "checking for readline in -lreadline... " >&6; }
- if test "${ac_cv_lib_readline_readline+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- ac_check_lib_save_LIBS=$LIBS
- LIBS="-lreadline $LIBCURSES $LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
- /* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
- #ifdef __cplusplus
- extern "C"
- #endif
- char readline ();
- int
- main ()
- {
- return readline ();
- ;
- return 0;
- }
- _ACEOF
- if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_readline_readline=yes
- else
- ac_cv_lib_readline_readline=no
- fi
- rm -f core conftest.err conftest.$ac_objext
- conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
- $as_echo "$ac_cv_lib_readline_readline" >&6; }
- if test "x$ac_cv_lib_readline_readline" = x""yes; then :
- ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
- if test "x$ac_cv_header_readline_readline_h" = x""yes; then :
- ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
- if test "x$ac_cv_header_readline_history_h" = x""yes; then :
- use_readline=yes
- fi
- fi
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking readline detected" >&5
- $as_echo_n "checking readline detected... " >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_readline" >&5
- $as_echo "$use_readline" >&6; }
- fi
- if test $use_readline = yes; then
- WITH_READLINE_01=1
- LIBREADLINE=-lreadline
- else
- WITH_READLINE_01=0
- fi
- for ac_prog in 'bison -y' byacc
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- $as_echo_n "checking for $ac_word... " >&6; }
- if test "${ac_cv_prog_YACC+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- if test -n "$YACC"; then
- ac_cv_prog_YACC="$YACC" # Let the user override the test.
- else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_YACC="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- done
- IFS=$as_save_IFS
- fi
- fi
- YACC=$ac_cv_prog_YACC
- if test -n "$YACC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
- $as_echo "$YACC" >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- $as_echo "no" >&6; }
- fi
- test -n "$YACC" && break
- done
- test -n "$YACC" || YACC="yacc"
- for ac_prog in flex lex
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- $as_echo_n "checking for $ac_word... " >&6; }
- if test "${ac_cv_prog_LEX+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- if test -n "$LEX"; then
- ac_cv_prog_LEX="$LEX" # Let the user override the test.
- else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_LEX="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- done
- IFS=$as_save_IFS
- fi
- fi
- LEX=$ac_cv_prog_LEX
- if test -n "$LEX"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
- $as_echo "$LEX" >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- $as_echo "no" >&6; }
- fi
- test -n "$LEX" && break
- done
- test -n "$LEX" || LEX=":"
- if test "x$LEX" != "x:"; then
- cat >conftest.l <<_ACEOF
- %%
- a { ECHO; }
- b { REJECT; }
- c { yymore (); }
- d { yyless (1); }
- e { yyless (input () != 0); }
- f { unput (yytext[0]); }
- . { BEGIN INITIAL; }
- %%
- #ifdef YYTEXT_POINTER
- extern char *yytext;
- #endif
- int
- main (void)
- {
- return ! yylex () + ! yywrap ();
- }
- _ACEOF
- { { ac_try="$LEX conftest.l"
- case "(($ac_try" in
- *"* | *`* | *\*) ac_try_echo=$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- eval ac_try_echo=""$as_me:${as_lineno-$LINENO}: $ac_try_echo""
- $as_echo "$ac_try_echo"; } >&5
- (eval "$LEX conftest.l") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: $? = $ac_status" >&5
- test $ac_status = 0; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
- $as_echo_n "checking lex output file root... " >&6; }
- if test "${ac_cv_prog_lex_root+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- if test -f lex.yy.c; then
- ac_cv_prog_lex_root=lex.yy
- elif test -f lexyy.c; then
- ac_cv_prog_lex_root=lexyy
- else
- as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
- fi
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
- $as_echo "$ac_cv_prog_lex_root" >&6; }
- LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
- if test -z "${LEXLIB+set}"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
- $as_echo_n "checking lex library... " >&6; }
- if test "${ac_cv_lib_lex+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- ac_save_LIBS=$LIBS
- ac_cv_lib_lex='none needed'
- for ac_lib in '' -lfl -ll; do
- LIBS="$ac_lib $ac_save_LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
- `cat $LEX_OUTPUT_ROOT.c`
- _ACEOF
- if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_lex=$ac_lib
- fi
- rm -f core conftest.err conftest.$ac_objext
- conftest$ac_exeext conftest.$ac_ext
- test "$ac_cv_lib_lex" != 'none needed' && break
- done
- LIBS=$ac_save_LIBS
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
- $as_echo "$ac_cv_lib_lex" >&6; }
- test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
- $as_echo_n "checking whether yytext is a pointer... " >&6; }
- if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- # POSIX says lex can declare yytext either as a pointer or an array; the
- # default is implementation-dependent. Figure out which it is, since
- # not all implementations provide the %pointer and %array declarations.
- ac_cv_prog_lex_yytext_pointer=no
- ac_save_LIBS=$LIBS
- LIBS="$LEXLIB $ac_save_LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
- #define YYTEXT_POINTER 1
- `cat $LEX_OUTPUT_ROOT.c`
- _ACEOF
- if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_prog_lex_yytext_pointer=yes
- fi
- rm -f core conftest.err conftest.$ac_objext
- conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_save_LIBS
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
- $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
- if test $ac_cv_prog_lex_yytext_pointer = yes; then
- $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
- fi
- rm -f conftest.l $LEX_OUTPUT_ROOT.c
- fi
- if test "$LEX" = :; then
- LEX=${am_missing_run}flex
- fi
- # Configs for demos/expr directory
- #
- # Libtool already runs an AC_CHECK_TOOL for ranlib, but we give
- # AC_PROG_RANLIB anyway since automake is supposed to complain if it's not
- # called. (Automake 1.8.4 doesn't, at least not when the only library is in
- # an EXTRA_LIBRARIES.)
- #
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
- set dummy ${ac_tool_prefix}ranlib; ac_word=$2
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- $as_echo_n "checking for $ac_word... " >&6; }
- if test "${ac_cv_prog_RANLIB+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
- else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- done
- IFS=$as_save_IFS
- fi
- fi
- RANLIB=$ac_cv_prog_RANLIB
- if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
- $as_echo "$RANLIB" >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- $as_echo "no" >&6; }
- fi
- fi
- if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
- set dummy ranlib; ac_word=$2
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- $as_echo_n "checking for $ac_word... " >&6; }
- if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
- else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- done
- IFS=$as_save_IFS
- fi
- fi
- ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
- if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
- $as_echo "$ac_ct_RANLIB" >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- $as_echo "no" >&6; }
- fi
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
- yes:)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- ac_tool_warned=yes ;;
- esac
- RANLIB=$ac_ct_RANLIB
- fi
- else
- RANLIB="$ac_cv_prog_RANLIB"
- fi
- # Create config.m4.
- echo "creating $gmp_configm4"
- echo "d""nl $gmp_configm4. Generated automatically by configure." > $gmp_configm4
- if test -f $gmp_tmpconfigm4; then
- echo "changequote(<,>)" >> $gmp_configm4
- echo "ifdef(<__CONFIG_M4_INCLUDED__>,,<" >> $gmp_configm4
- cat $gmp_tmpconfigm4 >> $gmp_configm4
- echo ">)" >> $gmp_configm4
- echo "changequote(`,')" >> $gmp_configm4
- rm $gmp_tmpconfigm4
- fi
- echo "ifdef(`__CONFIG_M4_INCLUDED__',,`" >> $gmp_configm4
- if test -f $gmp_tmpconfigm4i; then
- cat $gmp_tmpconfigm4i >> $gmp_configm4
- rm $gmp_tmpconfigm4i
- fi
- if test -f $gmp_tmpconfigm4p; then
- cat $gmp_tmpconfigm4p >> $gmp_configm4
- rm $gmp_tmpconfigm4p
- fi
- echo "')" >> $gmp_configm4
- echo "define(`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4
- # Create Makefiles
- # FIXME: Upcoming version of autoconf/automake may not like broken lines.
- # Right now automake isn't accepting the new AC_CONFIG_FILES scheme.
- ac_config_files="$ac_config_files Makefile mpbsd/Makefile mpf/Makefile mpn/Makefile mpq/Makefile mpz/Makefile printf/Makefile scanf/Makefile cxx/Makefile tests/Makefile tests/devel/Makefile tests/mpbsd/Makefile tests/mpf/Makefile tests/mpn/Makefile tests/mpq/Makefile tests/mpz/Makefile tests/rand/Makefile tests/misc/Makefile tests/cxx/Makefile doc/Makefile tune/Makefile demos/Makefile demos/calc/Makefile demos/expr/Makefile gmp.h:gmp-h.in mp.h:mp-h.in"
- cat >confcache <<_ACEOF
- # This file is a shell script that caches the results of configure
- # tests run on this system so they can be shared between configure
- # scripts and configure runs, see configure's option --config-cache.
- # It is not useful on other systems. If it contains results you don't
- # want to keep, you may remove or edit it.
- #
- # config.status only pays attention to the cache file if you give it
- # the --recheck option to rerun configure.
- #
- # `ac_cv_env_foo' variables (set or unset) will be overridden when
- # loading this file, other *unset* `ac_cv_foo' will be assigned the
- # following values.
- _ACEOF
- # The following way of writing the cache mishandles newlines in values,
- # but we know of no workaround that is simple, portable, and efficient.
- # So, we kill variables containing newlines.
- # Ultrix sh set writes to stderr and can't be redirected directly,
- # and sets the high bit in the cache file unless we assign to the vars.
- (
- for ac_var in `(set) 2>&1 | sed -n 's/^([a-zA-Z_][a-zA-Z0-9_]*)=.*/1/p'`; do
- eval ac_val=$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
- $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space= *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\ into \, and sed turns \ into .
- sed -n
- "s/'/'\\''/g;
- s/^\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\)=\(.*\)/\1='\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
- ) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^([^=]*)=(.*[{}].*)$/test "${1+set}" = set || &/
- t end
- s/^([^=]*)=(.*)$/1=${1=2}/
- :end' >>confcache
- if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
- $as_echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
- $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
- fi
- rm -f confcache
- test "x$prefix" = xNONE && prefix=$ac_default_prefix
- # Let make expand exec_prefix.
- test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
- DEFS=-DHAVE_CONFIG_H
- ac_libobjs=
- ac_ltlibobjs=
- for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/$U././;s/.o$//;s/.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " ${LIBOBJDIR}$ac_i$U.$ac_objext"
- as_fn_append ac_ltlibobjs " ${LIBOBJDIR}$ac_i"'$U.lo'
- done
- LIBOBJS=$ac_libobjs
- LTLIBOBJS=$ac_ltlibobjs
- if test -n "$EXEEXT"; then
- am__EXEEXT_TRUE=
- am__EXEEXT_FALSE='#'
- else
- am__EXEEXT_TRUE='#'
- am__EXEEXT_FALSE=
- fi
- if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
- as_fn_error "conditional "MAINTAINER_MODE" was never defined.
- Usually this means the macro was only invoked conditionally." "$LINENO" 5
- fi
- if test -z "${WANT_MPBSD_TRUE}" && test -z "${WANT_MPBSD_FALSE}"; then
- as_fn_error "conditional "WANT_MPBSD" was never defined.
- Usually this means the macro was only invoked conditionally." "$LINENO" 5
- fi
- if test -z "${WANT_CXX_TRUE}" && test -z "${WANT_CXX_FALSE}"; then
- as_fn_error "conditional "WANT_CXX" was never defined.
- Usually this means the macro was only invoked conditionally." "$LINENO" 5
- fi
- if test -z "${ENABLE_STATIC_TRUE}" && test -z "${ENABLE_STATIC_FALSE}"; then
- as_fn_error "conditional "ENABLE_STATIC" was never defined.
- Usually this means the macro was only invoked conditionally." "$LINENO" 5
- fi
- : ${CONFIG_STATUS=./config.status}
- ac_write_fail=0
- ac_clean_files_save=$ac_clean_files
- ac_clean_files="$ac_clean_files $CONFIG_STATUS"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
- $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
- as_write_fail=0
- cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
- #! $SHELL
- # Generated by $as_me.
- # Run this file to recreate the current configuration.
- # Compiler output produced by configure, useful for debugging
- # configure, is in config.log if it exists.
- debug=false
- ac_cs_recheck=false
- ac_cs_silent=false
- SHELL=${CONFIG_SHELL-$SHELL}
- export SHELL
- _ASEOF
- cat >>$CONFIG_STATUS <<_ASEOF || as_write_fail=1
- ## -------------------- ##
- ## M4sh Initialization. ##
- ## -------------------- ##
- # Be more Bourne compatible
- DUALCASE=1; export DUALCASE # for MKS sh
- if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
- else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
- esac
- fi
- as_nl='
- '
- export as_nl
- # Printing a long string crashes Solaris 7 /usr/bin/printf.
- as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
- as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
- as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
- # Prefer a ksh shell builtin over an external printf program on Solaris,
- # but without wasting forks for bash or zsh.
- if test -z "$BASH_VERSION$ZSH_VERSION"
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
- elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %sn'
- as_echo_n='printf %s'
- else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\(.*\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\(.*\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\(.*\)"`;;
- esac;
- expr "X$arg" : "X\(.*\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
- fi
- # The user is always right.
- if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
- fi
- # IFS
- # We need space, tab and new line, in precisely that order. Quoting is
- # there to prevent editors from complaining about space-tab.
- # (If _AS_PATH_WALK were called with IFS unset, it would disable word
- # splitting by setting IFS to empty value.)
- IFS=" "" $as_nl"
- # Find who we are. Look in the path if we contain no directory separator.
- case $0 in #((
- *[\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
- IFS=$as_save_IFS
- ;;
- esac
- # We did not find ourselves, most probably we were run as `sh COMMAND'
- # in which case we are not to be found in the path.
- if test "x$as_myself" = x; then
- as_myself=$0
- fi
- if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
- fi
- # Unset variables that we do not need and which cause bugs (e.g. in
- # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
- # suppresses any "Segmentation fault" message there. '((' could
- # trigger a bug in pdksh 5.2.14.
- for as_var in BASH_ENV ENV MAIL MAILPATH
- do eval test x${$as_var+set} = xset
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
- done
- PS1='$ '
- PS2='> '
- PS4='+ '
- # NLS nuisances.
- LC_ALL=C
- export LC_ALL
- LANGUAGE=C
- export LANGUAGE
- # CDPATH.
- (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
- # as_fn_error ERROR [LINENO LOG_FD]
- # ---------------------------------
- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
- # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
- # script with status $?, using 1 if that was 0.
- as_fn_error ()
- {
- as_status=$?; test $as_status -eq 0 && as_status=1
- if test "$3"; then
- as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
- fi
- $as_echo "$as_me: error: $1" >&2
- as_fn_exit $as_status
- } # as_fn_error
- # as_fn_set_status STATUS
- # -----------------------
- # Set $? to STATUS, without forking.
- as_fn_set_status ()
- {
- return $1
- } # as_fn_set_status
- # as_fn_exit STATUS
- # -----------------
- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
- as_fn_exit ()
- {
- set +e
- as_fn_set_status $1
- exit $1
- } # as_fn_exit
- # as_fn_unset VAR
- # ---------------
- # Portably unset VAR.
- as_fn_unset ()
- {
- { eval $1=; unset $1;}
- }
- as_unset=as_fn_unset
- # as_fn_append VAR VALUE
- # ----------------------
- # Append the text in VALUE to the end of the definition contained in VAR. Take
- # advantage of any shell optimizations that allow amortized linear growth over
- # repeated appends, instead of the typical quadratic growth present in naive
- # implementations.
- if (eval "as_var=1; as_var+=2; test x$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=$2
- }'
- else
- as_fn_append ()
- {
- eval $1=$$1$2
- }
- fi # as_fn_append
- # as_fn_arith ARG...
- # ------------------
- # Perform arithmetic evaluation on the ARGs, and store the result in the
- # global $as_val. Take advantage of shells that can avoid forks. The arguments
- # must be portable across $(()) and expr.
- if (eval "test $(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
- else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
- fi # as_fn_arith
- if expr a : '(a)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*(...)'`" = X001; then
- as_expr=expr
- else
- as_expr=false
- fi
- if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
- else
- as_basename=false
- fi
- if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
- else
- as_dirname=false
- fi
- as_me=`$as_basename -- "$0" ||
- $as_expr X/"$0" : '.*/([^/][^/]*)/*$' |
- X"$0" : 'X(//)$' |
- X"$0" : 'X(/)' | . 2>/dev/null ||
- $as_echo X/"$0" |
- sed '/^.*/([^/][^/]*)/*$/{
- s//1/
- q
- }
- /^X/(//)$/{
- s//1/
- q
- }
- /^X/(/).*/{
- s//1/
- q
- }
- s/.*/./; q'`
- # Avoid depending upon Character Ranges.
- as_cr_letters='abcdefghijklmnopqrstuvwxyz'
- as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- as_cr_Letters=$as_cr_letters$as_cr_LETTERS
- as_cr_digits='0123456789'
- as_cr_alnum=$as_cr_Letters$as_cr_digits
- ECHO_C= ECHO_N= ECHO_T=
- case `echo -n x` in #(((((
- -n*)
- case `echo 'xyc'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
- *)
- ECHO_N='-n';;
- esac
- rm -f conf$$ conf$$.exe conf$$.file
- if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
- else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
- fi
- if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
- else
- as_ln_s='cp -p'
- fi
- rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
- rmdir conf$$.dir 2>/dev/null
- # as_fn_mkdir_p
- # -------------
- # Create "$as_dir" as a directory, including parents if necessary.
- as_fn_mkdir_p ()
- {
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
- $as_expr X"$as_dir" : 'X(.*[^/])//*[^/][^/]*/*$' |
- X"$as_dir" : 'X(//)[^/]' |
- X"$as_dir" : 'X(//)$' |
- X"$as_dir" : 'X(/)' | . 2>/dev/null ||
- $as_echo X"$as_dir" |
- sed '/^X(.*[^/])//*[^/][^/]*/*$/{
- s//1/
- q
- }
- /^X(//)[^/].*/{
- s//1/
- q
- }
- /^X(//)$/{
- s//1/
- q
- }
- /^X(/).*/{
- s//1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
- } # as_fn_mkdir_p
- if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
- else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
- fi
- if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
- else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- ''' sh
- '
- fi
- as_executable_p=$as_test_x
- # Sed expression to map a string onto a valid CPP name.
- as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
- # Sed expression to map a string onto a valid variable name.
- as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
- exec 6>&1
- ## ----------------------------------- ##
- ## Main body of $CONFIG_STATUS script. ##
- ## ----------------------------------- ##
- _ASEOF
- test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- # Save the log message, to keep $0 and so on meaningful, and to
- # report actual input values of CONFIG_FILES etc. instead of their
- # values after options handling.
- ac_log="
- This file was extended by GNU MP $as_me 5.0.1, which was
- generated by GNU Autoconf 2.65. Invocation command line was
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
- on `(hostname || uname -n) 2>/dev/null | sed 1q`
- "
- _ACEOF
- case $ac_config_files in *"
- "*) set x $ac_config_files; shift; ac_config_files=$*;;
- esac
- case $ac_config_headers in *"
- "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
- esac
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- # Files that config.status was made for.
- config_files="$ac_config_files"
- config_headers="$ac_config_headers"
- config_links="$ac_config_links"
- config_commands="$ac_config_commands"
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_cs_usage="
- `$as_me' instantiates files and other configuration actions
- from templates according to the current configuration. Unless the files
- and actions are specified as TAGs, all are instantiated by default.
- Usage: $0 [OPTION]... [TAG]...
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
- --header=FILE[:TEMPLATE]
- instantiate the configuration header FILE
- Configuration files:
- $config_files
- Configuration headers:
- $config_headers
- Configuration links:
- $config_links
- Configuration commands:
- $config_commands
- Report bugs to <gmp-bugs@gmplib.org>.
- GNU MP home page: <http://www.gnu.org/software/gmp/>.
- General help using GNU software: <http://www.gnu.org/gethelp/>."
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\""`$]/\\&/g'`"
- ac_cs_version="\
- GNU MP config.status 5.0.1
- configured by $0, generated by GNU Autoconf 2.65,
- with options \"$ac_cs_config\"
- Copyright (C) 2009 Free Software Foundation, Inc.
- This config.status script is free software; the Free Software Foundation
- gives unlimited permission to copy, distribute and modify it."
- ac_pwd='$ac_pwd'
- srcdir='$srcdir'
- INSTALL='$INSTALL'
- MKDIR_P='$MKDIR_P'
- AWK='$AWK'
- test -n "$AWK" || AWK=awk
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- # The default lists apply if the user does not specify any file.
- ac_need_defaults=:
- while test $# != 0
- do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X([^=]*)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=(.*)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\''/g"` ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --header | --heade | --head | --hea )
- $ac_shift
- case $ac_optarg in
- *'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\''/g"` ;;
- esac
- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h)
- # Conflict between --help and --header
- as_fn_error "ambiguous option: `$1'
- Try `$0 --help' for more information.";;
- --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
- # This is an error.
- -*) as_fn_error "unrecognized option: `$1'
- Try `$0 --help' for more information." ;;
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
- esac
- shift
- done
- ac_configure_extra_args=
- if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
- fi
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- if $ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args $ac_configure_extra_args --no-create --no-recursion
- shift
- $as_echo "running CONFIG_SHELL=$SHELL $*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "$@"
- fi
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- exec 5>>config.log
- {
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
- ## Running $as_me. ##
- _ASBOX
- $as_echo "$ac_log"
- } >&5
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- #
- # INIT-COMMANDS
- #
- # The HP-UX ksh and POSIX shell print the target directory to stdout
- # if CDPATH is set.
- (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
- sed_quote_subst='$sed_quote_subst'
- double_quote_subst='$double_quote_subst'
- delay_variable_subst='$delay_variable_subst'
- NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
- AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
- DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
- OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
- macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
- macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
- enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
- enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
- pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
- enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
- host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
- host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
- host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
- build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
- build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
- build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
- SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
- Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
- GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
- EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
- FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
- LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
- LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
- max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
- ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
- exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
- lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
- lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
- lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
- reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
- reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
- file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
- AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
- AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
- STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
- RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
- old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
- CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
- compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
- GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
- lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
- lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
- lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
- lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
- objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
- SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
- ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
- MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
- lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
- lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
- lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
- lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
- lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
- need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
- DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
- NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
- LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
- OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
- OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
- libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
- shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
- enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
- export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
- whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
- compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
- old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
- allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
- no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
- inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
- link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
- fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
- always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
- export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
- include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
- prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
- variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
- need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
- need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
- version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
- runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
- shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
- shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
- libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
- library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
- soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
- postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
- finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
- sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
- sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
- enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
- enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
- enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
- old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
- striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
- compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
- predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
- postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
- predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
- postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
- compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
- LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- LD_F77='`$ECHO "X$LD_F77" | $Xsed -e "$delay_single_quote_subst"`'
- old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- old_archive_cmds_F77='`$ECHO "X$old_archive_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
- compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- compiler_F77='`$ECHO "X$compiler_F77" | $Xsed -e "$delay_single_quote_subst"`'
- GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- GCC_F77='`$ECHO "X$GCC_F77" | $Xsed -e "$delay_single_quote_subst"`'
- lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- lt_prog_compiler_no_builtin_flag_F77='`$ECHO "X$lt_prog_compiler_no_builtin_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
- lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- lt_prog_compiler_wl_F77='`$ECHO "X$lt_prog_compiler_wl_F77" | $Xsed -e "$delay_single_quote_subst"`'
- lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- lt_prog_compiler_pic_F77='`$ECHO "X$lt_prog_compiler_pic_F77" | $Xsed -e "$delay_single_quote_subst"`'
- lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- lt_prog_compiler_static_F77='`$ECHO "X$lt_prog_compiler_static_F77" | $Xsed -e "$delay_single_quote_subst"`'
- lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- lt_cv_prog_compiler_c_o_F77='`$ECHO "X$lt_cv_prog_compiler_c_o_F77" | $Xsed -e "$delay_single_quote_subst"`'
- archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- archive_cmds_need_lc_F77='`$ECHO "X$archive_cmds_need_lc_F77" | $Xsed -e "$delay_single_quote_subst"`'
- enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- enable_shared_with_static_runtimes_F77='`$ECHO "X$enable_shared_with_static_runtimes_F77" | $Xsed -e "$delay_single_quote_subst"`'
- export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- export_dynamic_flag_spec_F77='`$ECHO "X$export_dynamic_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
- whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- whole_archive_flag_spec_F77='`$ECHO "X$whole_archive_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
- compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- compiler_needs_object_F77='`$ECHO "X$compiler_needs_object_F77" | $Xsed -e "$delay_single_quote_subst"`'
- old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- old_archive_from_new_cmds_F77='`$ECHO "X$old_archive_from_new_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
- old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- old_archive_from_expsyms_cmds_F77='`$ECHO "X$old_archive_from_expsyms_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
- archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- archive_cmds_F77='`$ECHO "X$archive_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
- archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- archive_expsym_cmds_F77='`$ECHO "X$archive_expsym_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
- module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- module_cmds_F77='`$ECHO "X$module_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
- module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- module_expsym_cmds_F77='`$ECHO "X$module_expsym_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
- with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- with_gnu_ld_F77='`$ECHO "X$with_gnu_ld_F77" | $Xsed -e "$delay_single_quote_subst"`'
- allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- allow_undefined_flag_F77='`$ECHO "X$allow_undefined_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
- no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- no_undefined_flag_F77='`$ECHO "X$no_undefined_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_libdir_flag_spec_F77='`$ECHO "X$hardcode_libdir_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_libdir_flag_spec_ld_F77='`$ECHO "X$hardcode_libdir_flag_spec_ld_F77" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_libdir_separator_F77='`$ECHO "X$hardcode_libdir_separator_F77" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_direct_F77='`$ECHO "X$hardcode_direct_F77" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_direct_absolute_F77='`$ECHO "X$hardcode_direct_absolute_F77" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_minus_L_F77='`$ECHO "X$hardcode_minus_L_F77" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_shlibpath_var_F77='`$ECHO "X$hardcode_shlibpath_var_F77" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_automatic_F77='`$ECHO "X$hardcode_automatic_F77" | $Xsed -e "$delay_single_quote_subst"`'
- inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- inherit_rpath_F77='`$ECHO "X$inherit_rpath_F77" | $Xsed -e "$delay_single_quote_subst"`'
- link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- link_all_deplibs_F77='`$ECHO "X$link_all_deplibs_F77" | $Xsed -e "$delay_single_quote_subst"`'
- fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- fix_srcfile_path_F77='`$ECHO "X$fix_srcfile_path_F77" | $Xsed -e "$delay_single_quote_subst"`'
- always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- always_export_symbols_F77='`$ECHO "X$always_export_symbols_F77" | $Xsed -e "$delay_single_quote_subst"`'
- export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- export_symbols_cmds_F77='`$ECHO "X$export_symbols_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
- exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- exclude_expsyms_F77='`$ECHO "X$exclude_expsyms_F77" | $Xsed -e "$delay_single_quote_subst"`'
- include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- include_expsyms_F77='`$ECHO "X$include_expsyms_F77" | $Xsed -e "$delay_single_quote_subst"`'
- prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- prelink_cmds_F77='`$ECHO "X$prelink_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
- file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- file_list_spec_F77='`$ECHO "X$file_list_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- hardcode_action_F77='`$ECHO "X$hardcode_action_F77" | $Xsed -e "$delay_single_quote_subst"`'
- compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- compiler_lib_search_dirs_F77='`$ECHO "X$compiler_lib_search_dirs_F77" | $Xsed -e "$delay_single_quote_subst"`'
- predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- predep_objects_F77='`$ECHO "X$predep_objects_F77" | $Xsed -e "$delay_single_quote_subst"`'
- postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- postdep_objects_F77='`$ECHO "X$postdep_objects_F77" | $Xsed -e "$delay_single_quote_subst"`'
- predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- predeps_F77='`$ECHO "X$predeps_F77" | $Xsed -e "$delay_single_quote_subst"`'
- postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- postdeps_F77='`$ECHO "X$postdeps_F77" | $Xsed -e "$delay_single_quote_subst"`'
- compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
- compiler_lib_search_path_F77='`$ECHO "X$compiler_lib_search_path_F77" | $Xsed -e "$delay_single_quote_subst"`'
- LTCC='$LTCC'
- LTCFLAGS='$LTCFLAGS'
- compiler='$compiler_DEFAULT'
- # Quote evaled strings.
- for var in NM
- SED
- GREP
- EGREP
- FGREP
- LD
- LN_S
- lt_SP2NL
- lt_NL2SP
- reload_flag
- deplibs_check_method
- file_magic_cmd
- AR
- AR_FLAGS
- STRIP
- RANLIB
- CC
- CFLAGS
- compiler
- lt_cv_sys_global_symbol_pipe
- lt_cv_sys_global_symbol_to_cdecl
- lt_cv_sys_global_symbol_to_c_name_address
- lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
- SHELL
- ECHO
- lt_prog_compiler_no_builtin_flag
- lt_prog_compiler_wl
- lt_prog_compiler_pic
- lt_prog_compiler_static
- lt_cv_prog_compiler_c_o
- need_locks
- DSYMUTIL
- NMEDIT
- LIPO
- OTOOL
- OTOOL64
- shrext_cmds
- export_dynamic_flag_spec
- whole_archive_flag_spec
- compiler_needs_object
- with_gnu_ld
- allow_undefined_flag
- no_undefined_flag
- hardcode_libdir_flag_spec
- hardcode_libdir_flag_spec_ld
- hardcode_libdir_separator
- fix_srcfile_path
- exclude_expsyms
- include_expsyms
- file_list_spec
- variables_saved_for_relink
- libname_spec
- library_names_spec
- soname_spec
- finish_eval
- old_striplib
- striplib
- compiler_lib_search_dirs
- predep_objects
- postdep_objects
- predeps
- postdeps
- compiler_lib_search_path
- LD_CXX
- LD_F77
- compiler_CXX
- compiler_F77
- lt_prog_compiler_no_builtin_flag_CXX
- lt_prog_compiler_no_builtin_flag_F77
- lt_prog_compiler_wl_CXX
- lt_prog_compiler_wl_F77
- lt_prog_compiler_pic_CXX
- lt_prog_compiler_pic_F77
- lt_prog_compiler_static_CXX
- lt_prog_compiler_static_F77
- lt_cv_prog_compiler_c_o_CXX
- lt_cv_prog_compiler_c_o_F77
- export_dynamic_flag_spec_CXX
- export_dynamic_flag_spec_F77
- whole_archive_flag_spec_CXX
- whole_archive_flag_spec_F77
- compiler_needs_object_CXX
- compiler_needs_object_F77
- with_gnu_ld_CXX
- with_gnu_ld_F77
- allow_undefined_flag_CXX
- allow_undefined_flag_F77
- no_undefined_flag_CXX
- no_undefined_flag_F77
- hardcode_libdir_flag_spec_CXX
- hardcode_libdir_flag_spec_F77
- hardcode_libdir_flag_spec_ld_CXX
- hardcode_libdir_flag_spec_ld_F77
- hardcode_libdir_separator_CXX
- hardcode_libdir_separator_F77
- fix_srcfile_path_CXX
- fix_srcfile_path_F77
- exclude_expsyms_CXX
- exclude_expsyms_F77
- include_expsyms_CXX
- include_expsyms_F77
- file_list_spec_CXX
- file_list_spec_F77
- compiler_lib_search_dirs_CXX
- compiler_lib_search_dirs_F77
- predep_objects_CXX
- predep_objects_F77
- postdep_objects_CXX
- postdep_objects_F77
- predeps_CXX
- predeps_F77
- postdeps_CXX
- postdeps_F77
- compiler_lib_search_path_CXX
- compiler_lib_search_path_F77; do
- case `eval \\$ECHO "X\\$$var"` in
- *[\\\`\"\$]*)
- eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
- ;;
- *)
- eval "lt_$var=\\\"\$$var\\\""
- ;;
- esac
- done
- # Double-quote double-evaled strings.
- for var in reload_cmds
- old_postinstall_cmds
- old_postuninstall_cmds
- old_archive_cmds
- extract_expsyms_cmds
- old_archive_from_new_cmds
- old_archive_from_expsyms_cmds
- archive_cmds
- archive_expsym_cmds
- module_cmds
- module_expsym_cmds
- export_symbols_cmds
- prelink_cmds
- postinstall_cmds
- postuninstall_cmds
- finish_cmds
- sys_lib_search_path_spec
- sys_lib_dlsearch_path_spec
- old_archive_cmds_CXX
- old_archive_cmds_F77
- old_archive_from_new_cmds_CXX
- old_archive_from_new_cmds_F77
- old_archive_from_expsyms_cmds_CXX
- old_archive_from_expsyms_cmds_F77
- archive_cmds_CXX
- archive_cmds_F77
- archive_expsym_cmds_CXX
- archive_expsym_cmds_F77
- module_cmds_CXX
- module_cmds_F77
- module_expsym_cmds_CXX
- module_expsym_cmds_F77
- export_symbols_cmds_CXX
- export_symbols_cmds_F77
- prelink_cmds_CXX
- prelink_cmds_F77; do
- case `eval \\$ECHO "X\\$$var"` in
- *[\\\`\"\$]*)
- eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
- ;;
- *)
- eval "lt_$var=\\\"\$$var\\\""
- ;;
- esac
- done
- # Fix-up fallback echo if it was mangled by the above quoting rules.
- case $lt_ECHO in
- *'\$0 --fallback-echo"') lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
- ;;
- esac
- ac_aux_dir='$ac_aux_dir'
- xsi_shell='$xsi_shell'
- lt_shell_append='$lt_shell_append'
- # See if we are running on zsh, and set the options which allow our
- # commands through without removal of escapes INIT.
- if test -n "${ZSH_VERSION+set}" ; then
- setopt NO_GLOB_SUBST
- fi
- PACKAGE='$PACKAGE'
- VERSION='$VERSION'
- TIMESTAMP='$TIMESTAMP'
- RM='$RM'
- ofile='$ofile'
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- # Handling of arguments.
- for ac_config_target in $ac_config_targets
- do
- case $ac_config_target in
- "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
- "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
- "mpn/$tmp_fn.$tmp_ext") CONFIG_LINKS="$CONFIG_LINKS mpn/$tmp_fn.$tmp_ext:mpn/$tmp_dir/$tmp_base.$tmp_ext" ;;
- "gmp-mparam.h") CONFIG_LINKS="$CONFIG_LINKS gmp-mparam.h:mpn/$gmp_mparam_dir/gmp-mparam.h" ;;
- "demos/pexpr-config.h") CONFIG_FILES="$CONFIG_FILES demos/pexpr-config.h:demos/pexpr-config-h.in" ;;
- "demos/calc/calc-config.h") CONFIG_FILES="$CONFIG_FILES demos/calc/calc-config.h:demos/calc/calc-config-h.in" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- "mpbsd/Makefile") CONFIG_FILES="$CONFIG_FILES mpbsd/Makefile" ;;
- "mpf/Makefile") CONFIG_FILES="$CONFIG_FILES mpf/Makefile" ;;
- "mpn/Makefile") CONFIG_FILES="$CONFIG_FILES mpn/Makefile" ;;
- "mpq/Makefile") CONFIG_FILES="$CONFIG_FILES mpq/Makefile" ;;
- "mpz/Makefile") CONFIG_FILES="$CONFIG_FILES mpz/Makefile" ;;
- "printf/Makefile") CONFIG_FILES="$CONFIG_FILES printf/Makefile" ;;
- "scanf/Makefile") CONFIG_FILES="$CONFIG_FILES scanf/Makefile" ;;
- "cxx/Makefile") CONFIG_FILES="$CONFIG_FILES cxx/Makefile" ;;
- "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
- "tests/devel/Makefile") CONFIG_FILES="$CONFIG_FILES tests/devel/Makefile" ;;
- "tests/mpbsd/Makefile") CONFIG_FILES="$CONFIG_FILES tests/mpbsd/Makefile" ;;
- "tests/mpf/Makefile") CONFIG_FILES="$CONFIG_FILES tests/mpf/Makefile" ;;
- "tests/mpn/Makefile") CONFIG_FILES="$CONFIG_FILES tests/mpn/Makefile" ;;
- "tests/mpq/Makefile") CONFIG_FILES="$CONFIG_FILES tests/mpq/Makefile" ;;
- "tests/mpz/Makefile") CONFIG_FILES="$CONFIG_FILES tests/mpz/Makefile" ;;
- "tests/rand/Makefile") CONFIG_FILES="$CONFIG_FILES tests/rand/Makefile" ;;
- "tests/misc/Makefile") CONFIG_FILES="$CONFIG_FILES tests/misc/Makefile" ;;
- "tests/cxx/Makefile") CONFIG_FILES="$CONFIG_FILES tests/cxx/Makefile" ;;
- "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
- "tune/Makefile") CONFIG_FILES="$CONFIG_FILES tune/Makefile" ;;
- "demos/Makefile") CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
- "demos/calc/Makefile") CONFIG_FILES="$CONFIG_FILES demos/calc/Makefile" ;;
- "demos/expr/Makefile") CONFIG_FILES="$CONFIG_FILES demos/expr/Makefile" ;;
- "gmp.h") CONFIG_FILES="$CONFIG_FILES gmp.h:gmp-h.in" ;;
- "mp.h") CONFIG_FILES="$CONFIG_FILES mp.h:mp-h.in" ;;
- *) as_fn_error "invalid argument: `$ac_config_target'" "$LINENO" 5;;
- esac
- done
- # If the user did not use the arguments to specify the items to instantiate,
- # then the envvar interface is used. Set only those that are not.
- # We use the long form for the default assignment because of an extremely
- # bizarre bug on SunOS 4.1.3.
- if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
- test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
- fi
- # Have a temporary directory for convenience. Make it in the build tree
- # simply because there is no reason against having it here, and in addition,
- # creating and moving files from /tmp can sometimes cause problems.
- # Hook for its removal unless debugging.
- # Note that there is a small window in which the directory will not be cleaned:
- # after its creation but before its name has been assigned to `$tmp'.
- $debug ||
- {
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
- ' 0
- trap 'as_fn_exit 1' 1 2 13 15
- }
- # Create a (secure) tmp directory for tmp files.
- {
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
- } ||
- {
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
- } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
- # Set up the scripts for CONFIG_FILES section.
- # No need to generate them if there are no CONFIG_FILES.
- # This happens for instance with `./config.status config.h'.
- if test -n "$CONFIG_FILES"; then
- ac_cr=`echo X | tr X ' 15'`
- # On cygwin, bash can eat r inside `` if the user requested igncr.
- # But we know of no other shell where ac_cr would be empty at this
- # point, so we can use a bashism as a fallback.
- if test "x$ac_cr" = x; then
- eval ac_cr=$'\r'
- fi
- ac_cs_awk_cr=`$AWK 'BEGIN { print "arb" }' </dev/null 2>/dev/null`
- if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='r'
- else
- ac_cs_awk_cr=$ac_cr
- fi
- echo 'BEGIN {' >"$tmp/subs1.awk" &&
- _ACEOF
- {
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
- } >conf$$subs.sh ||
- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
- ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
- ac_delim='%!_!# '
- for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
- ac_delim_n=`sed -n "s/.*$ac_delim$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
- done
- rm -f conf$$subs.sh
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- cat >>"$tmp/subs1.awk" <<\_ACAWK &&
- _ACEOF
- sed -n '
- h
- s/^/S["/; s/!.*/"]=/
- p
- g
- s/^[^!]*!//
- :repl
- t repl
- s/'"$ac_delim"'$//
- t delim
- :nl
- h
- s/(.{148})..*/1/
- t more1
- s/["\]/\&/g; s/^/"/; s/$/\n"\/
- p
- n
- b repl
- :more1
- s/["\]/\&/g; s/^/"/; s/$/"\/
- p
- g
- s/.{148}//
- t nl
- :delim
- h
- s/(.{148})..*/1/
- t more2
- s/["\]/\&/g; s/^/"/; s/$/"/
- p
- b
- :more2
- s/["\]/\&/g; s/^/"/; s/$/"\/
- p
- g
- s/.{148}//
- t delim
- ' <conf$$subs.awk | sed '
- /^[^""]/{
- N
- s/n//
- }
- ' >>$CONFIG_STATUS || ac_write_fail=1
- rm -f conf$$subs.awk
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- _ACAWK
- cat >>"$tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- }
- {
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- print line
- }
- _ACAWK
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr$//; s/$ac_cr/$ac_cs_awk_cr/g"
- else
- cat
- fi < "$tmp/subs1.awk" > "$tmp/subs.awk"
- || as_fn_error "could not setup config files machinery" "$LINENO" 5
- _ACEOF
- # VPATH may cause trouble with some makes, so we remove $(srcdir),
- # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
- # trailing colons and then remove the whole line if VPATH becomes empty
- # (actually we leave an empty line to preserve line numbers).
- if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
- s/:*$(srcdir):*/:/
- s/:*${srcdir}:*/:/
- s/:*@srcdir@:*/:/
- s/^([^=]*=[ ]*):*/1/
- s/:*$//
- s/^[^=]*=[ ]*$//
- }'
- fi
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- fi # test -n "$CONFIG_FILES"
- # Set up the scripts for CONFIG_HEADERS section.
- # No need to generate them if there are no CONFIG_HEADERS.
- # This happens for instance with `./config.status Makefile'.
- if test -n "$CONFIG_HEADERS"; then
- cat >"$tmp/defines.awk" <<_ACAWK ||
- BEGIN {
- _ACEOF
- # Transform confdefs.h into an awk script `defines.awk', embedded as
- # here-document in config.status, that substitutes the proper values into
- # config.h.in to produce config.h.
- # Create a delimiter string that does not exist in confdefs.h, to ease
- # handling of long lines.
- ac_delim='%!_!# '
- for ac_last_try in false false :; do
- ac_t=`sed -n "/$ac_delim/p" confdefs.h`
- if test -z "$ac_t"; then
- break
- elif $ac_last_try; then
- as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
- done
- # For the awk script, D is an array of macro values keyed by name,
- # likewise P contains macro parameters if any. Preserve backslash
- # newline sequences.
- ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
- sed -n '
- s/.{148}/&'"$ac_delim"'/g
- t rset
- :rset
- s/^[ ]*#[ ]*define[ ][ ]*/ /
- t def
- d
- :def
- s/\$//
- t bsnl
- s/["\]/\&/g
- s/^ ('"$ac_word_re"')(([^()]*))[ ]*(.*)/P["1"]="2"
- D["1"]=" 3"/p
- s/^ ('"$ac_word_re"')[ ]*(.*)/D["1"]=" 2"/p
- d
- :bsnl
- s/["\]/\&/g
- s/^ ('"$ac_word_re"')(([^()]*))[ ]*(.*)/P["1"]="2"
- D["1"]=" 3\\\n"\/p
- t cont
- s/^ ('"$ac_word_re"')[ ]*(.*)/D["1"]=" 2\\\n"\/p
- t cont
- d
- :cont
- n
- s/.{148}/&'"$ac_delim"'/g
- t clear
- :clear
- s/\$//
- t bsnlc
- s/["\]/\&/g; s/^/"/; s/$/"/p
- d
- :bsnlc
- s/["\]/\&/g; s/^/"/; s/$/\\\n"\/p
- b cont
- ' <confdefs.h | sed '
- s/'"$ac_delim"'/"\
- "/g' >>$CONFIG_STATUS || ac_write_fail=1
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- for (key in D) D_is_set[key] = 1
- FS = ""
- }
- /^[t ]*#[t ]*(define|undef)[t ]+$ac_word_re([t (]|$)/ {
- line = $ 0
- split(line, arg, " ")
- if (arg[1] == "#") {
- defundef = arg[2]
- mac1 = arg[3]
- } else {
- defundef = substr(arg[1], 2)
- mac1 = arg[2]
- }
- split(mac1, mac2, "(") #)
- macro = mac2[1]
- prefix = substr(line, 1, index(line, defundef) - 1)
- if (D_is_set[macro]) {
- # Preserve the white space surrounding the "#".
- print prefix "define", macro P[macro] D[macro]
- next
- } else {
- # Replace #undef with comments. This is necessary, for example,
- # in the case of _POSIX_SOURCE, which is predefined and required
- # on some systems where configure will not decide to define it.
- if (defundef == "undef") {
- print "/*", prefix defundef, macro, "*/"
- next
- }
- }
- }
- { print }
- _ACAWK
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- as_fn_error "could not setup config headers machinery" "$LINENO" 5
- fi # test -n "$CONFIG_HEADERS"
- eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
- shift
- for ac_tag
- do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error "invalid tag `$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error "cannot find input file: `$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
- $as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *&* | *|* | *\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\&|]/\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin"
- || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
- ac_dir=`$as_dirname -- "$ac_file" ||
- $as_expr X"$ac_file" : 'X(.*[^/])//*[^/][^/]*/*$' |
- X"$ac_file" : 'X(//)[^/]' |
- X"$ac_file" : 'X(//)$' |
- X"$ac_file" : 'X(/)' | . 2>/dev/null ||
- $as_echo X"$ac_file" |
- sed '/^X(.*[^/])//*[^/][^/]*/*$/{
- s//1/
- q
- }
- /^X(//)[^/].*/{
- s//1/
- q
- }
- /^X(//)$/{
- s//1/
- q
- }
- /^X(/).*/{
- s//1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
- case "$ac_dir" in
- .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^.[\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
- esac
- ac_abs_top_builddir=$ac_pwd
- ac_abs_builddir=$ac_pwd$ac_dir_suffix
- # for backward compatibility:
- ac_top_builddir=$ac_top_build_prefix
- case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\/]* | ?:[\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
- esac
- ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
- case $INSTALL in
- [\/$]* | ?:[\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
- ac_MKDIR_P=$MKDIR_P
- case $MKDIR_P in
- [\/$]* | ?:[\/]* ) ;;
- */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
- esac
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- # If the template does not know about datarootdir, expand it.
- # FIXME: This hack should be removed a few years after 2.60.
- ac_datarootdir_hack=; ac_datarootdir_seen=
- ac_sed_dataroot='
- /datarootdir/ {
- p
- q
- }
- /@datadir@/p
- /@docdir@/p
- /@infodir@/p
- /@localedir@/p
- /@mandir@/p'
- case `eval "sed -n "$ac_sed_dataroot" $ac_file_inputs"` in
- *datarootdir*) ac_datarootdir_seen=yes;;
- *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
- $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\${datarootdir}&$datarootdir&g' ;;
- esac
- _ACEOF
- # Neutralize VPATH when `$srcdir' = `.'.
- # Shell code in configure.ac might set extrasub.
- # FIXME: do we really want to maintain this feature?
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_sed_extra="$ac_vpsub
- $extrasub
- _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- :t
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
- s|@configure_input@|$ac_sed_conf_input|;t t
- s&@top_builddir@&$ac_top_builddir_sub&;t t
- s&@top_build_prefix@&$ac_top_build_prefix&;t t
- s&@srcdir@&$ac_srcdir&;t t
- s&@abs_srcdir@&$ac_abs_srcdir&;t t
- s&@top_srcdir@&$ac_top_srcdir&;t t
- s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
- s&@builddir@&$ac_builddir&;t t
- s&@abs_builddir@&$ac_abs_builddir&;t t
- s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
- s&@INSTALL@&$ac_INSTALL&;t t
- s&@MKDIR_P@&$ac_MKDIR_P&;t t
- $ac_datarootdir_hack
- "
- eval sed "$ac_sed_extra" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out
- || as_fn_error "could not create $ac_file" "$LINENO" 5
- test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable `datarootdir'
- which seems to be undefined. Please make sure it is defined." >&5
- $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable `datarootdir'
- which seems to be undefined. Please make sure it is defined." >&2;}
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out" && rm -f "$tmp/out";;
- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
- esac
- || as_fn_error "could not create $ac_file" "$LINENO" 5
- ;;
- :H)
- #
- # CONFIG_HEADER
- #
- if test x"$ac_file" != x-; then
- {
- $as_echo "/* $configure_input */"
- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
- } >"$tmp/config.h"
- || as_fn_error "could not create $ac_file" "$LINENO" 5
- if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
- $as_echo "$as_me: $ac_file is unchanged" >&6;}
- else
- rm -f "$ac_file"
- mv "$tmp/config.h" "$ac_file"
- || as_fn_error "could not create $ac_file" "$LINENO" 5
- fi
- else
- $as_echo "/* $configure_input */"
- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
- || as_fn_error "could not create -" "$LINENO" 5
- fi
- # Compute "$ac_file"'s index in $config_headers.
- _am_arg="$ac_file"
- _am_stamp_count=1
- for _am_header in $config_headers :; do
- case $_am_header in
- $_am_arg | $_am_arg:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
- done
- echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
- $as_expr X"$_am_arg" : 'X(.*[^/])//*[^/][^/]*/*$' |
- X"$_am_arg" : 'X(//)[^/]' |
- X"$_am_arg" : 'X(//)$' |
- X"$_am_arg" : 'X(/)' | . 2>/dev/null ||
- $as_echo X"$_am_arg" |
- sed '/^X(.*[^/])//*[^/][^/]*/*$/{
- s//1/
- q
- }
- /^X(//)[^/].*/{
- s//1/
- q
- }
- /^X(//)$/{
- s//1/
- q
- }
- /^X(/).*/{
- s//1/
- q
- }
- s/.*/./; q'`/stamp-h$_am_stamp_count
- ;;
- :L)
- #
- # CONFIG_LINK
- #
- if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
- :
- else
- # Prefer the file from the source tree if names are identical.
- if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
- ac_source=$srcdir/$ac_source
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
- $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
- if test ! -r "$ac_source"; then
- as_fn_error "$ac_source: file not found" "$LINENO" 5
- fi
- rm -f "$ac_file"
- # Try a relative symlink, then a hard link, then a copy.
- case $srcdir in
- [\/$]* | ?:[\/]* ) ac_rel_source=$ac_source ;;
- *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
- esac
- ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
- ln "$ac_source" "$ac_file" 2>/dev/null ||
- cp -p "$ac_source" "$ac_file" ||
- as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
- fi
- ;;
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
- $as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
- case $ac_file$ac_mode in
- "libtool":C)
- # See if we are running on zsh, and set the options which allow our
- # commands through without removal of escapes.
- if test -n "${ZSH_VERSION+set}" ; then
- setopt NO_GLOB_SUBST
- fi
- cfgfile="${ofile}T"
- trap "$RM "$cfgfile"; exit 1" 1 2 15
- $RM "$cfgfile"
- cat <<_LT_EOF >> "$cfgfile"
- #! $SHELL
- # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
- # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
- # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
- # NOTE: Changes made to this file will be lost: look at ltmain.sh.
- #
- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
- # 2006, 2007, 2008 Free Software Foundation, Inc.
- # Written by Gordon Matzigkeit, 1996
- #
- # This file is part of GNU Libtool.
- #
- # GNU Libtool is free software; you can redistribute it and/or
- # modify it under the terms of the GNU General Public License as
- # published by the Free Software Foundation; either version 2 of
- # the License, or (at your option) any later version.
- #
- # As a special exception to the GNU General Public License,
- # if you distribute this file as part of a program or library that
- # is built using GNU Libtool, you may include this file under the
- # same distribution terms that you use for the rest of that program.
- #
- # GNU Libtool is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with GNU Libtool; see the file COPYING. If not, a copy
- # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
- # obtained by writing to the Free Software Foundation, Inc.,
- # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- # The names of the tagged configurations supported by this script.
- available_tags="CXX F77 "
- # ### BEGIN LIBTOOL CONFIG
- # A BSD- or MS-compatible name lister.
- NM=$lt_NM
- # Assembler program.
- AS=$AS
- # DLL creation program.
- DLLTOOL=$DLLTOOL
- # Object dumper program.
- OBJDUMP=$OBJDUMP
- # Which release of libtool.m4 was used?
- macro_version=$macro_version
- macro_revision=$macro_revision
- # Whether or not to build shared libraries.
- build_libtool_libs=$enable_shared
- # Whether or not to build static libraries.
- build_old_libs=$enable_static
- # What type of objects to build.
- pic_mode=$pic_mode
- # Whether or not to optimize for fast installation.
- fast_install=$enable_fast_install
- # The host system.
- host_alias=$host_alias
- host=$host
- host_os=$host_os
- # The build system.
- build_alias=$build_alias
- build=$build
- build_os=$build_os
- # A sed program that does not truncate output.
- SED=$lt_SED
- # Sed that helps us avoid accidentally triggering echo(1) options like -n.
- Xsed="$SED -e 1s/^X//"
- # A grep program that handles long lines.
- GREP=$lt_GREP
- # An ERE matcher.
- EGREP=$lt_EGREP
- # A literal string matcher.
- FGREP=$lt_FGREP
- # Whether we need soft or hard links.
- LN_S=$lt_LN_S
- # What is the maximum length of a command?
- max_cmd_len=$max_cmd_len
- # Object file suffix (normally "o").
- objext=$ac_objext
- # Executable file suffix (normally "").
- exeext=$exeext
- # whether the shell understands "unset".
- lt_unset=$lt_unset
- # turn spaces into newlines.
- SP2NL=$lt_lt_SP2NL
- # turn newlines into spaces.
- NL2SP=$lt_lt_NL2SP
- # How to create reloadable object files.
- reload_flag=$lt_reload_flag
- reload_cmds=$lt_reload_cmds
- # Method to check whether dependent libraries are shared objects.
- deplibs_check_method=$lt_deplibs_check_method
- # Command to use when deplibs_check_method == "file_magic".
- file_magic_cmd=$lt_file_magic_cmd
- # The archiver.
- AR=$lt_AR
- AR_FLAGS=$lt_AR_FLAGS
- # A symbol stripping program.
- STRIP=$lt_STRIP
- # Commands used to install an old-style archive.
- RANLIB=$lt_RANLIB
- old_postinstall_cmds=$lt_old_postinstall_cmds
- old_postuninstall_cmds=$lt_old_postuninstall_cmds
- # A C compiler.
- LTCC=$lt_CC
- # LTCC compiler flags.
- LTCFLAGS=$lt_CFLAGS
- # Take the output of nm and produce a listing of raw symbols and C names.
- global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
- # Transform the output of nm in a proper C declaration.
- global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
- # Transform the output of nm in a C name address pair.
- global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
- # Transform the output of nm in a C name address pair when lib prefix is needed.
- global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
- # The name of the directory that contains temporary libtool files.
- objdir=$objdir
- # Shell to use when invoking shell scripts.
- SHELL=$lt_SHELL
- # An echo program that does not interpret backslashes.
- ECHO=$lt_ECHO
- # Used to examine libraries when file_magic_cmd begins with "file".
- MAGIC_CMD=$MAGIC_CMD
- # Must we lock files when doing compilation?
- need_locks=$lt_need_locks
- # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
- DSYMUTIL=$lt_DSYMUTIL
- # Tool to change global to local symbols on Mac OS X.
- NMEDIT=$lt_NMEDIT
- # Tool to manipulate fat objects and archives on Mac OS X.
- LIPO=$lt_LIPO
- # ldd/readelf like tool for Mach-O binaries on Mac OS X.
- OTOOL=$lt_OTOOL
- # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
- OTOOL64=$lt_OTOOL64
- # Old archive suffix (normally "a").
- libext=$libext
- # Shared library suffix (normally ".so").
- shrext_cmds=$lt_shrext_cmds
- # The commands to extract the exported symbol list from a shared archive.
- extract_expsyms_cmds=$lt_extract_expsyms_cmds
- # Variables whose values should be saved in libtool wrapper scripts and
- # restored at link time.
- variables_saved_for_relink=$lt_variables_saved_for_relink
- # Do we need the "lib" prefix for modules?
- need_lib_prefix=$need_lib_prefix
- # Do we need a version for libraries?
- need_version=$need_version
- # Library versioning type.
- version_type=$version_type
- # Shared library runtime path variable.
- runpath_var=$runpath_var
- # Shared library path variable.
- shlibpath_var=$shlibpath_var
- # Is shlibpath searched before the hard-coded library search path?
- shlibpath_overrides_runpath=$shlibpath_overrides_runpath
- # Format of library name prefix.
- libname_spec=$lt_libname_spec
- # List of archive names. First name is the real one, the rest are links.
- # The last name is the one that the linker finds with -lNAME
- library_names_spec=$lt_library_names_spec
- # The coded name of the library, if different from the real name.
- soname_spec=$lt_soname_spec
- # Command to use after installation of a shared archive.
- postinstall_cmds=$lt_postinstall_cmds
- # Command to use after uninstallation of a shared archive.
- postuninstall_cmds=$lt_postuninstall_cmds
- # Commands used to finish a libtool library installation in a directory.
- finish_cmds=$lt_finish_cmds
- # As "finish_cmds", except a single script fragment to be evaled but
- # not shown.
- finish_eval=$lt_finish_eval
- # Whether we should hardcode library paths into libraries.
- hardcode_into_libs=$hardcode_into_libs
- # Compile-time system search path for libraries.
- sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
- # Run-time system search path for libraries.
- sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
- # Whether dlopen is supported.
- dlopen_support=$enable_dlopen
- # Whether dlopen of programs is supported.
- dlopen_self=$enable_dlopen_self
- # Whether dlopen of statically linked programs is supported.
- dlopen_self_static=$enable_dlopen_self_static
- # Commands to strip libraries.
- old_striplib=$lt_old_striplib
- striplib=$lt_striplib
- # The linker used to build libraries.
- LD=$lt_LD
- # Commands used to build an old-style archive.
- old_archive_cmds=$lt_old_archive_cmds
- # A language specific compiler.
- CC=$lt_compiler
- # Is the compiler the GNU compiler?
- with_gcc=$GCC
- # Compiler flag to turn off builtin functions.
- no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
- # How to pass a linker flag through the compiler.
- wl=$lt_lt_prog_compiler_wl
- # Additional compiler flags for building library objects.
- pic_flag=$lt_lt_prog_compiler_pic
- # Compiler flag to prevent dynamic linking.
- link_static_flag=$lt_lt_prog_compiler_static
- # Does compiler simultaneously support -c and -o options?
- compiler_c_o=$lt_lt_cv_prog_compiler_c_o
- # Whether or not to add -lc for building shared libraries.
- build_libtool_need_lc=$archive_cmds_need_lc
- # Whether or not to disallow shared libs when runtime libs are static.
- allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
- # Compiler flag to allow reflexive dlopens.
- export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
- # Compiler flag to generate shared objects directly from archives.
- whole_archive_flag_spec=$lt_whole_archive_flag_spec
- # Whether the compiler copes with passing no objects directly.
- compiler_needs_object=$lt_compiler_needs_object
- # Create an old-style archive from a shared archive.
- old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
- # Create a temporary old-style archive to link instead of a shared archive.
- old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
- # Commands used to build a shared archive.
- archive_cmds=$lt_archive_cmds
- archive_expsym_cmds=$lt_archive_expsym_cmds
- # Commands used to build a loadable module if different from building
- # a shared archive.
- module_cmds=$lt_module_cmds
- module_expsym_cmds=$lt_module_expsym_cmds
- # Whether we are building with GNU ld or not.
- with_gnu_ld=$lt_with_gnu_ld
- # Flag that allows shared libraries with undefined symbols to be built.
- allow_undefined_flag=$lt_allow_undefined_flag
- # Flag that enforces no undefined symbols.
- no_undefined_flag=$lt_no_undefined_flag
- # Flag to hardcode $libdir into a binary during linking.
- # This must work even if $libdir does not exist
- hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
- # If ld is used when linking, flag to hardcode $libdir into a binary
- # during linking. This must work even if $libdir does not exist.
- hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
- # Whether we need a single "-rpath" flag with a separated argument.
- hardcode_libdir_separator=$lt_hardcode_libdir_separator
- # Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
- # DIR into the resulting binary.
- hardcode_direct=$hardcode_direct
- # Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
- # DIR into the resulting binary and the resulting library dependency is
- # "absolute",i.e impossible to change by setting ${shlibpath_var} if the
- # library is relocated.
- hardcode_direct_absolute=$hardcode_direct_absolute
- # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
- # into the resulting binary.
- hardcode_minus_L=$hardcode_minus_L
- # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
- # into the resulting binary.
- hardcode_shlibpath_var=$hardcode_shlibpath_var
- # Set to "yes" if building a shared library automatically hardcodes DIR
- # into the library and all subsequent libraries and executables linked
- # against it.
- hardcode_automatic=$hardcode_automatic
- # Set to yes if linker adds runtime paths of dependent libraries
- # to runtime path list.
- inherit_rpath=$inherit_rpath
- # Whether libtool must link a program against all its dependency libraries.
- link_all_deplibs=$link_all_deplibs
- # Fix the shell variable $srcfile for the compiler.
- fix_srcfile_path=$lt_fix_srcfile_path
- # Set to "yes" if exported symbols are required.
- always_export_symbols=$always_export_symbols
- # The commands to list exported symbols.
- export_symbols_cmds=$lt_export_symbols_cmds
- # Symbols that should not be listed in the preloaded symbols.
- exclude_expsyms=$lt_exclude_expsyms
- # Symbols that must always be exported.
- include_expsyms=$lt_include_expsyms
- # Commands necessary for linking programs (against libraries) with templates.
- prelink_cmds=$lt_prelink_cmds
- # Specify filename containing input files.
- file_list_spec=$lt_file_list_spec
- # How to hardcode a shared library path into an executable.
- hardcode_action=$hardcode_action
- # The directories searched by this compiler when creating a shared library.
- compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
- # Dependencies to place before and after the objects being linked to
- # create a shared library.
- predep_objects=$lt_predep_objects
- postdep_objects=$lt_postdep_objects
- predeps=$lt_predeps
- postdeps=$lt_postdeps
- # The library search path used internally by the compiler when linking
- # a shared library.
- compiler_lib_search_path=$lt_compiler_lib_search_path
- # ### END LIBTOOL CONFIG
- _LT_EOF
- case $host_os in
- aix3*)
- cat <<_LT_EOF >> "$cfgfile"
- # AIX sometimes has problems with the GCC collect2 program. For some
- # reason, if we set the COLLECT_NAMES environment variable, the problems
- # vanish in a puff of smoke.
- if test "X${COLLECT_NAMES+set}" != Xset; then
- COLLECT_NAMES=
- export COLLECT_NAMES
- fi
- _LT_EOF
- ;;
- esac
- ltmain="$ac_aux_dir/ltmain.sh"
- # We use sed instead of cat because bash on DJGPP gets confused if
- # if finds mixed CR/LF and LF-only lines. Since sed operates in
- # text mode, it properly converts lines to CR/LF. This bash problem
- # is reportedly fixed, but why not run on old versions too?
- sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile"
- || (rm -f "$cfgfile"; exit 1)
- case $xsi_shell in
- yes)
- cat << _LT_EOF >> "$cfgfile"
- # func_dirname file append nondir_replacement
- # Compute the dirname of FILE. If nonempty, add APPEND to the result,
- # otherwise set result to NONDIR_REPLACEMENT.
- func_dirname ()
- {
- case ${1} in
- */*) func_dirname_result="${1%/*}${2}" ;;
- * ) func_dirname_result="${3}" ;;
- esac
- }
- # func_basename file
- func_basename ()
- {
- func_basename_result="${1##*/}"
- }
- # func_dirname_and_basename file append nondir_replacement
- # perform func_basename and func_dirname in a single function
- # call:
- # dirname: Compute the dirname of FILE. If nonempty,
- # add APPEND to the result, otherwise set result
- # to NONDIR_REPLACEMENT.
- # value returned in "$func_dirname_result"
- # basename: Compute filename of FILE.
- # value retuned in "$func_basename_result"
- # Implementation must be kept synchronized with func_dirname
- # and func_basename. For efficiency, we do not delegate to
- # those functions but instead duplicate the functionality here.
- func_dirname_and_basename ()
- {
- case ${1} in
- */*) func_dirname_result="${1%/*}${2}" ;;
- * ) func_dirname_result="${3}" ;;
- esac
- func_basename_result="${1##*/}"
- }
- # func_stripname prefix suffix name
- # strip PREFIX and SUFFIX off of NAME.
- # PREFIX and SUFFIX must not contain globbing or regex special
- # characters, hashes, percent signs, but SUFFIX may contain a leading
- # dot (in which case that matches only a dot).
- func_stripname ()
- {
- # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
- # positional parameters, so assign one to ordinary parameter first.
- func_stripname_result=${3}
- func_stripname_result=${func_stripname_result#"${1}"}
- func_stripname_result=${func_stripname_result%"${2}"}
- }
- # func_opt_split
- func_opt_split ()
- {
- func_opt_split_opt=${1%%=*}
- func_opt_split_arg=${1#*=}
- }
- # func_lo2o object
- func_lo2o ()
- {
- case ${1} in
- *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
- *) func_lo2o_result=${1} ;;
- esac
- }
- # func_xform libobj-or-source
- func_xform ()
- {
- func_xform_result=${1%.*}.lo
- }
- # func_arith arithmetic-term...
- func_arith ()
- {
- func_arith_result=$(( $* ))
- }
- # func_len string
- # STRING may not start with a hyphen.
- func_len ()
- {
- func_len_result=${#1}
- }
- _LT_EOF
- ;;
- *) # Bourne compatible functions.
- cat << _LT_EOF >> "$cfgfile"
- # func_dirname file append nondir_replacement
- # Compute the dirname of FILE. If nonempty, add APPEND to the result,
- # otherwise set result to NONDIR_REPLACEMENT.
- func_dirname ()
- {
- # Extract subdirectory from the argument.
- func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
- if test "X$func_dirname_result" = "X${1}"; then
- func_dirname_result="${3}"
- else
- func_dirname_result="$func_dirname_result${2}"
- fi
- }
- # func_basename file
- func_basename ()
- {
- func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
- }
- # func_stripname prefix suffix name
- # strip PREFIX and SUFFIX off of NAME.
- # PREFIX and SUFFIX must not contain globbing or regex special
- # characters, hashes, percent signs, but SUFFIX may contain a leading
- # dot (in which case that matches only a dot).
- # func_strip_suffix prefix name
- func_stripname ()
- {
- case ${2} in
- .*) func_stripname_result=`$ECHO "X${3}"
- | $Xsed -e "s%^${1}%%" -e "s%\\${2}$%%"`;;
- *) func_stripname_result=`$ECHO "X${3}"
- | $Xsed -e "s%^${1}%%" -e "s%${2}$%%"`;;
- esac
- }
- # sed scripts:
- my_sed_long_opt='1s/^(-[^=]*)=.*/1/;q'
- my_sed_long_arg='1s/^-[^=]*=//'
- # func_opt_split
- func_opt_split ()
- {
- func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
- func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
- }
- # func_lo2o object
- func_lo2o ()
- {
- func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
- }
- # func_xform libobj-or-source
- func_xform ()
- {
- func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/.[^.]*$/.lo/'`
- }
- # func_arith arithmetic-term...
- func_arith ()
- {
- func_arith_result=`expr "$@"`
- }
- # func_len string
- # STRING may not start with a hyphen.
- func_len ()
- {
- func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
- }
- _LT_EOF
- esac
- case $lt_shell_append in
- yes)
- cat << _LT_EOF >> "$cfgfile"
- # func_append var value
- # Append VALUE to the end of shell variable VAR.
- func_append ()
- {
- eval "$1+=$2"
- }
- _LT_EOF
- ;;
- *)
- cat << _LT_EOF >> "$cfgfile"
- # func_append var value
- # Append VALUE to the end of shell variable VAR.
- func_append ()
- {
- eval "$1=$$1$2"
- }
- _LT_EOF
- ;;
- esac
- sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile"
- || (rm -f "$cfgfile"; exit 1)
- mv -f "$cfgfile" "$ofile" ||
- (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
- chmod +x "$ofile"
- cat <<_LT_EOF >> "$ofile"
- # ### BEGIN LIBTOOL TAG CONFIG: CXX
- # The linker used to build libraries.
- LD=$lt_LD_CXX
- # Commands used to build an old-style archive.
- old_archive_cmds=$lt_old_archive_cmds_CXX
- # A language specific compiler.
- CC=$lt_compiler_CXX
- # Is the compiler the GNU compiler?
- with_gcc=$GCC_CXX
- # Compiler flag to turn off builtin functions.
- no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
- # How to pass a linker flag through the compiler.
- wl=$lt_lt_prog_compiler_wl_CXX
- # Additional compiler flags for building library objects.
- pic_flag=$lt_lt_prog_compiler_pic_CXX
- # Compiler flag to prevent dynamic linking.
- link_static_flag=$lt_lt_prog_compiler_static_CXX
- # Does compiler simultaneously support -c and -o options?
- compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
- # Whether or not to add -lc for building shared libraries.
- build_libtool_need_lc=$archive_cmds_need_lc_CXX
- # Whether or not to disallow shared libs when runtime libs are static.
- allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
- # Compiler flag to allow reflexive dlopens.
- export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
- # Compiler flag to generate shared objects directly from archives.
- whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
- # Whether the compiler copes with passing no objects directly.
- compiler_needs_object=$lt_compiler_needs_object_CXX
- # Create an old-style archive from a shared archive.
- old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
- # Create a temporary old-style archive to link instead of a shared archive.
- old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
- # Commands used to build a shared archive.
- archive_cmds=$lt_archive_cmds_CXX
- archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
- # Commands used to build a loadable module if different from building
- # a shared archive.
- module_cmds=$lt_module_cmds_CXX
- module_expsym_cmds=$lt_module_expsym_cmds_CXX
- # Whether we are building with GNU ld or not.
- with_gnu_ld=$lt_with_gnu_ld_CXX
- # Flag that allows shared libraries with undefined symbols to be built.
- allow_undefined_flag=$lt_allow_undefined_flag_CXX
- # Flag that enforces no undefined symbols.
- no_undefined_flag=$lt_no_undefined_flag_CXX
- # Flag to hardcode $libdir into a binary during linking.
- # This must work even if $libdir does not exist
- hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
- # If ld is used when linking, flag to hardcode $libdir into a binary
- # during linking. This must work even if $libdir does not exist.
- hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
- # Whether we need a single "-rpath" flag with a separated argument.
- hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
- # Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
- # DIR into the resulting binary.
- hardcode_direct=$hardcode_direct_CXX
- # Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
- # DIR into the resulting binary and the resulting library dependency is
- # "absolute",i.e impossible to change by setting ${shlibpath_var} if the
- # library is relocated.
- hardcode_direct_absolute=$hardcode_direct_absolute_CXX
- # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
- # into the resulting binary.
- hardcode_minus_L=$hardcode_minus_L_CXX
- # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
- # into the resulting binary.
- hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
- # Set to "yes" if building a shared library automatically hardcodes DIR
- # into the library and all subsequent libraries and executables linked
- # against it.
- hardcode_automatic=$hardcode_automatic_CXX
- # Set to yes if linker adds runtime paths of dependent libraries
- # to runtime path list.
- inherit_rpath=$inherit_rpath_CXX
- # Whether libtool must link a program against all its dependency libraries.
- link_all_deplibs=$link_all_deplibs_CXX
- # Fix the shell variable $srcfile for the compiler.
- fix_srcfile_path=$lt_fix_srcfile_path_CXX
- # Set to "yes" if exported symbols are required.
- always_export_symbols=$always_export_symbols_CXX
- # The commands to list exported symbols.
- export_symbols_cmds=$lt_export_symbols_cmds_CXX
- # Symbols that should not be listed in the preloaded symbols.
- exclude_expsyms=$lt_exclude_expsyms_CXX
- # Symbols that must always be exported.
- include_expsyms=$lt_include_expsyms_CXX
- # Commands necessary for linking programs (against libraries) with templates.
- prelink_cmds=$lt_prelink_cmds_CXX
- # Specify filename containing input files.
- file_list_spec=$lt_file_list_spec_CXX
- # How to hardcode a shared library path into an executable.
- hardcode_action=$hardcode_action_CXX
- # The directories searched by this compiler when creating a shared library.
- compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
- # Dependencies to place before and after the objects being linked to
- # create a shared library.
- predep_objects=$lt_predep_objects_CXX
- postdep_objects=$lt_postdep_objects_CXX
- predeps=$lt_predeps_CXX
- postdeps=$lt_postdeps_CXX
- # The library search path used internally by the compiler when linking
- # a shared library.
- compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
- # ### END LIBTOOL TAG CONFIG: CXX
- _LT_EOF
- cat <<_LT_EOF >> "$ofile"
- # ### BEGIN LIBTOOL TAG CONFIG: F77
- # The linker used to build libraries.
- LD=$lt_LD_F77
- # Commands used to build an old-style archive.
- old_archive_cmds=$lt_old_archive_cmds_F77
- # A language specific compiler.
- CC=$lt_compiler_F77
- # Is the compiler the GNU compiler?
- with_gcc=$GCC_F77
- # Compiler flag to turn off builtin functions.
- no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
- # How to pass a linker flag through the compiler.
- wl=$lt_lt_prog_compiler_wl_F77
- # Additional compiler flags for building library objects.
- pic_flag=$lt_lt_prog_compiler_pic_F77
- # Compiler flag to prevent dynamic linking.
- link_static_flag=$lt_lt_prog_compiler_static_F77
- # Does compiler simultaneously support -c and -o options?
- compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
- # Whether or not to add -lc for building shared libraries.
- build_libtool_need_lc=$archive_cmds_need_lc_F77
- # Whether or not to disallow shared libs when runtime libs are static.
- allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
- # Compiler flag to allow reflexive dlopens.
- export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
- # Compiler flag to generate shared objects directly from archives.
- whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
- # Whether the compiler copes with passing no objects directly.
- compiler_needs_object=$lt_compiler_needs_object_F77
- # Create an old-style archive from a shared archive.
- old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
- # Create a temporary old-style archive to link instead of a shared archive.
- old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
- # Commands used to build a shared archive.
- archive_cmds=$lt_archive_cmds_F77
- archive_expsym_cmds=$lt_archive_expsym_cmds_F77
- # Commands used to build a loadable module if different from building
- # a shared archive.
- module_cmds=$lt_module_cmds_F77
- module_expsym_cmds=$lt_module_expsym_cmds_F77
- # Whether we are building with GNU ld or not.
- with_gnu_ld=$lt_with_gnu_ld_F77
- # Flag that allows shared libraries with undefined symbols to be built.
- allow_undefined_flag=$lt_allow_undefined_flag_F77
- # Flag that enforces no undefined symbols.
- no_undefined_flag=$lt_no_undefined_flag_F77
- # Flag to hardcode $libdir into a binary during linking.
- # This must work even if $libdir does not exist
- hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
- # If ld is used when linking, flag to hardcode $libdir into a binary
- # during linking. This must work even if $libdir does not exist.
- hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
- # Whether we need a single "-rpath" flag with a separated argument.
- hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
- # Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
- # DIR into the resulting binary.
- hardcode_direct=$hardcode_direct_F77
- # Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
- # DIR into the resulting binary and the resulting library dependency is
- # "absolute",i.e impossible to change by setting ${shlibpath_var} if the
- # library is relocated.
- hardcode_direct_absolute=$hardcode_direct_absolute_F77
- # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
- # into the resulting binary.
- hardcode_minus_L=$hardcode_minus_L_F77
- # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
- # into the resulting binary.
- hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
- # Set to "yes" if building a shared library automatically hardcodes DIR
- # into the library and all subsequent libraries and executables linked
- # against it.
- hardcode_automatic=$hardcode_automatic_F77
- # Set to yes if linker adds runtime paths of dependent libraries
- # to runtime path list.
- inherit_rpath=$inherit_rpath_F77
- # Whether libtool must link a program against all its dependency libraries.
- link_all_deplibs=$link_all_deplibs_F77
- # Fix the shell variable $srcfile for the compiler.
- fix_srcfile_path=$lt_fix_srcfile_path_F77
- # Set to "yes" if exported symbols are required.
- always_export_symbols=$always_export_symbols_F77
- # The commands to list exported symbols.
- export_symbols_cmds=$lt_export_symbols_cmds_F77
- # Symbols that should not be listed in the preloaded symbols.
- exclude_expsyms=$lt_exclude_expsyms_F77
- # Symbols that must always be exported.
- include_expsyms=$lt_include_expsyms_F77
- # Commands necessary for linking programs (against libraries) with templates.
- prelink_cmds=$lt_prelink_cmds_F77
- # Specify filename containing input files.
- file_list_spec=$lt_file_list_spec_F77
- # How to hardcode a shared library path into an executable.
- hardcode_action=$hardcode_action_F77
- # The directories searched by this compiler when creating a shared library.
- compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
- # Dependencies to place before and after the objects being linked to
- # create a shared library.
- predep_objects=$lt_predep_objects_F77
- postdep_objects=$lt_postdep_objects_F77
- predeps=$lt_predeps_F77
- postdeps=$lt_postdeps_F77
- # The library search path used internally by the compiler when linking
- # a shared library.
- compiler_lib_search_path=$lt_compiler_lib_search_path_F77
- # ### END LIBTOOL TAG CONFIG: F77
- _LT_EOF
- ;;
- esac
- done # for ac_tag
- as_fn_exit 0
- _ACEOF
- ac_clean_files=$ac_clean_files_save
- test $ac_write_fail = 0 ||
- as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
- # configure is writing to config.log, and then calls config.status.
- # config.status does its own redirection, appending to config.log.
- # Unfortunately, on DOS this fails, as config.log is still kept open
- # by configure, so config.status won't be able to write to it; its
- # output is simply discarded. So we exec the FD to /dev/null,
- # effectively closing config.log, so it can be properly (re)opened and
- # appended to by config.status. When coming back to configure, we
- # need to make the FD available again.
- if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit $?
- fi
- if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
- $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
- fi