2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for GNU nano 2.2.6.
5 # Report bugs to <nano-devel@gnu.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and nano-devel@gnu.org
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
322 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir
-p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix
=/usr
/local
545 ac_config_libobj_dir
=.
552 # Identity of this package.
553 PACKAGE_NAME
='GNU nano'
554 PACKAGE_TARNAME
='nano'
555 PACKAGE_VERSION
='2.2.6'
556 PACKAGE_STRING
='GNU nano 2.2.6'
557 PACKAGE_BUGREPORT
='nano-devel@gnu.org'
558 PACKAGE_URL
='http://www.gnu.org/software/nano/'
560 ac_unique_file
="src/nano.c"
561 # Factoring default headers for most tests.
562 ac_includes_default
="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
597 ac_subst_vars
='am__EXEEXT_FALSE
657 INSTALL_STRIP_PROGRAM
711 program_transform_name
724 enable_option_checking
725 enable_dependency_tracking
743 enable_wrapping_as_root
753 ac_precious_vars
='build_alias
764 # Initialize some variables set by options.
766 ac_init_version
=false
767 ac_unrecognized_opts
=
769 # The variables have the same names as the options, with
770 # dashes changed to underlines.
778 program_transform_name
=s
,x
,x
,
786 # Installation directory options.
787 # These are left unexpanded so users can "make install exec_prefix=/foo"
788 # and all the variables that are supposed to be based on exec_prefix
789 # by default will actually change.
790 # Use braces instead of parens because sh, perl, etc. also accept them.
791 # (The list follows the same order as the GNU Coding Standards.)
792 bindir
='${exec_prefix}/bin'
793 sbindir
='${exec_prefix}/sbin'
794 libexecdir
='${exec_prefix}/libexec'
795 datarootdir
='${prefix}/share'
796 datadir
='${datarootdir}'
797 sysconfdir
='${prefix}/etc'
798 sharedstatedir
='${prefix}/com'
799 localstatedir
='${prefix}/var'
800 includedir
='${prefix}/include'
801 oldincludedir
='/usr/include'
802 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
803 infodir
='${datarootdir}/info'
808 libdir
='${exec_prefix}/lib'
809 localedir
='${datarootdir}/locale'
810 mandir
='${datarootdir}/man'
816 # If the previous option needs an argument, assign it.
817 if test -n "$ac_prev"; then
818 eval $ac_prev=\
$ac_option
824 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828 # Accept the important Cygnus configure options, so we can diagnose typos.
830 case $ac_dashdash$ac_option in
834 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
836 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
839 -build |
--build |
--buil |
--bui |
--bu)
840 ac_prev
=build_alias
;;
841 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
842 build_alias
=$ac_optarg ;;
844 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
845 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
846 ac_prev
=cache_file
;;
847 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
848 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
849 cache_file
=$ac_optarg ;;
852 cache_file
=config.cache
;;
854 -datadir |
--datadir |
--datadi |
--datad)
856 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
857 datadir
=$ac_optarg ;;
859 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
860 |
--dataroo |
--dataro |
--datar)
861 ac_prev
=datarootdir
;;
862 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
863 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
864 datarootdir
=$ac_optarg ;;
866 -disable-* |
--disable-*)
867 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
868 # Reject names that are not valid shell variable names.
869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
870 as_fn_error
"invalid feature name: $ac_useropt"
871 ac_useropt_orig
=$ac_useropt
872 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873 case $ac_user_opts in
877 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
878 ac_unrecognized_sep
=', ';;
880 eval enable_
$ac_useropt=no
;;
882 -docdir |
--docdir |
--docdi |
--doc |
--do)
884 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
887 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
889 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
892 -enable-* |
--enable-*)
893 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
896 as_fn_error
"invalid feature name: $ac_useropt"
897 ac_useropt_orig
=$ac_useropt
898 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899 case $ac_user_opts in
903 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
904 ac_unrecognized_sep
=', ';;
906 eval enable_
$ac_useropt=\
$ac_optarg ;;
908 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
909 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
910 |
--exec |
--exe |
--ex)
911 ac_prev
=exec_prefix
;;
912 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
913 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
914 |
--exec=* |
--exe=* |
--ex=*)
915 exec_prefix
=$ac_optarg ;;
917 -gas |
--gas |
--ga |
--g)
918 # Obsolete; use --with-gas.
921 -help |
--help |
--hel |
--he |
-h)
923 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
924 ac_init_help
=recursive
;;
925 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
926 ac_init_help
=short
;;
928 -host |
--host |
--hos |
--ho)
929 ac_prev
=host_alias
;;
930 -host=* |
--host=* |
--hos=* |
--ho=*)
931 host_alias
=$ac_optarg ;;
933 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
935 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
937 htmldir
=$ac_optarg ;;
939 -includedir |
--includedir |
--includedi |
--included |
--include \
940 |
--includ |
--inclu |
--incl |
--inc)
941 ac_prev
=includedir
;;
942 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
943 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
944 includedir
=$ac_optarg ;;
946 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
948 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
949 infodir
=$ac_optarg ;;
951 -libdir |
--libdir |
--libdi |
--libd)
953 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
956 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
957 |
--libexe |
--libex |
--libe)
958 ac_prev
=libexecdir
;;
959 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
960 |
--libexe=* |
--libex=* |
--libe=*)
961 libexecdir
=$ac_optarg ;;
963 -localedir |
--localedir |
--localedi |
--localed |
--locale)
965 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
966 localedir
=$ac_optarg ;;
968 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
969 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
970 ac_prev
=localstatedir
;;
971 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
972 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
973 localstatedir
=$ac_optarg ;;
975 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
977 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
981 # Obsolete; use --without-fp.
984 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
985 |
--no-cr |
--no-c |
-n)
988 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
989 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
992 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
993 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
994 |
--oldin |
--oldi |
--old |
--ol |
--o)
995 ac_prev
=oldincludedir
;;
996 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
997 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
998 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
999 oldincludedir
=$ac_optarg ;;
1001 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1003 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1004 prefix
=$ac_optarg ;;
1006 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1007 |
--program-pre |
--program-pr |
--program-p)
1008 ac_prev
=program_prefix
;;
1009 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1010 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1011 program_prefix
=$ac_optarg ;;
1013 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1014 |
--program-suf |
--program-su |
--program-s)
1015 ac_prev
=program_suffix
;;
1016 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1017 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1018 program_suffix
=$ac_optarg ;;
1020 -program-transform-name |
--program-transform-name \
1021 |
--program-transform-nam |
--program-transform-na \
1022 |
--program-transform-n |
--program-transform- \
1023 |
--program-transform |
--program-transfor \
1024 |
--program-transfo |
--program-transf \
1025 |
--program-trans |
--program-tran \
1026 |
--progr-tra |
--program-tr |
--program-t)
1027 ac_prev
=program_transform_name
;;
1028 -program-transform-name=* |
--program-transform-name=* \
1029 |
--program-transform-nam=* |
--program-transform-na=* \
1030 |
--program-transform-n=* |
--program-transform-=* \
1031 |
--program-transform=* |
--program-transfor=* \
1032 |
--program-transfo=* |
--program-transf=* \
1033 |
--program-trans=* |
--program-tran=* \
1034 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1035 program_transform_name
=$ac_optarg ;;
1037 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1039 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1040 pdfdir
=$ac_optarg ;;
1042 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1044 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1047 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1048 |
-silent |
--silent |
--silen |
--sile |
--sil)
1051 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1053 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1055 sbindir
=$ac_optarg ;;
1057 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1058 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1059 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1061 ac_prev
=sharedstatedir
;;
1062 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1063 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1064 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1066 sharedstatedir
=$ac_optarg ;;
1068 -site |
--site |
--sit)
1070 -site=* |
--site=* |
--sit=*)
1073 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1075 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1076 srcdir
=$ac_optarg ;;
1078 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1079 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1080 ac_prev
=sysconfdir
;;
1081 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1082 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1083 sysconfdir
=$ac_optarg ;;
1085 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1086 ac_prev
=target_alias
;;
1087 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1088 target_alias
=$ac_optarg ;;
1090 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1093 -version |
--version |
--versio |
--versi |
--vers |
-V)
1094 ac_init_version
=: ;;
1097 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1100 as_fn_error
"invalid package name: $ac_useropt"
1101 ac_useropt_orig
=$ac_useropt
1102 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1107 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1108 ac_unrecognized_sep
=', ';;
1110 eval with_
$ac_useropt=\
$ac_optarg ;;
1112 -without-* |
--without-*)
1113 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1116 as_fn_error
"invalid package name: $ac_useropt"
1117 ac_useropt_orig
=$ac_useropt
1118 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1124 ac_unrecognized_sep
=', ';;
1126 eval with_
$ac_useropt=no
;;
1129 # Obsolete; use --with-x.
1132 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1133 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1134 ac_prev
=x_includes
;;
1135 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1136 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1137 x_includes
=$ac_optarg ;;
1139 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1140 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1141 ac_prev
=x_libraries
;;
1142 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1143 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1144 x_libraries
=$ac_optarg ;;
1146 -*) as_fn_error
"unrecognized option: \`$ac_option'
1147 Try \`$0 --help' for more information."
1151 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 case $ac_envvar in #(
1154 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1155 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1157 eval $ac_envvar=\
$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1164 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1171 if test -n "$ac_prev"; then
1172 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1173 as_fn_error
"missing argument to $ac_option"
1176 if test -n "$ac_unrecognized_opts"; then
1177 case $enable_option_checking in
1179 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1180 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1184 # Check all directory arguments for consistency.
1185 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1186 datadir sysconfdir sharedstatedir localstatedir includedir \
1187 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1188 libdir localedir mandir
1190 eval ac_val
=\$
$ac_var
1191 # Remove trailing slashes.
1194 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1195 eval $ac_var=\
$ac_val;;
1197 # Be sure to have absolute directory names.
1199 [\\/$
]* | ?
:[\\/]* ) continue;;
1200 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1202 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1205 # There might be people who depend on the old broken behavior: `$host'
1206 # used to hold the argument of --host etc.
1207 # FIXME: To remove some day.
1210 target
=$target_alias
1212 # FIXME: To remove some day.
1213 if test "x$host_alias" != x
; then
1214 if test "x$build_alias" = x
; then
1215 cross_compiling
=maybe
1216 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1217 If a cross compiler is detected then cross compile mode will be used." >&2
1218 elif test "x$build_alias" != "x$host_alias"; then
1224 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1226 test "$silent" = yes && exec 6>/dev
/null
1229 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1230 ac_ls_di
=`ls -di .` &&
1231 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1232 as_fn_error
"working directory cannot be determined"
1233 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1234 as_fn_error
"pwd does not report name of working directory"
1237 # Find the source files, if location was not specified.
1238 if test -z "$srcdir"; then
1239 ac_srcdir_defaulted
=yes
1240 # Try the directory containing this script, then the parent directory.
1241 ac_confdir
=`$as_dirname -- "$as_myself" ||
1242 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1243 X"$as_myself" : 'X\(//\)[^/]' \| \
1244 X"$as_myself" : 'X\(//\)$' \| \
1245 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1246 $as_echo X"$as_myself" |
1247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1265 if test ! -r "$srcdir/$ac_unique_file"; then
1269 ac_srcdir_defaulted
=no
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1272 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1273 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1275 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1277 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1279 # When building in place, set srcdir=.
1280 if test "$ac_abs_confdir" = "$ac_pwd"; then
1283 # Remove unnecessary trailing slashes from srcdir.
1284 # Double slashes in file names in object file debugging info
1285 # mess up M-x gdb in Emacs.
1287 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1289 for ac_var
in $ac_precious_vars; do
1290 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1291 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1292 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1293 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1297 # Report the --help message.
1299 if test "$ac_init_help" = "long"; then
1300 # Omit some internal or obsolete options to make the list less imposing.
1301 # This message is too long to be a string in the A/UX 3.1 sh.
1303 \`configure' configures GNU nano 2.2.6 to adapt to many kinds of systems.
1305 Usage: $0 [OPTION]... [VAR=VALUE]...
1307 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1308 VAR=VALUE. See below for descriptions of some of the useful variables.
1310 Defaults for the options are specified in brackets.
1313 -h, --help display this help and exit
1314 --help=short display options specific to this package
1315 --help=recursive display the short help of all the included packages
1316 -V, --version display version information and exit
1317 -q, --quiet, --silent do not print \`checking...' messages
1318 --cache-file=FILE cache test results in FILE [disabled]
1319 -C, --config-cache alias for \`--cache-file=config.cache'
1320 -n, --no-create do not create output files
1321 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1323 Installation directories:
1324 --prefix=PREFIX install architecture-independent files in PREFIX
1325 [$ac_default_prefix]
1326 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1329 By default, \`make install' will install all the files in
1330 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1331 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1332 for instance \`--prefix=\$HOME'.
1334 For better control, use the options below.
1336 Fine tuning of the installation directories:
1337 --bindir=DIR user executables [EPREFIX/bin]
1338 --sbindir=DIR system admin executables [EPREFIX/sbin]
1339 --libexecdir=DIR program executables [EPREFIX/libexec]
1340 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1341 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1342 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1343 --libdir=DIR object code libraries [EPREFIX/lib]
1344 --includedir=DIR C header files [PREFIX/include]
1345 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1346 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1347 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1348 --infodir=DIR info documentation [DATAROOTDIR/info]
1349 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1350 --mandir=DIR man documentation [DATAROOTDIR/man]
1351 --docdir=DIR documentation root [DATAROOTDIR/doc/nano]
1352 --htmldir=DIR html documentation [DOCDIR]
1353 --dvidir=DIR dvi documentation [DOCDIR]
1354 --pdfdir=DIR pdf documentation [DOCDIR]
1355 --psdir=DIR ps documentation [DOCDIR]
1361 --program-prefix=PREFIX prepend PREFIX to installed program names
1362 --program-suffix=SUFFIX append SUFFIX to installed program names
1363 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1366 --build=BUILD configure
for building on BUILD
[guessed
]
1367 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1368 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1372 if test -n "$ac_init_help"; then
1373 case $ac_init_help in
1374 short | recursive
) echo "Configuration of GNU nano 2.2.6:";;
1379 --disable-option-checking ignore unrecognized
--enable/--with options
1380 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1381 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1382 --disable-dependency-tracking speeds up one-time build
1383 --enable-dependency-tracking do not reject slow dependency extractors
1384 --disable-largefile omit support
for large files
1385 --disable-rpath do not hardcode runtime library paths
1386 --disable-nls do not use Native Language Support
1387 --enable-debug Enable debugging
(disabled by default
)
1388 --enable-tiny Disable features
for the sake of size
1389 --disable-extra Disable extra features
, currently only easter eggs
1390 --disable-browser Disable built-in
file browser
1391 --disable-help Disable
help functions
1392 --disable-justify Disable justify
/unjustify functions
1393 --disable-mouse Disable mouse support
(and
-m flag
)
1394 --disable-operatingdir Disable setting of operating directory
(chroot of sorts
)
1395 --disable-speller Disable spell checker functions
1396 --disable-tabcomp Disable tab completion functions
1397 --disable-wrapping Disable all wrapping of text
(and
-w flag
)
1398 --disable-wrapping-as-root Disable wrapping of text as root by default
1399 --disable-color Disable color and syntax highlighting
1400 --disable-multibuffer Disable multiple
file buffers
1401 --disable-nanorc Disable use of .nanorc files
1402 --enable-all Enable ALL extra nano functionality
(ignored
for compatibility as all options default to on
)
1403 --enable-utf8 Enable UTF-8 support
1404 --enable-altrcname Specify alternate rcfile name
(default
: .nanorc
)
1405 --disable-glibtest do not try to compile and run a
test GLIB program
1408 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1409 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1410 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1411 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1412 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1413 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
1414 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1415 --with-slang=DIR Use the slang library instead of curses
1417 Some influential environment variables
:
1418 CC C compiler
command
1419 CFLAGS C compiler flags
1420 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1421 nonstandard directory
<lib dir
>
1422 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1423 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1424 you have headers
in a nonstandard directory
<include dir
>
1427 Use these variables to override the choices made by
`configure' or to help
1428 it to find libraries and programs with nonstandard names/locations.
1430 Report bugs to <nano-devel@gnu.org>.
1431 GNU nano home page: <http://www.gnu.org/software/nano/>.
1432 General help using GNU software: <http://www.gnu.org/gethelp/>.
1437 if test "$ac_init_help" = "recursive"; then
1438 # If there are subdirs, report their specific --help.
1439 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1440 test -d "$ac_dir" ||
1441 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1449 # A ".." for each directory in $ac_dir_suffix.
1450 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1451 case $ac_top_builddir_sub in
1452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1456 ac_abs_top_builddir=$ac_pwd
1457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir=$ac_top_build_prefix
1462 .) # We are building in place.
1464 ac_top_srcdir=$ac_top_builddir_sub
1465 ac_abs_top_srcdir=$ac_pwd ;;
1466 [\\/]* | ?:[\\/]* ) # Absolute name.
1467 ac_srcdir=$srcdir$ac_dir_suffix;
1468 ac_top_srcdir=$srcdir
1469 ac_abs_top_srcdir=$srcdir ;;
1471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472 ac_top_srcdir=$ac_top_build_prefix$srcdir
1473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1477 cd "$ac_dir" || { ac_status=$?; continue; }
1478 # Check for guested configure.
1479 if test -f "$ac_srcdir/configure.gnu"; then
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1486 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1488 cd "$ac_pwd" || { ac_status=$?; break; }
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1495 GNU nano configure 2.2.6
1496 generated by GNU Autoconf 2.65
1498 Copyright (C) 2009 Free Software Foundation, Inc.
1499 This configure script is free software; the Free Software Foundation
1500 gives unlimited permission to copy, distribute and modify it.
1505 ## ------------------------ ##
1506 ## Autoconf initialization. ##
1507 ## ------------------------ ##
1509 # ac_fn_c_try_compile LINENO
1510 # --------------------------
1511 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1512 ac_fn_c_try_compile ()
1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515 rm -f conftest.$ac_objext
1516 if { { ac_try="$ac_compile"
1518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1519 *) ac_try_echo
=$ac_try;;
1521 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 $as_echo "$ac_try_echo"; } >&5
1523 (eval "$ac_compile") 2>conftest.err
1525 if test -s conftest.err
; then
1526 grep -v '^ *+' conftest.err
>conftest.er1
1527 cat conftest.er1
>&5
1528 mv -f conftest.er1 conftest.err
1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1531 test $ac_status = 0; } && {
1532 test -z "$ac_c_werror_flag" ||
1533 test ! -s conftest.err
1534 } && test -s conftest.
$ac_objext; then :
1537 $as_echo "$as_me: failed program was:" >&5
1538 sed 's/^/| /' conftest.
$ac_ext >&5
1542 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1543 as_fn_set_status
$ac_retval
1545 } # ac_fn_c_try_compile
1547 # ac_fn_c_try_cpp LINENO
1548 # ----------------------
1549 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1552 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1553 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1556 *) ac_try_echo=$ac_try;;
1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1562 if test -s conftest.err; then
1563 grep -v '^ *+' conftest.err >conftest.er1
1564 cat conftest.er1 >&5
1565 mv -f conftest.er1 conftest.err
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } >/dev/null && {
1569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1570 test ! -s conftest.err
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.$ac_ext >&5
1579 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1580 as_fn_set_status $ac_retval
1584 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1585 # -------------------------------------------------------
1586 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1587 # the include files in INCLUDES and setting the cache variable VAR
1589 ac_fn_c_check_header_mongrel ()
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1594 $as_echo_n "checking for $2... " >&6; }
1595 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1596 $as_echo_n "(cached) " >&6
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1600 $as_echo "$ac_res" >&6; }
1602 # Is the header compilable?
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1604 $as_echo_n "checking $2 usability... " >&6; }
1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1606 /* end confdefs.h. */
1610 if ac_fn_c_try_compile "$LINENO"; then :
1611 ac_header_compiler=yes
1613 ac_header_compiler=no
1615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1617 $as_echo "$ac_header_compiler" >&6; }
1619 # Is the header present?
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1621 $as_echo_n "checking $2 presence... " >&6; }
1622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1623 /* end confdefs.h. */
1626 if ac_fn_c_try_cpp "$LINENO"; then :
1627 ac_header_preproc=yes
1629 ac_header_preproc=no
1631 rm -f conftest.err conftest.$ac_ext
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1633 $as_echo "$ac_header_preproc" >&6; }
1635 # So? What about this header?
1636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1639 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1645 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1647 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1649 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1651 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1655 ## --------------------------------- ##
1656 ## Report this to nano-devel@gnu.org ##
1657 ## --------------------------------- ##
1659 ) | sed "s/^/$as_me: WARNING: /" >&2
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1663 $as_echo_n "checking for $2... " >&6; }
1664 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1665 $as_echo_n "(cached) " >&6
1667 eval "$3=\$ac_header_compiler"
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1671 $as_echo "$ac_res" >&6; }
1673 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1675 } # ac_fn_c_check_header_mongrel
1677 # ac_fn_c_try_run LINENO
1678 # ----------------------
1679 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1680 # that executables *can* be run.
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 if { { ac_try="$ac_link"
1686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1687 *) ac_try_echo
=$ac_try;;
1689 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_link") 2>&5
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1695 { { case "(($ac_try" in
1696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_try") 2>&5
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; }; }; then :
1707 $as_echo "$as_me: program exited with status $ac_status" >&5
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1711 ac_retval=$ac_status
1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1715 as_fn_set_status $ac_retval
1719 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1720 # -------------------------------------------------------
1721 # Tests whether HEADER exists and can be compiled using the include files in
1722 # INCLUDES, setting the cache variable VAR accordingly.
1723 ac_fn_c_check_header_compile ()
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1729 $as_echo_n "(cached) " >&6
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1736 if ac_fn_c_try_compile "$LINENO"; then :
1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 } # ac_fn_c_check_header_compile
1750 # ac_fn_c_try_link LINENO
1751 # -----------------------
1752 # Try to link conftest.$ac_ext, and return whether this succeeded.
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext conftest$ac_exeext
1757 if { { ac_try="$ac_link"
1759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1760 *) ac_try_echo
=$ac_try;;
1762 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_link") 2>conftest.err
1766 if test -s conftest.err
; then
1767 grep -v '^ *+' conftest.err
>conftest.er1
1768 cat conftest.er1
>&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_c_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest
$ac_exeext && {
1776 test "$cross_compiling" = yes ||
1777 $as_test_x conftest
$ac_exeext
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.
$ac_ext >&5
1786 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1787 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1788 # interfere with the next link command; also delete a directory that is
1789 # left behind by Apple's compiler. We do this before executing the actions.
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1792 as_fn_set_status
$ac_retval
1794 } # ac_fn_c_try_link
1796 # ac_fn_c_check_func LINENO FUNC VAR
1797 # ----------------------------------
1798 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1799 ac_fn_c_check_func
()
1801 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1803 $as_echo_n "checking for $2... " >&6; }
1804 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1805 $as_echo_n "(cached) " >&6
1807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1809 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1811 #define $2 innocuous_$2
1813 /* System header to define __stub macros and hopefully few prototypes,
1814 which can conflict with char $2 (); below.
1815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1816 <limits.h> exists even on freestanding compilers. */
1819 # include <limits.h>
1821 # include <assert.h>
1826 /* Override any GCC internal prototype to avoid an error.
1827 Use char because int might match the return type of a GCC
1828 builtin and then its argument prototype would still apply. */
1833 /* The GNU C library defines this for functions which it implements
1834 to always fail with ENOSYS. Some functions are actually named
1835 something starting with __ and the normal name is an alias. */
1836 #if defined __stub_$2 || defined __stub___$2
1848 if ac_fn_c_try_link
"$LINENO"; then :
1853 rm -f core conftest.err conftest.
$ac_objext \
1854 conftest
$ac_exeext conftest.
$ac_ext
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1861 } # ac_fn_c_check_func
1862 cat >config.log
<<_ACEOF
1863 This file contains any messages produced by compilers while
1864 running configure, to aid debugging if configure makes a mistake.
1866 It was created by GNU nano $as_me 2.2.6, which was
1867 generated by GNU Autoconf 2.65. Invocation command line was
1879 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1880 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1881 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1882 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1883 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1885 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1886 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1888 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1889 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1890 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1891 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1892 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1893 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1894 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1902 test -z "$as_dir" && as_dir
=.
1903 $as_echo "PATH: $as_dir"
1919 # Keep a trace of the command line.
1920 # Strip out --no-create and --no-recursion so they do not pile up.
1921 # Strip out --silent because we don't want to record it for future runs.
1922 # Also quote any args containing shell meta-characters.
1923 # Make two passes to allow for proper duplicate-argument suppression.
1927 ac_must_keep_next
=false
1933 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1934 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1935 |
-silent |
--silent |
--silen |
--sile |
--sil)
1938 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1941 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1943 as_fn_append ac_configure_args1
" '$ac_arg'"
1944 if test $ac_must_keep_next = true
; then
1945 ac_must_keep_next
=false
# Got value, back to normal.
1948 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1949 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1950 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1951 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1952 case "$ac_configure_args0 " in
1953 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1956 -* ) ac_must_keep_next
=true
;;
1959 as_fn_append ac_configure_args
" '$ac_arg'"
1964 { ac_configure_args0
=; unset ac_configure_args0
;}
1965 { ac_configure_args1
=; unset ac_configure_args1
;}
1967 # When interrupted or exit'd, cleanup temporary files, and complete
1968 # config.log. We remove comments because anyway the quotes in there
1969 # would cause problems or look ugly.
1970 # WARNING: Use '\'' to represent an apostrophe within the trap.
1971 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1972 trap 'exit_status=$?
1973 # Save into config.log some information that might help in debugging.
1978 ## ---------------- ##
1979 ## Cache variables. ##
1980 ## ---------------- ##
1983 # The following way of writing the cache mishandles newlines in values,
1985 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1986 eval ac_val=\$$ac_var
1990 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1991 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1994 _ | IFS | as_nl) ;; #(
1995 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1996 *) { eval $ac_var=; unset $ac_var;} ;;
2001 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2002 *${as_nl}ac_space=\ *)
2004 "s/'\''/'\''\\\\'\'''\''/g;
2005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2008 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2016 ## ----------------- ##
2017 ## Output variables. ##
2018 ## ----------------- ##
2021 for ac_var in $ac_subst_vars
2023 eval ac_val=\$$ac_var
2025 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2027 $as_echo "$ac_var='\''$ac_val'\''"
2031 if test -n "$ac_subst_files"; then
2033 ## ------------------- ##
2034 ## File substitutions. ##
2035 ## ------------------- ##
2038 for ac_var
in $ac_subst_files
2040 eval ac_val
=\$
$ac_var
2042 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2044 $as_echo "$ac_var='\''$ac_val'\''"
2049 if test -s confdefs.h; then
2059 test "$ac_signal" != 0 &&
2060 $as_echo "$as_me: caught signal $ac_signal"
2061 $as_echo "$as_me: exit $exit_status"
2063 rm -f core *.core core.conftest.* &&
2064 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2067 for ac_signal
in 1 2 13 15; do
2068 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2072 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2073 rm -f -r conftest
* confdefs.h
2075 $as_echo "/* confdefs.h */" > confdefs.h
2077 # Predefined preprocessor variables.
2079 cat >>confdefs.h
<<_ACEOF
2080 #define PACKAGE_NAME "$PACKAGE_NAME"
2083 cat >>confdefs.h
<<_ACEOF
2084 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2087 cat >>confdefs.h
<<_ACEOF
2088 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2091 cat >>confdefs.h
<<_ACEOF
2092 #define PACKAGE_STRING "$PACKAGE_STRING"
2095 cat >>confdefs.h
<<_ACEOF
2096 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2099 cat >>confdefs.h
<<_ACEOF
2100 #define PACKAGE_URL "$PACKAGE_URL"
2104 # Let the site file select an alternate cache file if it wants to.
2105 # Prefer an explicitly selected file to automatically selected ones.
2108 if test -n "$CONFIG_SITE"; then
2109 ac_site_file1
=$CONFIG_SITE
2110 elif test "x$prefix" != xNONE
; then
2111 ac_site_file1
=$prefix/share
/config.site
2112 ac_site_file2
=$prefix/etc
/config.site
2114 ac_site_file1
=$ac_default_prefix/share
/config.site
2115 ac_site_file2
=$ac_default_prefix/etc
/config.site
2117 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2119 test "x$ac_site_file" = xNONE
&& continue
2120 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2122 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2123 sed 's/^/| /' "$ac_site_file" >&5
2128 if test -r "$cache_file"; then
2129 # Some versions of bash will fail to source /dev/null (special files
2130 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2131 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2133 $as_echo "$as_me: loading cache $cache_file" >&6;}
2135 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2136 *) .
"./$cache_file";;
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2141 $as_echo "$as_me: creating cache $cache_file" >&6;}
2145 # Check that the precious variables saved in the cache have kept the same
2147 ac_cache_corrupted
=false
2148 for ac_var
in $ac_precious_vars; do
2149 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2150 eval ac_new_set
=\
$ac_env_${ac_var}_set
2151 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2152 eval ac_new_val
=\
$ac_env_${ac_var}_value
2153 case $ac_old_set,$ac_new_set in
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2156 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2157 ac_cache_corrupted
=: ;;
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2160 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2161 ac_cache_corrupted
=: ;;
2164 if test "x$ac_old_val" != "x$ac_new_val"; then
2165 # differences in whitespace do not lead to failure.
2166 ac_old_val_w
=`echo x $ac_old_val`
2167 ac_new_val_w
=`echo x $ac_new_val`
2168 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2170 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2171 ac_cache_corrupted
=:
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2174 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2175 eval $ac_var=\
$ac_old_val
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2178 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2180 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2183 # Pass precious variables to config.status.
2184 if test "$ac_new_set" = set; then
2186 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2187 *) ac_arg
=$ac_var=$ac_new_val ;;
2189 case " $ac_configure_args " in
2190 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2191 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2195 if $ac_cache_corrupted; then
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2199 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2200 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2202 ## -------------------- ##
2203 ## Main body of script. ##
2204 ## -------------------- ##
2207 ac_cpp
='$CPP $CPPFLAGS'
2208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2215 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2216 for ac_t
in install-sh
install.sh shtool
; do
2217 if test -f "$ac_dir/$ac_t"; then
2219 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2224 if test -z "$ac_aux_dir"; then
2225 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2228 # These three variables are undocumented and unsupported,
2229 # and are intended to be withdrawn in a future Autoconf release.
2230 # They can cause serious problems if a builder's source tree is in a directory
2231 # whose full name contains unusual characters.
2232 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2233 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2234 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2237 # Make sure we can run config.sub.
2238 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2239 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2242 $as_echo_n "checking build system type... " >&6; }
2243 if test "${ac_cv_build+set}" = set; then :
2244 $as_echo_n "(cached) " >&6
2246 ac_build_alias
=$build_alias
2247 test "x$ac_build_alias" = x
&&
2248 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2249 test "x$ac_build_alias" = x
&&
2250 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2251 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2252 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2256 $as_echo "$ac_cv_build" >&6; }
2257 case $ac_cv_build in
2259 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2262 ac_save_IFS
=$IFS; IFS
='-'
2268 # Remember, the first character of IFS is used to create $*,
2269 # except with old shells:
2272 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2276 $as_echo_n "checking host system type... " >&6; }
2277 if test "${ac_cv_host+set}" = set; then :
2278 $as_echo_n "(cached) " >&6
2280 if test "x$host_alias" = x
; then
2281 ac_cv_host
=$ac_cv_build
2283 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2284 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2289 $as_echo "$ac_cv_host" >&6; }
2292 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2295 ac_save_IFS
=$IFS; IFS
='-'
2301 # Remember, the first character of IFS is used to create $*,
2302 # except with old shells:
2305 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2309 $as_echo_n "checking target system type... " >&6; }
2310 if test "${ac_cv_target+set}" = set; then :
2311 $as_echo_n "(cached) " >&6
2313 if test "x$target_alias" = x
; then
2314 ac_cv_target
=$ac_cv_host
2316 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2317 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2322 $as_echo "$ac_cv_target" >&6; }
2323 case $ac_cv_target in
2325 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2327 target
=$ac_cv_target
2328 ac_save_IFS
=$IFS; IFS
='-'
2334 # Remember, the first character of IFS is used to create $*,
2335 # except with old shells:
2338 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2341 # The aliases save the names the user supplied, while $host etc.
2342 # will get canonicalized.
2343 test -n "$target_alias" &&
2344 test "$program_prefix$program_suffix$program_transform_name" = \
2346 program_prefix
=${target_alias}-
2347 am__api_version
='1.11'
2349 # Find a good install program. We prefer a C program (faster),
2350 # so one script is as good as another. But avoid the broken or
2351 # incompatible versions:
2352 # SysV /etc/install, /usr/sbin/install
2353 # SunOS /usr/etc/install
2354 # IRIX /sbin/install
2356 # AmigaOS /C/install, which installs bootblocks on floppy discs
2357 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2358 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2359 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2360 # OS/2's system install, which has a completely different semantic
2361 # ./install, which can be erroneously created by make from ./install.sh.
2362 # Reject install programs that cannot install multiple files.
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2364 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2365 if test -z "$INSTALL"; then
2366 if test "${ac_cv_path_install+set}" = set; then :
2367 $as_echo_n "(cached) " >&6
2369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir
=.
2374 # Account for people who put trailing slashes in PATH elements.
2375 case $as_dir/ in #((
2376 .
/ | .
// |
/[cC
]/* | \
2377 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2378 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2381 # OSF1 and SCO ODT 3.0 have their own names for install.
2382 # Don't use installbsd from OSF since it installs stuff as root
2384 for ac_prog
in ginstall scoinst
install; do
2385 for ac_exec_ext
in '' $ac_executable_extensions; do
2386 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2387 if test $ac_prog = install &&
2388 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2389 # AIX install. It has an incompatible calling convention.
2391 elif test $ac_prog = install &&
2392 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2393 # program-specific install script used by HP pwplus--don't use.
2396 rm -rf conftest.one conftest.two conftest.dir
2397 echo one
> conftest.one
2398 echo two
> conftest.two
2400 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2401 test -s conftest.one
&& test -s conftest.two
&&
2402 test -s conftest.dir
/conftest.one
&&
2403 test -s conftest.dir
/conftest.two
2405 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2418 rm -rf conftest.one conftest.two conftest.dir
2421 if test "${ac_cv_path_install+set}" = set; then
2422 INSTALL
=$ac_cv_path_install
2424 # As a last resort, use the slow shell script. Don't cache a
2425 # value for INSTALL within a source directory, because that will
2426 # break other packages using the cache if that directory is
2427 # removed, or if the value is a relative name.
2428 INSTALL
=$ac_install_sh
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2432 $as_echo "$INSTALL" >&6; }
2434 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2435 # It thinks the first close brace ends the variable substitution.
2436 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2438 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2440 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2443 $as_echo_n "checking whether build environment is sane... " >&6; }
2446 echo timestamp
> conftest.
file
2447 # Reject unsafe characters in $srcdir or the absolute working directory
2448 # name. Accept space and tab only in the latter.
2452 *[\\\"\
#\$\&\'\`$am_lf]*)
2453 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2456 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2457 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2460 # Do `set' in a subshell so we don't clobber the current shell's
2461 # arguments. Must try -L first in case configure is actually a
2462 # symlink; some systems play weird games with the mod time of symlinks
2463 # (eg FreeBSD returns the mod time of the symlink's containing
2466 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2467 if test "$*" = "X"; then
2469 set X
`ls -t "$srcdir/configure" conftest.file`
2472 if test "$*" != "X $srcdir/configure conftest.file" \
2473 && test "$*" != "X conftest.file $srcdir/configure"; then
2475 # If neither matched, then we have a broken ls. This can happen
2476 # if, for instance, CONFIG_SHELL is bash and it inherits a
2477 # broken ls alias from the environment. This has actually
2478 # happened. Such a system could not be considered "sane".
2479 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2480 alias in your environment" "$LINENO" 5
2483 test "$2" = conftest.
file
2489 as_fn_error
"newly created file is older than distributed files!
2490 Check your system clock" "$LINENO" 5
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2493 $as_echo "yes" >&6; }
2494 test "$program_prefix" != NONE
&&
2495 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2496 # Use a double $ so make ignores it.
2497 test "$program_suffix" != NONE
&&
2498 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2499 # Double any \ or $.
2500 # By default was `s,x,x', remove it if useless.
2501 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2502 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2504 # expand $ac_aux_dir to an absolute path
2505 am_aux_dir
=`cd $ac_aux_dir && pwd`
2507 if test x
"${MISSING+set}" != xset
; then
2510 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2512 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2515 # Use eval to expand $SHELL
2516 if eval "$MISSING --run true"; then
2517 am_missing_run
="$MISSING --run "
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2521 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2524 if test x
"${install_sh}" != xset
; then
2527 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2529 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2533 # Installed binaries are usually stripped using `strip' when the user
2534 # run `make install-strip'. However `strip' might not be the right
2535 # tool to use in cross-compilation environments, therefore Automake
2536 # will honor the `STRIP' environment variable to overrule this program.
2537 if test "$cross_compiling" != no
; then
2538 if test -n "$ac_tool_prefix"; then
2539 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2540 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2542 $as_echo_n "checking for $ac_word... " >&6; }
2543 if test "${ac_cv_prog_STRIP+set}" = set; then :
2544 $as_echo_n "(cached) " >&6
2546 if test -n "$STRIP"; then
2547 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2553 test -z "$as_dir" && as_dir
=.
2554 for ac_exec_ext
in '' $ac_executable_extensions; do
2555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2566 STRIP
=$ac_cv_prog_STRIP
2567 if test -n "$STRIP"; then
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2569 $as_echo "$STRIP" >&6; }
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2572 $as_echo "no" >&6; }
2577 if test -z "$ac_cv_prog_STRIP"; then
2579 # Extract the first word of "strip", so it can be a program name with args.
2580 set dummy strip
; ac_word
=$2
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2582 $as_echo_n "checking for $ac_word... " >&6; }
2583 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2584 $as_echo_n "(cached) " >&6
2586 if test -n "$ac_ct_STRIP"; then
2587 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir
=.
2594 for ac_exec_ext
in '' $ac_executable_extensions; do
2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2596 ac_cv_prog_ac_ct_STRIP
="strip"
2597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2607 if test -n "$ac_ct_STRIP"; then
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2609 $as_echo "$ac_ct_STRIP" >&6; }
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2612 $as_echo "no" >&6; }
2615 if test "x$ac_ct_STRIP" = x
; then
2618 case $cross_compiling:$ac_tool_warned in
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2622 ac_tool_warned
=yes ;;
2627 STRIP
="$ac_cv_prog_STRIP"
2631 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2634 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2635 if test -z "$MKDIR_P"; then
2636 if test "${ac_cv_path_mkdir+set}" = set; then :
2637 $as_echo_n "(cached) " >&6
2639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2640 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2643 test -z "$as_dir" && as_dir
=.
2644 for ac_prog
in mkdir gmkdir
; do
2645 for ac_exec_ext
in '' $ac_executable_extensions; do
2646 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2647 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2648 'mkdir (GNU coreutils) '* | \
2649 'mkdir (coreutils) '* | \
2650 'mkdir (fileutils) '4.1*)
2651 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2661 test -d .
/--version && rmdir .
/--version
2662 if test "${ac_cv_path_mkdir+set}" = set; then
2663 MKDIR_P
="$ac_cv_path_mkdir -p"
2665 # As a last resort, use the slow shell script. Don't cache a
2666 # value for MKDIR_P within a source directory, because that will
2667 # break other packages using the cache if that directory is
2668 # removed, or if the value is a relative name.
2669 MKDIR_P
="$ac_install_sh -d"
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2673 $as_echo "$MKDIR_P" >&6; }
2677 [\\/$
]* | ?
:[\\/]*) ;;
2678 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2681 for ac_prog
in gawk mawk nawk
awk
2683 # Extract the first word of "$ac_prog", so it can be a program name with args.
2684 set dummy
$ac_prog; ac_word
=$2
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686 $as_echo_n "checking for $ac_word... " >&6; }
2687 if test "${ac_cv_prog_AWK+set}" = set; then :
2688 $as_echo_n "(cached) " >&6
2690 if test -n "$AWK"; then
2691 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2697 test -z "$as_dir" && as_dir
=.
2698 for ac_exec_ext
in '' $ac_executable_extensions; do
2699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2700 ac_cv_prog_AWK
="$ac_prog"
2701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711 if test -n "$AWK"; then
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2713 $as_echo "$AWK" >&6; }
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716 $as_echo "no" >&6; }
2720 test -n "$AWK" && break
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2724 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2726 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2727 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2728 $as_echo_n "(cached) " >&6
2730 cat >conftest.
make <<\_ACEOF
2733 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2735 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2736 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2738 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2740 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2744 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2746 $as_echo "yes" >&6; }
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750 $as_echo "no" >&6; }
2751 SET_MAKE
="MAKE=${MAKE-make}"
2754 rm -rf .tst
2>/dev
/null
2755 mkdir .tst
2>/dev
/null
2756 if test -d .tst
; then
2761 rmdir .tst
2>/dev
/null
2763 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2764 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2765 # is not polluted with repeated "-I."
2766 am__isrc
=' -I$(srcdir)'
2767 # test to see if srcdir already configured
2768 if test -f $srcdir/config.status
; then
2769 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2773 # test whether we have cygpath
2774 if test -z "$CYGPATH_W"; then
2775 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2776 CYGPATH_W
='cygpath -w'
2783 # Define the identity of the package.
2788 cat >>confdefs.h
<<_ACEOF
2789 #define PACKAGE "$PACKAGE"
2793 cat >>confdefs.h
<<_ACEOF
2794 #define VERSION "$VERSION"
2797 # Some tools Automake needs.
2799 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2802 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2805 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2808 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2811 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2813 # We need awk for the "check" target. The system "awk" is bad on
2815 # Always define AMTAR for backward compatibility.
2817 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2819 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2825 ac_config_headers
="$ac_config_headers config.h"
2831 DEPDIR
="${am__leading_dot}deps"
2833 ac_config_commands
="$ac_config_commands depfiles"
2836 am_make
=${MAKE-make}
2837 cat > confinc
<< 'END'
2839 @
echo this is the am__doit target
2842 # If we don't find an include directive, just comment out the code.
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2844 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2848 # First try GNU make style include.
2849 echo "include confinc" > confmf
2850 # Ignore all kinds of additional output from `make'.
2851 case `$am_make -s -f confmf 2> /dev/null` in #(
2852 *the\ am__doit\ target
*)
2858 # Now try BSD make style include.
2859 if test "$am__include" = "#"; then
2860 echo '.include "confinc"' > confmf
2861 case `$am_make -s -f confmf 2> /dev/null` in #(
2862 *the\ am__doit\ target
*)
2863 am__include
=.include
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2872 $as_echo "$_am_result" >&6; }
2873 rm -f confinc confmf
2875 # Check whether --enable-dependency-tracking was given.
2876 if test "${enable_dependency_tracking+set}" = set; then :
2877 enableval
=$enable_dependency_tracking;
2880 if test "x$enable_dependency_tracking" != xno
; then
2881 am_depcomp
="$ac_aux_dir/depcomp"
2884 if test "x$enable_dependency_tracking" != xno; then
2894 ac_cpp
='$CPP $CPPFLAGS'
2895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2898 if test -n "$ac_tool_prefix"; then
2899 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2900 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902 $as_echo_n "checking for $ac_word... " >&6; }
2903 if test "${ac_cv_prog_CC+set}" = set; then :
2904 $as_echo_n "(cached) " >&6
2906 if test -n "$CC"; then
2907 ac_cv_prog_CC
="$CC" # Let the user override the test.
2909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2913 test -z "$as_dir" && as_dir
=.
2914 for ac_exec_ext
in '' $ac_executable_extensions; do
2915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2916 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2927 if test -n "$CC"; then
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2929 $as_echo "$CC" >&6; }
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2932 $as_echo "no" >&6; }
2937 if test -z "$ac_cv_prog_CC"; then
2939 # Extract the first word of "gcc", so it can be a program name with args.
2940 set dummy gcc
; ac_word
=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2944 $as_echo_n "(cached) " >&6
2946 if test -n "$ac_ct_CC"; then
2947 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2953 test -z "$as_dir" && as_dir
=.
2954 for ac_exec_ext
in '' $ac_executable_extensions; do
2955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2956 ac_cv_prog_ac_ct_CC
="gcc"
2957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2966 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2967 if test -n "$ac_ct_CC"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2969 $as_echo "$ac_ct_CC" >&6; }
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2975 if test "x$ac_ct_CC" = x
; then
2978 case $cross_compiling:$ac_tool_warned in
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2982 ac_tool_warned
=yes ;;
2990 if test -z "$CC"; then
2991 if test -n "$ac_tool_prefix"; then
2992 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2993 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995 $as_echo_n "checking for $ac_word... " >&6; }
2996 if test "${ac_cv_prog_CC+set}" = set; then :
2997 $as_echo_n "(cached) " >&6
2999 if test -n "$CC"; then
3000 ac_cv_prog_CC
="$CC" # Let the user override the test.
3002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3006 test -z "$as_dir" && as_dir
=.
3007 for ac_exec_ext
in '' $ac_executable_extensions; do
3008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3009 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 if test -n "$CC"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3022 $as_echo "$CC" >&6; }
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025 $as_echo "no" >&6; }
3031 if test -z "$CC"; then
3032 # Extract the first word of "cc", so it can be a program name with args.
3033 set dummy cc
; ac_word
=$2
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 $as_echo_n "checking for $ac_word... " >&6; }
3036 if test "${ac_cv_prog_CC+set}" = set; then :
3037 $as_echo_n "(cached) " >&6
3039 if test -n "$CC"; then
3040 ac_cv_prog_CC
="$CC" # Let the user override the test.
3043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir
=.
3048 for ac_exec_ext
in '' $ac_executable_extensions; do
3049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3050 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3051 ac_prog_rejected
=yes
3055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 if test $ac_prog_rejected = yes; then
3063 # We found a bogon in the path, so make sure we never use it.
3064 set dummy
$ac_cv_prog_CC
3066 if test $# != 0; then
3067 # We chose a different compiler from the bogus one.
3068 # However, it has the same basename, so the bogon will be chosen
3069 # first if we set CC to just the basename; use the full file name.
3071 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3077 if test -n "$CC"; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3079 $as_echo "$CC" >&6; }
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3082 $as_echo "no" >&6; }
3087 if test -z "$CC"; then
3088 if test -n "$ac_tool_prefix"; then
3089 for ac_prog
in cl.exe
3091 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3092 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3094 $as_echo_n "checking for $ac_word... " >&6; }
3095 if test "${ac_cv_prog_CC+set}" = set; then :
3096 $as_echo_n "(cached) " >&6
3098 if test -n "$CC"; then
3099 ac_cv_prog_CC
="$CC" # Let the user override the test.
3101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3105 test -z "$as_dir" && as_dir
=.
3106 for ac_exec_ext
in '' $ac_executable_extensions; do
3107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3108 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119 if test -n "$CC"; then
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3121 $as_echo "$CC" >&6; }
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3124 $as_echo "no" >&6; }
3128 test -n "$CC" && break
3131 if test -z "$CC"; then
3133 for ac_prog
in cl.exe
3135 # Extract the first word of "$ac_prog", so it can be a program name with args.
3136 set dummy
$ac_prog; ac_word
=$2
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3138 $as_echo_n "checking for $ac_word... " >&6; }
3139 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3140 $as_echo_n "(cached) " >&6
3142 if test -n "$ac_ct_CC"; then
3143 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3149 test -z "$as_dir" && as_dir
=.
3150 for ac_exec_ext
in '' $ac_executable_extensions; do
3151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3152 ac_cv_prog_ac_ct_CC
="$ac_prog"
3153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3163 if test -n "$ac_ct_CC"; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3165 $as_echo "$ac_ct_CC" >&6; }
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168 $as_echo "no" >&6; }
3172 test -n "$ac_ct_CC" && break
3175 if test "x$ac_ct_CC" = x
; then
3178 case $cross_compiling:$ac_tool_warned in
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3182 ac_tool_warned
=yes ;;
3191 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3193 as_fn_error
"no acceptable C compiler found in \$PATH
3194 See \`config.log' for more details." "$LINENO" 5; }
3196 # Provide some information about the compiler.
3197 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3200 for ac_option
in --version -v -V -qversion; do
3201 { { ac_try
="$ac_compiler $ac_option >&5"
3203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3210 if test -s conftest.err; then
3212 ... rest of stderr output deleted ...
3213 10q' conftest.err >conftest.er1
3214 cat conftest.er1 >&5
3216 rm -f conftest.er1 conftest.err
3217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3218 test $ac_status = 0; }
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3232 ac_clean_files_save=$ac_clean_files
3233 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3234 # Try to create an executable without -o first, disregard a.out.
3235 # It will help us diagnose broken compilers, and finding out an intuition
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3238 $as_echo_n "checking whether the C compiler works... " >&6; }
3239 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3241 # The possible output files:
3242 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3245 for ac_file in $ac_files
3248 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3249 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3254 if { { ac_try="$ac_link_default"
3256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3257 *) ac_try_echo
=$ac_try;;
3259 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3260 $as_echo "$ac_try_echo"; } >&5
3261 (eval "$ac_link_default") 2>&5
3263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3264 test $ac_status = 0; }; then :
3265 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3266 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3267 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3268 # so that the user can short-circuit this test for compilers unknown to
3270 for ac_file
in $ac_files ''
3272 test -f "$ac_file" ||
continue
3274 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3277 # We found the default executable, but exeext='' is most
3281 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3283 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3285 # We set ac_cv_exeext here because the later test for it is not
3286 # safe: cross compilers may not add the suffix if given an `-o'
3287 # argument, so we may need to know it at that point already.
3288 # Even if this section looks crufty: it has the advantage of
3295 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3300 if test -z "$ac_file"; then :
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 $as_echo "no" >&6; }
3303 $as_echo "$as_me: failed program was:" >&5
3304 sed 's/^/| /' conftest.
$ac_ext >&5
3306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3308 { as_fn_set_status
77
3309 as_fn_error
"C compiler cannot create executables
3310 See \`config.log' for more details." "$LINENO" 5; }; }
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3313 $as_echo "yes" >&6; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3316 $as_echo_n "checking for C compiler default output file name... " >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3318 $as_echo "$ac_file" >&6; }
3319 ac_exeext
=$ac_cv_exeext
3321 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3322 ac_clean_files
=$ac_clean_files_save
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3324 $as_echo_n "checking for suffix of executables... " >&6; }
3325 if { { ac_try
="$ac_link"
3327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_link") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }; then :
3336 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3337 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3338 # work properly (i.e., refer to `conftest.exe'), while it won't with
3340 for ac_file
in conftest.exe conftest conftest.
*; do
3341 test -f "$ac_file" ||
continue
3343 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3344 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3350 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3352 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3353 See \`config.log' for more details." "$LINENO" 5; }
3355 rm -f conftest conftest
$ac_cv_exeext
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3357 $as_echo "$ac_cv_exeext" >&6; }
3359 rm -f conftest.
$ac_ext
3360 EXEEXT
=$ac_cv_exeext
3362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3368 FILE *f = fopen ("conftest.out", "w");
3369 return ferror (f) || fclose (f) != 0;
3375 ac_clean_files
="$ac_clean_files conftest.out"
3376 # Check that the compiler produces executables we can run. If not, either
3377 # the compiler is broken, or we cross compile.
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3379 $as_echo_n "checking whether we are cross compiling... " >&6; }
3380 if test "$cross_compiling" != yes; then
3381 { { ac_try
="$ac_link"
3383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3387 $as_echo "$ac_try_echo"; } >&5
3388 (eval "$ac_link") 2>&5
3390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3391 test $ac_status = 0; }
3392 if { ac_try='./conftest$ac_cv_exeext'
3393 { { case "(($ac_try" in
3394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3395 *) ac_try_echo
=$ac_try;;
3397 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3398 $as_echo "$ac_try_echo"; } >&5
3399 (eval "$ac_try") 2>&5
3401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3402 test $ac_status = 0; }; }; then
3405 if test "$cross_compiling" = maybe
; then
3408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410 as_fn_error
"cannot run C compiled programs.
3411 If you meant to cross compile, use \`--host'.
3412 See \`config.log' for more details." "$LINENO" 5; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3417 $as_echo "$cross_compiling" >&6; }
3419 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3420 ac_clean_files
=$ac_clean_files_save
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3422 $as_echo_n "checking for suffix of object files... " >&6; }
3423 if test "${ac_cv_objext+set}" = set; then :
3424 $as_echo_n "(cached) " >&6
3426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3437 rm -f conftest.o conftest.obj
3438 if { { ac_try
="$ac_compile"
3440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3444 $as_echo "$ac_try_echo"; } >&5
3445 (eval "$ac_compile") 2>&5
3447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3448 test $ac_status = 0; }; then :
3449 for ac_file in conftest.o conftest.obj conftest.*; do
3450 test -f "$ac_file" || continue;
3452 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3453 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3458 $as_echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463 as_fn_error "cannot compute suffix of object files
: cannot compile
3464 See \
`config.log' for more details." "$LINENO" 5; }
3466 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3469 $as_echo "$ac_cv_objext" >&6; }
3470 OBJEXT=$ac_cv_objext
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3473 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3474 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3475 $as_echo_n "(cached) " >&6
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3491 if ac_fn_c_try_compile "$LINENO"; then :
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3497 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3501 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3502 if test $ac_compiler_gnu = yes; then
3507 ac_test_CFLAGS=${CFLAGS+set}
3508 ac_save_CFLAGS=$CFLAGS
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3510 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3511 if test "${ac_cv_prog_cc_g+set}" = set; then :
3512 $as_echo_n "(cached) " >&6
3514 ac_save_c_werror_flag=$ac_c_werror_flag
3515 ac_c_werror_flag=yes
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3529 if ac_fn_c_try_compile "$LINENO"; then :
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3544 if ac_fn_c_try_compile "$LINENO"; then :
3547 ac_c_werror_flag=$ac_save_c_werror_flag
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3560 if ac_fn_c_try_compile "$LINENO"; then :
3563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 ac_c_werror_flag=$ac_save_c_werror_flag
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3571 $as_echo "$ac_cv_prog_cc_g" >&6; }
3572 if test "$ac_test_CFLAGS" = set; then
3573 CFLAGS=$ac_save_CFLAGS
3574 elif test $ac_cv_prog_cc_g = yes; then
3575 if test "$GCC" = yes; then
3581 if test "$GCC" = yes; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3588 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3589 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3590 $as_echo_n "(cached) " >&6
3592 ac_cv_prog_cc_c89=no
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3598 #include <sys/types.h>
3599 #include <sys/stat.h>
3600 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3601 struct buf { int x; };
3602 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3603 static char *e (p, i)
3609 static char *f (char * (*g) (char **, int), char **p, ...)
3614 s = g (p, va_arg (v,int));
3619 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3620 function prototypes and stuff, but not '\xHH' hex character constants.
3621 These don't provoke an error unfortunately, instead are silently treated
3622 as 'x'. The following induces an error, until -std is added to get
3623 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3624 array size at least. It's necessary to write '\x00'==0 to get something
3625 that's true only with -std. */
3626 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3628 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3629 inside strings and character constants. */
3631 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3633 int test (int i, double x);
3634 struct s1 {int (*f) (int a);};
3635 struct s2 {int (*f) (double a);};
3636 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3642 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3647 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3648 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3650 CC="$ac_save_CC $ac_arg"
3651 if ac_fn_c_try_compile "$LINENO"; then :
3652 ac_cv_prog_cc_c89=$ac_arg
3654 rm -f core conftest.err conftest.$ac_objext
3655 test "x$ac_cv_prog_cc_c89" != "xno" && break
3657 rm -f conftest.$ac_ext
3662 case "x$ac_cv_prog_cc_c89" in
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3665 $as_echo "none needed" >&6; } ;;
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3668 $as_echo "unsupported" >&6; } ;;
3670 CC="$CC $ac_cv_prog_cc_c89"
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3672 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3674 if test "x$ac_cv_prog_cc_c89" != xno; then :
3679 ac_cpp='$CPP $CPPFLAGS'
3680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3684 depcc="$CC" am_compiler_list=
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3687 $as_echo_n "checking dependency style of $depcc... " >&6; }
3688 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3689 $as_echo_n "(cached) " >&6
3691 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3692 # We make a subdir and do the tests there. Otherwise we can end up
3693 # making bogus files that we don't know about and never remove. For
3694 # instance it was reported that on HP-UX the gcc test will end up
3695 # making a dummy file named `D
' -- because `-MD' means
`put the output
3698 # Copy depcomp to subdir because otherwise we won't find it if we're
3699 # using a relative directory.
3700 cp "$am_depcomp" conftest.dir
3702 # We will build objects and dependencies in a subdirectory because
3703 # it helps to detect inapplicable dependency modes. For instance
3704 # both Tru64's cc and ICC support -MD to output dependencies as a
3705 # side effect of compilation, but ICC will put the dependencies in
3706 # the current directory while Tru64 will put them in the object
3710 am_cv_CC_dependencies_compiler_type=none
3711 if test "$am_compiler_list" = ""; then
3712 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3715 case " $depcc " in #(
3716 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3719 for depmode in $am_compiler_list; do
3720 # Setup a source with many dependencies, because some compilers
3721 # like to wrap large dependency lists on column 80 (with \), and
3722 # we should not choose a depcomp mode which is confused by this.
3724 # We need to recreate these files for each test, as the compiler may
3725 # overwrite some of them when testing with obscure command lines.
3726 # This happens at least with the AIX C compiler.
3728 for i in 1 2 3 4 5 6; do
3729 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3730 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3731 # Solaris 8's
{/usr
,}/bin
/sh.
3732 touch sub
/conftst
$i.h
3734 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3736 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3737 # mode. It turns out that the SunPro C++ compiler does not properly
3738 # handle `-M -o', and we need to detect this. Also, some Intel
3739 # versions had trouble with output in subdirs
3740 am__obj
=sub
/conftest.
${OBJEXT-o}
3741 am__minus_obj
="-o $am__obj"
3744 # This depmode causes a compiler race in universal mode.
3745 test "$am__universal" = false ||
continue
3748 # after this tag, mechanisms are not by side-effect, so they'll
3749 # only be used when explicitly requested
3750 if test "x$enable_dependency_tracking" = xyes
; then
3756 msvisualcpp | msvcmsys
)
3757 # This compiler won't grok `-c -o', but also, the minuso test has
3758 # not run yet. These depmodes are late enough in the game, and
3759 # so weak that their functioning should not be impacted.
3760 am__obj
=conftest.
${OBJEXT-o}
3765 if depmode
=$depmode \
3766 source=sub
/conftest.c object
=$am__obj \
3767 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3768 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3769 >/dev
/null
2>conftest.err
&&
3770 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3771 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3772 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3773 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3774 # icc doesn't choke on unknown options, it will just issue warnings
3775 # or remarks (even with -Werror). So we grep stderr for any message
3776 # that says an option was ignored or not supported.
3777 # When given -MP, icc 7.0 and 7.1 complain thusly:
3778 # icc: Command line warning: ignoring option '-M'; no argument required
3779 # The diagnosis changed in icc 8.0:
3780 # icc: Command line remark: option '-MP' not supported
3781 if (grep 'ignoring option' conftest.err ||
3782 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3783 am_cv_CC_dependencies_compiler_type
=$depmode
3792 am_cv_CC_dependencies_compiler_type
=none
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3797 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3798 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3801 test "x$enable_dependency_tracking" != xno \
3802 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3804 am__fastdepCC_FALSE
='#'
3806 am__fastdepCC_TRUE
='#'
3807 am__fastdepCC_FALSE
=
3813 ac_cpp
='$CPP $CPPFLAGS'
3814 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3815 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3816 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3818 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3819 # On Suns, sometimes $CPP names a directory.
3820 if test -n "$CPP" && test -d "$CPP"; then
3823 if test -z "$CPP"; then
3824 if test "${ac_cv_prog_CPP+set}" = set; then :
3825 $as_echo_n "(cached) " >&6
3827 # Double quotes because CPP needs to be expanded
3828 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3831 for ac_c_preproc_warn_flag
in '' yes
3833 # Use a header file that comes with gcc, so configuring glibc
3834 # with a fresh cross-compiler works.
3835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3836 # <limits.h> exists even on freestanding compilers.
3837 # On the NeXT, cc -E runs the code through the compiler's parser,
3838 # not just through cpp. "Syntax error" is here to catch this case.
3839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3842 # include <limits.h>
3844 # include <assert.h>
3848 if ac_fn_c_try_cpp
"$LINENO"; then :
3851 # Broken: fails on valid input.
3854 rm -f conftest.err conftest.
$ac_ext
3856 # OK, works on sane cases. Now check whether nonexistent headers
3857 # can be detected and how.
3858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3860 #include <ac_nonexistent.h>
3862 if ac_fn_c_try_cpp
"$LINENO"; then :
3863 # Broken: success on invalid input.
3866 # Passes both tests.
3870 rm -f conftest.err conftest.
$ac_ext
3873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3874 rm -f conftest.err conftest.
$ac_ext
3875 if $ac_preproc_ok; then :
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3888 $as_echo "$CPP" >&6; }
3890 for ac_c_preproc_warn_flag
in '' yes
3892 # Use a header file that comes with gcc, so configuring glibc
3893 # with a fresh cross-compiler works.
3894 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3895 # <limits.h> exists even on freestanding compilers.
3896 # On the NeXT, cc -E runs the code through the compiler's parser,
3897 # not just through cpp. "Syntax error" is here to catch this case.
3898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3901 # include <limits.h>
3903 # include <assert.h>
3907 if ac_fn_c_try_cpp
"$LINENO"; then :
3910 # Broken: fails on valid input.
3913 rm -f conftest.err conftest.
$ac_ext
3915 # OK, works on sane cases. Now check whether nonexistent headers
3916 # can be detected and how.
3917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3919 #include <ac_nonexistent.h>
3921 if ac_fn_c_try_cpp
"$LINENO"; then :
3922 # Broken: success on invalid input.
3925 # Passes both tests.
3929 rm -f conftest.err conftest.
$ac_ext
3932 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3933 rm -f conftest.err conftest.
$ac_ext
3934 if $ac_preproc_ok; then :
3937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3940 See \`config.log' for more details." "$LINENO" 5; }
3944 ac_cpp
='$CPP $CPPFLAGS'
3945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3951 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3952 if test "${ac_cv_path_GREP+set}" = set; then :
3953 $as_echo_n "(cached) " >&6
3955 if test -z "$GREP"; then
3956 ac_path_GREP_found
=false
3957 # Loop through the user's path and test for each of PROGNAME-LIST
3958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3959 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3962 test -z "$as_dir" && as_dir
=.
3963 for ac_prog
in grep ggrep
; do
3964 for ac_exec_ext
in '' $ac_executable_extensions; do
3965 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3966 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3967 # Check for GNU ac_path_GREP and select it if it is found.
3968 # Check for GNU $ac_path_GREP
3969 case `"$ac_path_GREP" --version 2>&1` in
3971 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3974 $as_echo_n 0123456789 >"conftest.in"
3977 cat "conftest.in" "conftest.in" >"conftest.tmp"
3978 mv "conftest.tmp" "conftest.in"
3979 cp "conftest.in" "conftest.nl"
3980 $as_echo 'GREP' >> "conftest.nl"
3981 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3982 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3983 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3984 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3985 # Best one so far, save it but keep looking for a better one
3986 ac_cv_path_GREP
="$ac_path_GREP"
3987 ac_path_GREP_max
=$ac_count
3989 # 10*(2^10) chars as input seems more than enough
3990 test $ac_count -gt 10 && break
3992 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3995 $ac_path_GREP_found && break 3
4000 if test -z "$ac_cv_path_GREP"; then
4001 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4004 ac_cv_path_GREP
=$GREP
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4009 $as_echo "$ac_cv_path_GREP" >&6; }
4010 GREP
="$ac_cv_path_GREP"
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4014 $as_echo_n "checking for egrep... " >&6; }
4015 if test "${ac_cv_path_EGREP+set}" = set; then :
4016 $as_echo_n "(cached) " >&6
4018 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4019 then ac_cv_path_EGREP
="$GREP -E"
4021 if test -z "$EGREP"; then
4022 ac_path_EGREP_found
=false
4023 # Loop through the user's path and test for each of PROGNAME-LIST
4024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4025 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4028 test -z "$as_dir" && as_dir
=.
4029 for ac_prog
in egrep; do
4030 for ac_exec_ext
in '' $ac_executable_extensions; do
4031 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4032 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4033 # Check for GNU ac_path_EGREP and select it if it is found.
4034 # Check for GNU $ac_path_EGREP
4035 case `"$ac_path_EGREP" --version 2>&1` in
4037 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4040 $as_echo_n 0123456789 >"conftest.in"
4043 cat "conftest.in" "conftest.in" >"conftest.tmp"
4044 mv "conftest.tmp" "conftest.in"
4045 cp "conftest.in" "conftest.nl"
4046 $as_echo 'EGREP' >> "conftest.nl"
4047 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4048 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4049 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4050 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4051 # Best one so far, save it but keep looking for a better one
4052 ac_cv_path_EGREP
="$ac_path_EGREP"
4053 ac_path_EGREP_max
=$ac_count
4055 # 10*(2^10) chars as input seems more than enough
4056 test $ac_count -gt 10 && break
4058 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4061 $ac_path_EGREP_found && break 3
4066 if test -z "$ac_cv_path_EGREP"; then
4067 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4070 ac_cv_path_EGREP
=$EGREP
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4076 $as_echo "$ac_cv_path_EGREP" >&6; }
4077 EGREP
="$ac_cv_path_EGREP"
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4081 $as_echo_n "checking for ANSI C header files... " >&6; }
4082 if test "${ac_cv_header_stdc+set}" = set; then :
4083 $as_echo_n "(cached) " >&6
4085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4100 if ac_fn_c_try_compile
"$LINENO"; then :
4101 ac_cv_header_stdc
=yes
4103 ac_cv_header_stdc
=no
4105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4107 if test $ac_cv_header_stdc = yes; then
4108 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4115 $EGREP "memchr" >/dev
/null
2>&1; then :
4118 ac_cv_header_stdc
=no
4124 if test $ac_cv_header_stdc = yes; then
4125 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4132 $EGREP "free" >/dev
/null
2>&1; then :
4135 ac_cv_header_stdc
=no
4141 if test $ac_cv_header_stdc = yes; then
4142 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4143 if test "$cross_compiling" = yes; then :
4146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4150 #if ((' ' & 0x0FF) == 0x020)
4151 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4152 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4154 # define ISLOWER(c) \
4155 (('a' <= (c) && (c) <= 'i') \
4156 || ('j' <= (c) && (c) <= 'r') \
4157 || ('s' <= (c) && (c) <= 'z'))
4158 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4161 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4166 for (i = 0; i < 256; i++)
4167 if (XOR (islower (i), ISLOWER (i))
4168 || toupper (i) != TOUPPER (i))
4173 if ac_fn_c_try_run
"$LINENO"; then :
4176 ac_cv_header_stdc
=no
4178 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4179 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4185 $as_echo "$ac_cv_header_stdc" >&6; }
4186 if test $ac_cv_header_stdc = yes; then
4188 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4192 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4193 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4194 inttypes.h stdint.h unistd.h
4196 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4197 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4199 eval as_val
=\$
$as_ac_Header
4200 if test "x$as_val" = x
""yes; then :
4201 cat >>confdefs.h
<<_ACEOF
4202 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4211 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4212 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4219 if test "$MINIX" = yes; then
4221 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4224 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4227 $as_echo "#define _MINIX 1" >>confdefs.h
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4233 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4234 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4235 $as_echo_n "(cached) " >&6
4237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4240 # define __EXTENSIONS__ 1
4241 $ac_includes_default
4250 if ac_fn_c_try_compile
"$LINENO"; then :
4251 ac_cv_safe_to_define___extensions__
=yes
4253 ac_cv_safe_to_define___extensions__
=no
4255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4258 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4259 test $ac_cv_safe_to_define___extensions__ = yes &&
4260 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4262 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4264 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4266 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4268 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4273 ac_cpp
='$CPP $CPPFLAGS'
4274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4277 if test -n "$ac_tool_prefix"; then
4278 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4279 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4281 $as_echo_n "checking for $ac_word... " >&6; }
4282 if test "${ac_cv_prog_CC+set}" = set; then :
4283 $as_echo_n "(cached) " >&6
4285 if test -n "$CC"; then
4286 ac_cv_prog_CC
="$CC" # Let the user override the test.
4288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4292 test -z "$as_dir" && as_dir
=.
4293 for ac_exec_ext
in '' $ac_executable_extensions; do
4294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4295 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4306 if test -n "$CC"; then
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4308 $as_echo "$CC" >&6; }
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311 $as_echo "no" >&6; }
4316 if test -z "$ac_cv_prog_CC"; then
4318 # Extract the first word of "gcc", so it can be a program name with args.
4319 set dummy gcc
; ac_word
=$2
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4321 $as_echo_n "checking for $ac_word... " >&6; }
4322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4323 $as_echo_n "(cached) " >&6
4325 if test -n "$ac_ct_CC"; then
4326 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4332 test -z "$as_dir" && as_dir
=.
4333 for ac_exec_ext
in '' $ac_executable_extensions; do
4334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4335 ac_cv_prog_ac_ct_CC
="gcc"
4336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4345 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4346 if test -n "$ac_ct_CC"; then
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4348 $as_echo "$ac_ct_CC" >&6; }
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351 $as_echo "no" >&6; }
4354 if test "x$ac_ct_CC" = x
; then
4357 case $cross_compiling:$ac_tool_warned in
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4361 ac_tool_warned
=yes ;;
4369 if test -z "$CC"; then
4370 if test -n "$ac_tool_prefix"; then
4371 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4372 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374 $as_echo_n "checking for $ac_word... " >&6; }
4375 if test "${ac_cv_prog_CC+set}" = set; then :
4376 $as_echo_n "(cached) " >&6
4378 if test -n "$CC"; then
4379 ac_cv_prog_CC
="$CC" # Let the user override the test.
4381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4385 test -z "$as_dir" && as_dir
=.
4386 for ac_exec_ext
in '' $ac_executable_extensions; do
4387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4388 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4399 if test -n "$CC"; then
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4401 $as_echo "$CC" >&6; }
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4404 $as_echo "no" >&6; }
4410 if test -z "$CC"; then
4411 # Extract the first word of "cc", so it can be a program name with args.
4412 set dummy cc
; ac_word
=$2
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414 $as_echo_n "checking for $ac_word... " >&6; }
4415 if test "${ac_cv_prog_CC+set}" = set; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -n "$CC"; then
4419 ac_cv_prog_CC
="$CC" # Let the user override the test.
4422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4426 test -z "$as_dir" && as_dir
=.
4427 for ac_exec_ext
in '' $ac_executable_extensions; do
4428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4429 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4430 ac_prog_rejected
=yes
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4441 if test $ac_prog_rejected = yes; then
4442 # We found a bogon in the path, so make sure we never use it.
4443 set dummy
$ac_cv_prog_CC
4445 if test $# != 0; then
4446 # We chose a different compiler from the bogus one.
4447 # However, it has the same basename, so the bogon will be chosen
4448 # first if we set CC to just the basename; use the full file name.
4450 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4456 if test -n "$CC"; then
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4458 $as_echo "$CC" >&6; }
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461 $as_echo "no" >&6; }
4466 if test -z "$CC"; then
4467 if test -n "$ac_tool_prefix"; then
4468 for ac_prog
in cl.exe
4470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4471 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if test "${ac_cv_prog_CC+set}" = set; then :
4475 $as_echo_n "(cached) " >&6
4477 if test -n "$CC"; then
4478 ac_cv_prog_CC
="$CC" # Let the user override the test.
4480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir
=.
4485 for ac_exec_ext
in '' $ac_executable_extensions; do
4486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4487 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 if test -n "$CC"; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4500 $as_echo "$CC" >&6; }
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
4507 test -n "$CC" && break
4510 if test -z "$CC"; then
4512 for ac_prog
in cl.exe
4514 # Extract the first word of "$ac_prog", so it can be a program name with args.
4515 set dummy
$ac_prog; ac_word
=$2
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4517 $as_echo_n "checking for $ac_word... " >&6; }
4518 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4519 $as_echo_n "(cached) " >&6
4521 if test -n "$ac_ct_CC"; then
4522 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4528 test -z "$as_dir" && as_dir
=.
4529 for ac_exec_ext
in '' $ac_executable_extensions; do
4530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4531 ac_cv_prog_ac_ct_CC
="$ac_prog"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4542 if test -n "$ac_ct_CC"; then
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4544 $as_echo "$ac_ct_CC" >&6; }
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547 $as_echo "no" >&6; }
4551 test -n "$ac_ct_CC" && break
4554 if test "x$ac_ct_CC" = x
; then
4557 case $cross_compiling:$ac_tool_warned in
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4561 ac_tool_warned
=yes ;;
4570 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4572 as_fn_error
"no acceptable C compiler found in \$PATH
4573 See \`config.log' for more details." "$LINENO" 5; }
4575 # Provide some information about the compiler.
4576 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4579 for ac_option
in --version -v -V -qversion; do
4580 { { ac_try
="$ac_compiler $ac_option >&5"
4582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4583 *) ac_try_echo=$ac_try;;
4585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4586 $as_echo "$ac_try_echo"; } >&5
4587 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4589 if test -s conftest.err; then
4591 ... rest of stderr output deleted ...
4592 10q' conftest.err >conftest.er1
4593 cat conftest.er1 >&5
4595 rm -f conftest.er1 conftest.err
4596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4597 test $ac_status = 0; }
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4601 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4602 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4603 $as_echo_n "(cached) " >&6
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4619 if ac_fn_c_try_compile "$LINENO"; then :
4624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4625 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4629 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4630 if test $ac_compiler_gnu = yes; then
4635 ac_test_CFLAGS=${CFLAGS+set}
4636 ac_save_CFLAGS=$CFLAGS
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4638 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4639 if test "${ac_cv_prog_cc_g+set}" = set; then :
4640 $as_echo_n "(cached) " >&6
4642 ac_save_c_werror_flag=$ac_c_werror_flag
4643 ac_c_werror_flag=yes
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4657 if ac_fn_c_try_compile "$LINENO"; then :
4661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662 /* end confdefs.h. */
4672 if ac_fn_c_try_compile "$LINENO"; then :
4675 ac_c_werror_flag=$ac_save_c_werror_flag
4677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4688 if ac_fn_c_try_compile "$LINENO"; then :
4691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4696 ac_c_werror_flag=$ac_save_c_werror_flag
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4699 $as_echo "$ac_cv_prog_cc_g" >&6; }
4700 if test "$ac_test_CFLAGS" = set; then
4701 CFLAGS=$ac_save_CFLAGS
4702 elif test $ac_cv_prog_cc_g = yes; then
4703 if test "$GCC" = yes; then
4709 if test "$GCC" = yes; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4716 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4717 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4718 $as_echo_n "(cached) " >&6
4720 ac_cv_prog_cc_c89=no
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4726 #include <sys/types.h>
4727 #include <sys/stat.h>
4728 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4729 struct buf { int x; };
4730 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4731 static char *e (p, i)
4737 static char *f (char * (*g) (char **, int), char **p, ...)
4742 s = g (p, va_arg (v,int));
4747 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4748 function prototypes and stuff, but not '\xHH' hex character constants.
4749 These don't provoke an error unfortunately, instead are silently treated
4750 as 'x'. The following induces an error, until -std is added to get
4751 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4752 array size at least. It's necessary to write '\x00'==0 to get something
4753 that's true only with -std. */
4754 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4756 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4757 inside strings and character constants. */
4759 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4761 int test (int i, double x);
4762 struct s1 {int (*f) (int a);};
4763 struct s2 {int (*f) (double a);};
4764 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4770 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4775 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4776 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4778 CC="$ac_save_CC $ac_arg"
4779 if ac_fn_c_try_compile "$LINENO"; then :
4780 ac_cv_prog_cc_c89=$ac_arg
4782 rm -f core conftest.err conftest.$ac_objext
4783 test "x$ac_cv_prog_cc_c89" != "xno" && break
4785 rm -f conftest.$ac_ext
4790 case "x$ac_cv_prog_cc_c89" in
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4793 $as_echo "none needed" >&6; } ;;
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4796 $as_echo "unsupported" >&6; } ;;
4798 CC="$CC $ac_cv_prog_cc_c89"
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4800 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4802 if test "x$ac_cv_prog_cc_c89" != xno; then :
4807 ac_cpp='$CPP $CPPFLAGS'
4808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4812 depcc="$CC" am_compiler_list=
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4815 $as_echo_n "checking dependency style of $depcc... " >&6; }
4816 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4817 $as_echo_n "(cached) " >&6
4819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4820 # We make a subdir and do the tests there. Otherwise we can end up
4821 # making bogus files that we don't know about and never remove. For
4822 # instance it was reported that on HP-UX the gcc test will end up
4823 # making a dummy file named `D
' -- because `-MD' means
`put the output
4826 # Copy depcomp to subdir because otherwise we won't find it if we're
4827 # using a relative directory.
4828 cp "$am_depcomp" conftest.dir
4830 # We will build objects and dependencies in a subdirectory because
4831 # it helps to detect inapplicable dependency modes. For instance
4832 # both Tru64's cc and ICC support -MD to output dependencies as a
4833 # side effect of compilation, but ICC will put the dependencies in
4834 # the current directory while Tru64 will put them in the object
4838 am_cv_CC_dependencies_compiler_type=none
4839 if test "$am_compiler_list" = ""; then
4840 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4843 case " $depcc " in #(
4844 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4847 for depmode in $am_compiler_list; do
4848 # Setup a source with many dependencies, because some compilers
4849 # like to wrap large dependency lists on column 80 (with \), and
4850 # we should not choose a depcomp mode which is confused by this.
4852 # We need to recreate these files for each test, as the compiler may
4853 # overwrite some of them when testing with obscure command lines.
4854 # This happens at least with the AIX C compiler.
4856 for i in 1 2 3 4 5 6; do
4857 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4858 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4859 # Solaris 8's
{/usr
,}/bin
/sh.
4860 touch sub
/conftst
$i.h
4862 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4864 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4865 # mode. It turns out that the SunPro C++ compiler does not properly
4866 # handle `-M -o', and we need to detect this. Also, some Intel
4867 # versions had trouble with output in subdirs
4868 am__obj
=sub
/conftest.
${OBJEXT-o}
4869 am__minus_obj
="-o $am__obj"
4872 # This depmode causes a compiler race in universal mode.
4873 test "$am__universal" = false ||
continue
4876 # after this tag, mechanisms are not by side-effect, so they'll
4877 # only be used when explicitly requested
4878 if test "x$enable_dependency_tracking" = xyes
; then
4884 msvisualcpp | msvcmsys
)
4885 # This compiler won't grok `-c -o', but also, the minuso test has
4886 # not run yet. These depmodes are late enough in the game, and
4887 # so weak that their functioning should not be impacted.
4888 am__obj
=conftest.
${OBJEXT-o}
4893 if depmode
=$depmode \
4894 source=sub
/conftest.c object
=$am__obj \
4895 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4896 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4897 >/dev
/null
2>conftest.err
&&
4898 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4899 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4900 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4901 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4902 # icc doesn't choke on unknown options, it will just issue warnings
4903 # or remarks (even with -Werror). So we grep stderr for any message
4904 # that says an option was ignored or not supported.
4905 # When given -MP, icc 7.0 and 7.1 complain thusly:
4906 # icc: Command line warning: ignoring option '-M'; no argument required
4907 # The diagnosis changed in icc 8.0:
4908 # icc: Command line remark: option '-MP' not supported
4909 if (grep 'ignoring option' conftest.err ||
4910 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4911 am_cv_CC_dependencies_compiler_type
=$depmode
4920 am_cv_CC_dependencies_compiler_type
=none
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4925 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4926 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4929 test "x$enable_dependency_tracking" != xno \
4930 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4932 am__fastdepCC_FALSE
='#'
4934 am__fastdepCC_TRUE
='#'
4935 am__fastdepCC_FALSE
=
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4940 $as_echo_n "checking whether ln -s works... " >&6; }
4942 if test "$LN_S" = "ln -s"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4944 $as_echo "yes" >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4947 $as_echo "no, using $LN_S" >&6; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
4952 $as_echo_n "checking for strerror in -lcposix... " >&6; }
4953 if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
4954 $as_echo_n "(cached) " >&6
4956 ac_check_lib_save_LIBS
=$LIBS
4957 LIBS
="-lcposix $LIBS"
4958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4961 /* Override any GCC internal prototype to avoid an error.
4962 Use char because int might match the return type of a GCC
4963 builtin and then its argument prototype would still apply. */
4976 if ac_fn_c_try_link
"$LINENO"; then :
4977 ac_cv_lib_cposix_strerror
=yes
4979 ac_cv_lib_cposix_strerror
=no
4981 rm -f core conftest.err conftest.
$ac_objext \
4982 conftest
$ac_exeext conftest.
$ac_ext
4983 LIBS
=$ac_check_lib_save_LIBS
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
4986 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
4987 if test "x$ac_cv_lib_cposix_strerror" = x
""yes; then :
4988 LIBS
="$LIBS -lcposix"
4993 # Check whether --enable-largefile was given.
4994 if test "${enable_largefile+set}" = set; then :
4995 enableval
=$enable_largefile;
4998 if test "$enable_largefile" != no
; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5001 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5002 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5003 $as_echo_n "(cached) " >&6
5005 ac_cv_sys_largefile_CC
=no
5006 if test "$GCC" != yes; then
5009 # IRIX 6.2 and later do not support large files by default,
5010 # so use the C compiler's -n32 option if that helps.
5011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5013 #include <sys/types.h>
5014 /* Check that off_t can represent 2**63 - 1 correctly.
5015 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5016 since some C++ compilers masquerading as C compilers
5017 incorrectly reject 9223372036854775807. */
5018 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5019 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5020 && LARGE_OFF_T % 2147483647 == 1)
5030 if ac_fn_c_try_compile
"$LINENO"; then :
5033 rm -f core conftest.err conftest.
$ac_objext
5035 if ac_fn_c_try_compile
"$LINENO"; then :
5036 ac_cv_sys_largefile_CC
=' -n32'; break
5038 rm -f core conftest.err conftest.
$ac_objext
5042 rm -f conftest.
$ac_ext
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5046 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5047 if test "$ac_cv_sys_largefile_CC" != no
; then
5048 CC
=$CC$ac_cv_sys_largefile_CC
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5052 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5053 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5058 /* end confdefs.h. */
5059 #include <sys/types.h>
5060 /* Check that off_t can represent 2**63 - 1 correctly.
5061 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5062 since some C++ compilers masquerading as C compilers
5063 incorrectly reject 9223372036854775807. */
5064 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5065 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5066 && LARGE_OFF_T % 2147483647 == 1)
5076 if ac_fn_c_try_compile
"$LINENO"; then :
5077 ac_cv_sys_file_offset_bits
=no
; break
5079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5081 /* end confdefs.h. */
5082 #define _FILE_OFFSET_BITS 64
5083 #include <sys/types.h>
5084 /* Check that off_t can represent 2**63 - 1 correctly.
5085 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5086 since some C++ compilers masquerading as C compilers
5087 incorrectly reject 9223372036854775807. */
5088 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5089 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5090 && LARGE_OFF_T % 2147483647 == 1)
5100 if ac_fn_c_try_compile
"$LINENO"; then :
5101 ac_cv_sys_file_offset_bits
=64; break
5103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5104 ac_cv_sys_file_offset_bits
=unknown
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5109 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5110 case $ac_cv_sys_file_offset_bits in #(
5113 cat >>confdefs.h
<<_ACEOF
5114 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5119 if test $ac_cv_sys_file_offset_bits = unknown
; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5121 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5122 if test "${ac_cv_sys_large_files+set}" = set; then :
5123 $as_echo_n "(cached) " >&6
5126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5127 /* end confdefs.h. */
5128 #include <sys/types.h>
5129 /* Check that off_t can represent 2**63 - 1 correctly.
5130 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5131 since some C++ compilers masquerading as C compilers
5132 incorrectly reject 9223372036854775807. */
5133 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5134 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5135 && LARGE_OFF_T % 2147483647 == 1)
5145 if ac_fn_c_try_compile
"$LINENO"; then :
5146 ac_cv_sys_large_files
=no
; break
5148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5150 /* end confdefs.h. */
5151 #define _LARGE_FILES 1
5152 #include <sys/types.h>
5153 /* Check that off_t can represent 2**63 - 1 correctly.
5154 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5155 since some C++ compilers masquerading as C compilers
5156 incorrectly reject 9223372036854775807. */
5157 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5158 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5159 && LARGE_OFF_T % 2147483647 == 1)
5169 if ac_fn_c_try_compile
"$LINENO"; then :
5170 ac_cv_sys_large_files
=1; break
5172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5173 ac_cv_sys_large_files
=unknown
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5178 $as_echo "$ac_cv_sys_large_files" >&6; }
5179 case $ac_cv_sys_large_files in #(
5182 cat >>confdefs.h
<<_ACEOF
5183 #define _LARGE_FILES $ac_cv_sys_large_files
5196 if test -n "$ac_aux_dir"; then
5197 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
5199 if test -z "$MKINSTALLDIRS"; then
5200 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5207 # Extract the first word of "msgfmt", so it can be a program name with args.
5208 set dummy msgfmt
; ac_word
=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5212 $as_echo_n "(cached) " >&6
5216 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5219 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5220 for ac_dir
in $PATH; do
5221 test -z "$ac_dir" && ac_dir
=.
5222 if test -f $ac_dir/$ac_word; then
5223 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5224 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5225 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5231 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5235 MSGFMT
="$ac_cv_path_MSGFMT"
5236 if test "$MSGFMT" != ":"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5238 $as_echo "$MSGFMT" >&6; }
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5244 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5245 set dummy gmsgfmt
; ac_word
=$2
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5247 $as_echo_n "checking for $ac_word... " >&6; }
5248 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5249 $as_echo_n "(cached) " >&6
5253 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5260 test -z "$as_dir" && as_dir
=.
5261 for ac_exec_ext
in '' $ac_executable_extensions; do
5262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5263 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5275 GMSGFMT
=$ac_cv_path_GMSGFMT
5276 if test -n "$GMSGFMT"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5278 $as_echo "$GMSGFMT" >&6; }
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5286 # Extract the first word of "xgettext", so it can be a program name with args.
5287 set dummy xgettext
; ac_word
=$2
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5289 $as_echo_n "checking for $ac_word... " >&6; }
5290 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5291 $as_echo_n "(cached) " >&6
5295 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5298 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5299 for ac_dir
in $PATH; do
5300 test -z "$ac_dir" && ac_dir
=.
5301 if test -f $ac_dir/$ac_word; then
5302 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
5303 (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5304 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5310 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5314 XGETTEXT
="$ac_cv_path_XGETTEXT"
5315 if test "$XGETTEXT" != ":"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5317 $as_echo "$XGETTEXT" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5325 # Extract the first word of "msgmerge", so it can be a program name with args.
5326 set dummy msgmerge
; ac_word
=$2
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328 $as_echo_n "checking for $ac_word... " >&6; }
5329 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5330 $as_echo_n "(cached) " >&6
5334 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5337 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5338 for ac_dir
in $PATH; do
5339 test -z "$ac_dir" && ac_dir
=.
5340 if test -f $ac_dir/$ac_word; then
5341 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5342 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
5348 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5352 MSGMERGE
="$ac_cv_path_MSGMERGE"
5353 if test "$MSGMERGE" != ":"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5355 $as_echo "$MSGMERGE" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5362 if test "$GMSGFMT" != ":"; then
5363 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
5364 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5367 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5369 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
5374 if test "$XGETTEXT" != ":"; then
5375 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
5376 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5380 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5386 ac_config_commands
="$ac_config_commands default-1"
5390 if test "X$prefix" = "XNONE"; then
5391 acl_final_prefix
="$ac_default_prefix"
5393 acl_final_prefix
="$prefix"
5395 if test "X$exec_prefix" = "XNONE"; then
5396 acl_final_exec_prefix
='${prefix}'
5398 acl_final_exec_prefix
="$exec_prefix"
5400 acl_save_prefix
="$prefix"
5401 prefix
="$acl_final_prefix"
5402 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5403 prefix
="$acl_save_prefix"
5406 # Check whether --with-gnu-ld was given.
5407 if test "${with_gnu_ld+set}" = set; then :
5408 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5414 if test "$GCC" = yes; then
5415 # Check if gcc -print-prog-name=ld gives a path.
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5417 $as_echo_n "checking for ld used by GCC... " >&6; }
5420 # gcc leaves a trailing carriage return which upsets mingw
5421 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5423 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5426 # Accept absolute paths.
5427 [\\/]* |
[A-Za-z
]:[\\/]*)
5428 re_direlt
='/[^/][^/]*/\.\./'
5429 # Canonicalize the path of ld
5430 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5431 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5432 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5434 test -z "$LD" && LD
="$ac_prog"
5437 # If it fails, then pretend we aren't using GCC.
5441 # If it is relative, then search for the first ld in PATH.
5445 elif test "$with_gnu_ld" = yes; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5447 $as_echo_n "checking for GNU ld... " >&6; }
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5450 $as_echo_n "checking for non-GNU ld... " >&6; }
5452 if test "${acl_cv_path_LD+set}" = set; then :
5453 $as_echo_n "(cached) " >&6
5455 if test -z "$LD"; then
5456 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5457 for ac_dir
in $PATH; do
5458 test -z "$ac_dir" && ac_dir
=.
5459 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5460 acl_cv_path_LD
="$ac_dir/$ac_prog"
5461 # Check to see if the program is GNU ld. I'd rather use --version,
5462 # but apparently some GNU ld's only accept -v.
5463 # Break only if it was the GNU/non-GNU ld that we prefer.
5464 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5465 test "$with_gnu_ld" != no
&& break
5467 test "$with_gnu_ld" != yes && break
5473 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5477 LD
="$acl_cv_path_LD"
5478 if test -n "$LD"; then
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5480 $as_echo "$LD" >&6; }
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5483 $as_echo "no" >&6; }
5485 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5487 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5488 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
5489 $as_echo_n "(cached) " >&6
5491 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5492 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5493 acl_cv_prog_gnu_ld
=yes
5495 acl_cv_prog_gnu_ld
=no
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5499 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5500 with_gnu_ld
=$acl_cv_prog_gnu_ld
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5505 $as_echo_n "checking for shared library run path origin... " >&6; }
5506 if test "${acl_cv_rpath+set}" = set; then :
5507 $as_echo_n "(cached) " >&6
5510 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5511 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5518 $as_echo "$acl_cv_rpath" >&6; }
5520 libext
="$acl_cv_libext"
5521 shlibext
="$acl_cv_shlibext"
5522 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5523 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5524 hardcode_direct
="$acl_cv_hardcode_direct"
5525 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5526 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
5527 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
5528 # Check whether --enable-rpath was given.
5529 if test "${enable_rpath+set}" = set; then :
5530 enableval
=$enable_rpath; :
5544 acl_save_prefix
="$prefix"
5545 prefix
="$acl_final_prefix"
5546 acl_save_exec_prefix
="$exec_prefix"
5547 exec_prefix
="$acl_final_exec_prefix"
5549 eval additional_includedir
=\"$includedir\"
5550 eval additional_libdir
=\"$libdir\"
5552 exec_prefix
="$acl_save_exec_prefix"
5553 prefix
="$acl_save_prefix"
5556 # Check whether --with-libiconv-prefix was given.
5557 if test "${with_libiconv_prefix+set}" = set; then :
5558 withval
=$with_libiconv_prefix;
5559 if test "X$withval" = "Xno"; then
5562 if test "X$withval" = "X"; then
5564 acl_save_prefix
="$prefix"
5565 prefix
="$acl_final_prefix"
5566 acl_save_exec_prefix
="$exec_prefix"
5567 exec_prefix
="$acl_final_exec_prefix"
5569 eval additional_includedir
=\"$includedir\"
5570 eval additional_libdir
=\"$libdir\"
5572 exec_prefix
="$acl_save_exec_prefix"
5573 prefix
="$acl_save_prefix"
5576 additional_includedir
="$withval/include"
5577 additional_libdir
="$withval/lib"
5588 names_already_handled
=
5589 names_next_round
='iconv '
5590 while test -n "$names_next_round"; do
5591 names_this_round
="$names_next_round"
5593 for name
in $names_this_round; do
5595 for n
in $names_already_handled; do
5596 if test "$n" = "$name"; then
5601 if test -z "$already_handled"; then
5602 names_already_handled
="$names_already_handled $name"
5603 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5604 eval value
=\"\
$HAVE_LIB$uppername\"
5605 if test -n "$value"; then
5606 if test "$value" = yes; then
5607 eval value
=\"\
$LIB$uppername\"
5608 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5609 eval value
=\"\
$LTLIB$uppername\"
5610 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5619 if test $use_additional = yes; then
5620 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5621 found_dir
="$additional_libdir"
5622 found_so
="$additional_libdir/lib$name.$shlibext"
5623 if test -f "$additional_libdir/lib$name.la"; then
5624 found_la
="$additional_libdir/lib$name.la"
5627 if test -f "$additional_libdir/lib$name.$libext"; then
5628 found_dir
="$additional_libdir"
5629 found_a
="$additional_libdir/lib$name.$libext"
5630 if test -f "$additional_libdir/lib$name.la"; then
5631 found_la
="$additional_libdir/lib$name.la"
5636 if test "X$found_dir" = "X"; then
5637 for x
in $LDFLAGS $LTLIBICONV; do
5639 acl_save_prefix
="$prefix"
5640 prefix
="$acl_final_prefix"
5641 acl_save_exec_prefix
="$exec_prefix"
5642 exec_prefix
="$acl_final_exec_prefix"
5644 exec_prefix
="$acl_save_exec_prefix"
5645 prefix
="$acl_save_prefix"
5649 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5650 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5652 found_so
="$dir/lib$name.$shlibext"
5653 if test -f "$dir/lib$name.la"; then
5654 found_la
="$dir/lib$name.la"
5657 if test -f "$dir/lib$name.$libext"; then
5659 found_a
="$dir/lib$name.$libext"
5660 if test -f "$dir/lib$name.la"; then
5661 found_la
="$dir/lib$name.la"
5667 if test "X$found_dir" != "X"; then
5672 if test "X$found_dir" != "X"; then
5673 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5674 if test "X$found_so" != "X"; then
5675 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
5676 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5679 for x
in $ltrpathdirs; do
5680 if test "X$x" = "X$found_dir"; then
5685 if test -z "$haveit"; then
5686 ltrpathdirs
="$ltrpathdirs $found_dir"
5688 if test "$hardcode_direct" = yes; then
5689 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5691 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
5692 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5694 for x
in $rpathdirs; do
5695 if test "X$x" = "X$found_dir"; then
5700 if test -z "$haveit"; then
5701 rpathdirs
="$rpathdirs $found_dir"
5705 for x
in $LDFLAGS $LIBICONV; do
5707 acl_save_prefix
="$prefix"
5708 prefix
="$acl_final_prefix"
5709 acl_save_exec_prefix
="$exec_prefix"
5710 exec_prefix
="$acl_final_exec_prefix"
5712 exec_prefix
="$acl_save_exec_prefix"
5713 prefix
="$acl_save_prefix"
5715 if test "X$x" = "X-L$found_dir"; then
5720 if test -z "$haveit"; then
5721 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5723 if test "$hardcode_minus_L" != no
; then
5724 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5726 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5732 if test "X$found_a" != "X"; then
5733 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5735 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5738 additional_includedir
=
5739 case "$found_dir" in
5741 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5742 additional_includedir
="$basedir/include"
5745 if test "X$additional_includedir" != "X"; then
5746 if test "X$additional_includedir" != "X/usr/include"; then
5748 if test "X$additional_includedir" = "X/usr/local/include"; then
5749 if test -n "$GCC"; then
5751 linux
*) haveit
=yes;;
5755 if test -z "$haveit"; then
5756 for x
in $CPPFLAGS $INCICONV; do
5758 acl_save_prefix
="$prefix"
5759 prefix
="$acl_final_prefix"
5760 acl_save_exec_prefix
="$exec_prefix"
5761 exec_prefix
="$acl_final_exec_prefix"
5763 exec_prefix
="$acl_save_exec_prefix"
5764 prefix
="$acl_save_prefix"
5766 if test "X$x" = "X-I$additional_includedir"; then
5771 if test -z "$haveit"; then
5772 if test -d "$additional_includedir"; then
5773 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5779 if test -n "$found_la"; then
5780 save_libdir
="$libdir"
5782 */* |
*\\*) .
"$found_la" ;;
5783 *) .
"./$found_la" ;;
5785 libdir
="$save_libdir"
5786 for dep
in $dependency_libs; do
5789 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5790 if test "X$additional_libdir" != "X/usr/lib"; then
5792 if test "X$additional_libdir" = "X/usr/local/lib"; then
5793 if test -n "$GCC"; then
5795 linux
*) haveit
=yes;;
5799 if test -z "$haveit"; then
5801 for x
in $LDFLAGS $LIBICONV; do
5803 acl_save_prefix
="$prefix"
5804 prefix
="$acl_final_prefix"
5805 acl_save_exec_prefix
="$exec_prefix"
5806 exec_prefix
="$acl_final_exec_prefix"
5808 exec_prefix
="$acl_save_exec_prefix"
5809 prefix
="$acl_save_prefix"
5811 if test "X$x" = "X-L$additional_libdir"; then
5816 if test -z "$haveit"; then
5817 if test -d "$additional_libdir"; then
5818 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5822 for x
in $LDFLAGS $LTLIBICONV; do
5824 acl_save_prefix
="$prefix"
5825 prefix
="$acl_final_prefix"
5826 acl_save_exec_prefix
="$exec_prefix"
5827 exec_prefix
="$acl_final_exec_prefix"
5829 exec_prefix
="$acl_save_exec_prefix"
5830 prefix
="$acl_save_prefix"
5832 if test "X$x" = "X-L$additional_libdir"; then
5837 if test -z "$haveit"; then
5838 if test -d "$additional_libdir"; then
5839 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5846 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5847 if test "$enable_rpath" != no
; then
5849 for x
in $rpathdirs; do
5850 if test "X$x" = "X$dir"; then
5855 if test -z "$haveit"; then
5856 rpathdirs
="$rpathdirs $dir"
5859 for x
in $ltrpathdirs; do
5860 if test "X$x" = "X$dir"; then
5865 if test -z "$haveit"; then
5866 ltrpathdirs
="$ltrpathdirs $dir"
5871 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5874 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5877 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5878 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5884 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5885 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5891 if test "X$rpathdirs" != "X"; then
5892 if test -n "$hardcode_libdir_separator"; then
5894 for found_dir
in $rpathdirs; do
5895 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5897 acl_save_libdir
="$libdir"
5899 eval flag
=\"$hardcode_libdir_flag_spec\"
5900 libdir
="$acl_save_libdir"
5901 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5903 for found_dir
in $rpathdirs; do
5904 acl_save_libdir
="$libdir"
5906 eval flag
=\"$hardcode_libdir_flag_spec\"
5907 libdir
="$acl_save_libdir"
5908 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5912 if test "X$ltrpathdirs" != "X"; then
5913 for found_dir
in $ltrpathdirs; do
5914 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5935 $as_echo_n "checking whether NLS is requested... " >&6; }
5936 # Check whether --enable-nls was given.
5937 if test "${enable_nls+set}" = set; then :
5938 enableval
=$enable_nls; USE_NLS
=$enableval
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5944 $as_echo "$USE_NLS" >&6; }
5952 if test "$USE_NLS" = "yes"; then
5953 gt_use_preinstalled_gnugettext
=no
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5961 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5962 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then :
5963 $as_echo_n "(cached) " >&6
5965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5966 /* end confdefs.h. */
5967 #include <libintl.h>
5968 extern int _nl_msg_cat_cntr;
5969 extern int *_nl_domain_bindings;
5973 bindtextdomain ("", "");
5974 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
5979 if ac_fn_c_try_link
"$LINENO"; then :
5980 gt_cv_func_gnugettext2_libc
=yes
5982 gt_cv_func_gnugettext2_libc
=no
5984 rm -f core conftest.err conftest.
$ac_objext \
5985 conftest
$ac_exeext conftest.
$ac_ext
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
5988 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
5990 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
5996 am_save_CPPFLAGS
="$CPPFLAGS"
5998 for element
in $INCICONV; do
6000 for x
in $CPPFLAGS; do
6002 acl_save_prefix
="$prefix"
6003 prefix
="$acl_final_prefix"
6004 acl_save_exec_prefix
="$exec_prefix"
6005 exec_prefix
="$acl_final_exec_prefix"
6007 exec_prefix
="$acl_save_exec_prefix"
6008 prefix
="$acl_save_prefix"
6010 if test "X$x" = "X$element"; then
6015 if test -z "$haveit"; then
6016 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6022 $as_echo_n "checking for iconv... " >&6; }
6023 if test "${am_cv_func_iconv+set}" = set; then :
6024 $as_echo_n "(cached) " >&6
6027 am_cv_func_iconv
="no, consider installing GNU libiconv"
6029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6030 /* end confdefs.h. */
6036 iconv_t cd = iconv_open("","");
6037 iconv(cd,NULL,NULL,NULL,NULL);
6043 if ac_fn_c_try_link
"$LINENO"; then :
6044 am_cv_func_iconv
=yes
6046 rm -f core conftest.err conftest.
$ac_objext \
6047 conftest
$ac_exeext conftest.
$ac_ext
6048 if test "$am_cv_func_iconv" != yes; then
6049 am_save_LIBS
="$LIBS"
6050 LIBS
="$LIBS $LIBICONV"
6051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6052 /* end confdefs.h. */
6058 iconv_t cd = iconv_open("","");
6059 iconv(cd,NULL,NULL,NULL,NULL);
6065 if ac_fn_c_try_link
"$LINENO"; then :
6067 am_cv_func_iconv
=yes
6069 rm -f core conftest.err conftest.
$ac_objext \
6070 conftest
$ac_exeext conftest.
$ac_ext
6071 LIBS
="$am_save_LIBS"
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6076 $as_echo "$am_cv_func_iconv" >&6; }
6077 if test "$am_cv_func_iconv" = yes; then
6079 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6082 if test "$am_cv_lib_iconv" = yes; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6084 $as_echo_n "checking how to link with libiconv... " >&6; }
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6086 $as_echo "$LIBICONV" >&6; }
6088 CPPFLAGS
="$am_save_CPPFLAGS"
6100 acl_save_prefix
="$prefix"
6101 prefix
="$acl_final_prefix"
6102 acl_save_exec_prefix
="$exec_prefix"
6103 exec_prefix
="$acl_final_exec_prefix"
6105 eval additional_includedir
=\"$includedir\"
6106 eval additional_libdir
=\"$libdir\"
6108 exec_prefix
="$acl_save_exec_prefix"
6109 prefix
="$acl_save_prefix"
6112 # Check whether --with-libintl-prefix was given.
6113 if test "${with_libintl_prefix+set}" = set; then :
6114 withval
=$with_libintl_prefix;
6115 if test "X$withval" = "Xno"; then
6118 if test "X$withval" = "X"; then
6120 acl_save_prefix
="$prefix"
6121 prefix
="$acl_final_prefix"
6122 acl_save_exec_prefix
="$exec_prefix"
6123 exec_prefix
="$acl_final_exec_prefix"
6125 eval additional_includedir
=\"$includedir\"
6126 eval additional_libdir
=\"$libdir\"
6128 exec_prefix
="$acl_save_exec_prefix"
6129 prefix
="$acl_save_prefix"
6132 additional_includedir
="$withval/include"
6133 additional_libdir
="$withval/lib"
6144 names_already_handled
=
6145 names_next_round
='intl '
6146 while test -n "$names_next_round"; do
6147 names_this_round
="$names_next_round"
6149 for name
in $names_this_round; do
6151 for n
in $names_already_handled; do
6152 if test "$n" = "$name"; then
6157 if test -z "$already_handled"; then
6158 names_already_handled
="$names_already_handled $name"
6159 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6160 eval value
=\"\
$HAVE_LIB$uppername\"
6161 if test -n "$value"; then
6162 if test "$value" = yes; then
6163 eval value
=\"\
$LIB$uppername\"
6164 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6165 eval value
=\"\
$LTLIB$uppername\"
6166 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6175 if test $use_additional = yes; then
6176 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6177 found_dir
="$additional_libdir"
6178 found_so
="$additional_libdir/lib$name.$shlibext"
6179 if test -f "$additional_libdir/lib$name.la"; then
6180 found_la
="$additional_libdir/lib$name.la"
6183 if test -f "$additional_libdir/lib$name.$libext"; then
6184 found_dir
="$additional_libdir"
6185 found_a
="$additional_libdir/lib$name.$libext"
6186 if test -f "$additional_libdir/lib$name.la"; then
6187 found_la
="$additional_libdir/lib$name.la"
6192 if test "X$found_dir" = "X"; then
6193 for x
in $LDFLAGS $LTLIBINTL; do
6195 acl_save_prefix
="$prefix"
6196 prefix
="$acl_final_prefix"
6197 acl_save_exec_prefix
="$exec_prefix"
6198 exec_prefix
="$acl_final_exec_prefix"
6200 exec_prefix
="$acl_save_exec_prefix"
6201 prefix
="$acl_save_prefix"
6205 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6206 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6208 found_so
="$dir/lib$name.$shlibext"
6209 if test -f "$dir/lib$name.la"; then
6210 found_la
="$dir/lib$name.la"
6213 if test -f "$dir/lib$name.$libext"; then
6215 found_a
="$dir/lib$name.$libext"
6216 if test -f "$dir/lib$name.la"; then
6217 found_la
="$dir/lib$name.la"
6223 if test "X$found_dir" != "X"; then
6228 if test "X$found_dir" != "X"; then
6229 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6230 if test "X$found_so" != "X"; then
6231 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6232 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6235 for x
in $ltrpathdirs; do
6236 if test "X$x" = "X$found_dir"; then
6241 if test -z "$haveit"; then
6242 ltrpathdirs
="$ltrpathdirs $found_dir"
6244 if test "$hardcode_direct" = yes; then
6245 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6247 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6248 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6250 for x
in $rpathdirs; do
6251 if test "X$x" = "X$found_dir"; then
6256 if test -z "$haveit"; then
6257 rpathdirs
="$rpathdirs $found_dir"
6261 for x
in $LDFLAGS $LIBINTL; do
6263 acl_save_prefix
="$prefix"
6264 prefix
="$acl_final_prefix"
6265 acl_save_exec_prefix
="$exec_prefix"
6266 exec_prefix
="$acl_final_exec_prefix"
6268 exec_prefix
="$acl_save_exec_prefix"
6269 prefix
="$acl_save_prefix"
6271 if test "X$x" = "X-L$found_dir"; then
6276 if test -z "$haveit"; then
6277 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6279 if test "$hardcode_minus_L" != no
; then
6280 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6282 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6288 if test "X$found_a" != "X"; then
6289 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6291 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6294 additional_includedir
=
6295 case "$found_dir" in
6297 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6298 additional_includedir
="$basedir/include"
6301 if test "X$additional_includedir" != "X"; then
6302 if test "X$additional_includedir" != "X/usr/include"; then
6304 if test "X$additional_includedir" = "X/usr/local/include"; then
6305 if test -n "$GCC"; then
6307 linux
*) haveit
=yes;;
6311 if test -z "$haveit"; then
6312 for x
in $CPPFLAGS $INCINTL; do
6314 acl_save_prefix
="$prefix"
6315 prefix
="$acl_final_prefix"
6316 acl_save_exec_prefix
="$exec_prefix"
6317 exec_prefix
="$acl_final_exec_prefix"
6319 exec_prefix
="$acl_save_exec_prefix"
6320 prefix
="$acl_save_prefix"
6322 if test "X$x" = "X-I$additional_includedir"; then
6327 if test -z "$haveit"; then
6328 if test -d "$additional_includedir"; then
6329 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6335 if test -n "$found_la"; then
6336 save_libdir
="$libdir"
6338 */* |
*\\*) .
"$found_la" ;;
6339 *) .
"./$found_la" ;;
6341 libdir
="$save_libdir"
6342 for dep
in $dependency_libs; do
6345 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6346 if test "X$additional_libdir" != "X/usr/lib"; then
6348 if test "X$additional_libdir" = "X/usr/local/lib"; then
6349 if test -n "$GCC"; then
6351 linux
*) haveit
=yes;;
6355 if test -z "$haveit"; then
6357 for x
in $LDFLAGS $LIBINTL; do
6359 acl_save_prefix
="$prefix"
6360 prefix
="$acl_final_prefix"
6361 acl_save_exec_prefix
="$exec_prefix"
6362 exec_prefix
="$acl_final_exec_prefix"
6364 exec_prefix
="$acl_save_exec_prefix"
6365 prefix
="$acl_save_prefix"
6367 if test "X$x" = "X-L$additional_libdir"; then
6372 if test -z "$haveit"; then
6373 if test -d "$additional_libdir"; then
6374 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6378 for x
in $LDFLAGS $LTLIBINTL; do
6380 acl_save_prefix
="$prefix"
6381 prefix
="$acl_final_prefix"
6382 acl_save_exec_prefix
="$exec_prefix"
6383 exec_prefix
="$acl_final_exec_prefix"
6385 exec_prefix
="$acl_save_exec_prefix"
6386 prefix
="$acl_save_prefix"
6388 if test "X$x" = "X-L$additional_libdir"; then
6393 if test -z "$haveit"; then
6394 if test -d "$additional_libdir"; then
6395 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6402 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6403 if test "$enable_rpath" != no
; then
6405 for x
in $rpathdirs; do
6406 if test "X$x" = "X$dir"; then
6411 if test -z "$haveit"; then
6412 rpathdirs
="$rpathdirs $dir"
6415 for x
in $ltrpathdirs; do
6416 if test "X$x" = "X$dir"; then
6421 if test -z "$haveit"; then
6422 ltrpathdirs
="$ltrpathdirs $dir"
6427 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6430 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6433 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6434 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6440 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6441 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6447 if test "X$rpathdirs" != "X"; then
6448 if test -n "$hardcode_libdir_separator"; then
6450 for found_dir
in $rpathdirs; do
6451 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6453 acl_save_libdir
="$libdir"
6455 eval flag
=\"$hardcode_libdir_flag_spec\"
6456 libdir
="$acl_save_libdir"
6457 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6459 for found_dir
in $rpathdirs; do
6460 acl_save_libdir
="$libdir"
6462 eval flag
=\"$hardcode_libdir_flag_spec\"
6463 libdir
="$acl_save_libdir"
6464 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6468 if test "X$ltrpathdirs" != "X"; then
6469 for found_dir
in $ltrpathdirs; do
6470 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6475 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6476 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then :
6477 $as_echo_n "(cached) " >&6
6479 gt_save_CPPFLAGS
="$CPPFLAGS"
6480 CPPFLAGS
="$CPPFLAGS $INCINTL"
6481 gt_save_LIBS
="$LIBS"
6482 LIBS
="$LIBS $LIBINTL"
6483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6484 /* end confdefs.h. */
6485 #include <libintl.h>
6486 extern int _nl_msg_cat_cntr;
6491 const char *_nl_expand_alias ();
6495 bindtextdomain ("", "");
6496 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6501 if ac_fn_c_try_link
"$LINENO"; then :
6502 gt_cv_func_gnugettext2_libintl
=yes
6504 gt_cv_func_gnugettext2_libintl
=no
6506 rm -f core conftest.err conftest.
$ac_objext \
6507 conftest
$ac_exeext conftest.
$ac_ext
6508 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
6509 LIBS
="$LIBS $LIBICONV"
6510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6512 #include <libintl.h>
6513 extern int _nl_msg_cat_cntr;
6518 const char *_nl_expand_alias ();
6522 bindtextdomain ("", "");
6523 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6528 if ac_fn_c_try_link
"$LINENO"; then :
6529 LIBINTL
="$LIBINTL $LIBICONV"
6530 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
6531 gt_cv_func_gnugettext2_libintl
=yes
6534 rm -f core conftest.err conftest.
$ac_objext \
6535 conftest
$ac_exeext conftest.
$ac_ext
6537 CPPFLAGS
="$gt_save_CPPFLAGS"
6538 LIBS
="$gt_save_LIBS"
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
6541 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
6544 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
6545 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
6546 && test "$PACKAGE" != gettext; }; then
6547 gt_use_preinstalled_gnugettext
=yes
6556 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6557 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6559 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6566 if test "$USE_NLS" = "yes"; then
6568 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6569 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6571 $as_echo_n "checking how to link with libintl... " >&6; }
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6573 $as_echo "$LIBINTL" >&6; }
6575 for element
in $INCINTL; do
6577 for x
in $CPPFLAGS; do
6579 acl_save_prefix
="$prefix"
6580 prefix
="$acl_final_prefix"
6581 acl_save_exec_prefix
="$exec_prefix"
6582 exec_prefix
="$acl_final_exec_prefix"
6584 exec_prefix
="$acl_save_exec_prefix"
6585 prefix
="$acl_save_prefix"
6587 if test "X$x" = "X$element"; then
6592 if test -z "$haveit"; then
6593 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6600 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6603 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6619 if test x
$USE_NLS = xyes
; then
6629 pkgdatadir
=${datadir}/${PACKAGE}
6633 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
6634 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
6635 eval ac_define_dir
="\"$pkgdatadir\""
6636 eval ac_define_dir
="\"$ac_define_dir\""
6637 PKGDATADIR
="$ac_define_dir"
6640 cat >>confdefs.h
<<_ACEOF
6641 #define PKGDATADIR "$ac_define_dir"
6644 test "$prefix_NONE" && prefix
=NONE
6645 test "$exec_prefix_NONE" && exec_prefix
=NONE
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6650 $as_echo_n "checking for ANSI C header files... " >&6; }
6651 if test "${ac_cv_header_stdc+set}" = set; then :
6652 $as_echo_n "(cached) " >&6
6654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6655 /* end confdefs.h. */
6669 if ac_fn_c_try_compile
"$LINENO"; then :
6670 ac_cv_header_stdc
=yes
6672 ac_cv_header_stdc
=no
6674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6676 if test $ac_cv_header_stdc = yes; then
6677 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6679 /* end confdefs.h. */
6683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6684 $EGREP "memchr" >/dev
/null
2>&1; then :
6687 ac_cv_header_stdc
=no
6693 if test $ac_cv_header_stdc = yes; then
6694 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6701 $EGREP "free" >/dev
/null
2>&1; then :
6704 ac_cv_header_stdc
=no
6710 if test $ac_cv_header_stdc = yes; then
6711 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6712 if test "$cross_compiling" = yes; then :
6715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6716 /* end confdefs.h. */
6719 #if ((' ' & 0x0FF) == 0x020)
6720 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6721 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6723 # define ISLOWER(c) \
6724 (('a' <= (c) && (c) <= 'i') \
6725 || ('j' <= (c) && (c) <= 'r') \
6726 || ('s' <= (c) && (c) <= 'z'))
6727 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6730 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6735 for (i = 0; i < 256; i++)
6736 if (XOR (islower (i), ISLOWER (i))
6737 || toupper (i) != TOUPPER (i))
6742 if ac_fn_c_try_run
"$LINENO"; then :
6745 ac_cv_header_stdc
=no
6747 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6748 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6754 $as_echo "$ac_cv_header_stdc" >&6; }
6755 if test $ac_cv_header_stdc = yes; then
6757 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6761 for ac_header
in getopt.h libintl.h limits.h regex.h sys
/param.h wchar.h wctype.h stdarg.h
6763 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6764 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6765 eval as_val
=\$
$as_ac_Header
6766 if test "x$as_val" = x
""yes; then :
6767 cat >>confdefs.h
<<_ACEOF
6768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6777 # Check whether --enable-debug was given.
6778 if test "${enable_debug+set}" = set; then :
6779 enableval
=$enable_debug; if test x
$enableval = xyes
; then
6781 $as_echo "#define DEBUG 1" >>confdefs.h
6787 if test x
$debug_support != xyes
; then
6789 $as_echo "#define NDEBUG 1" >>confdefs.h
6793 # Check whether --enable-tiny was given.
6794 if test "${enable_tiny+set}" = set; then :
6795 enableval
=$enable_tiny; if test x
$enableval = xyes
; then
6797 $as_echo "#define NANO_TINY 1" >>confdefs.h
6800 $as_echo "#define DISABLE_BROWSER 1" >>confdefs.h
6803 $as_echo "#define DISABLE_HELP 1" >>confdefs.h
6806 $as_echo "#define DISABLE_JUSTIFY 1" >>confdefs.h
6809 $as_echo "#define DISABLE_MOUSE 1" >>confdefs.h
6812 $as_echo "#define DISABLE_OPERATINGDIR 1" >>confdefs.h
6815 $as_echo "#define DISABLE_SPELLER 1" >>confdefs.h
6818 $as_echo "#define DISABLE_TABCOMP 1" >>confdefs.h
6821 $as_echo "#define DISABLE_WRAPPING 1" >>confdefs.h
6828 # Check whether --enable-extra was given.
6829 if test "${enable_extra+set}" = set; then :
6830 enableval
=$enable_extra; if test x
$enableval != xno
; then
6832 $as_echo "#define NANO_EXTRA 1" >>confdefs.h
6836 if test x
$enable_tiny != xyes
; then
6838 $as_echo "#define NANO_EXTRA 1" >>confdefs.h
6844 # Check whether --enable-browser was given.
6845 if test "${enable_browser+set}" = set; then :
6846 enableval
=$enable_browser; if test x
$enableval != xyes
; then
6848 $as_echo "#define DISABLE_BROWSER 1" >>confdefs.h
6854 # Check whether --enable-help was given.
6855 if test "${enable_help+set}" = set; then :
6856 enableval
=$enable_help; if test x
$enableval != xyes
; then
6858 $as_echo "#define DISABLE_HELP 1" >>confdefs.h
6864 # Check whether --enable-justify was given.
6865 if test "${enable_justify+set}" = set; then :
6866 enableval
=$enable_justify; if test x
$enableval != xyes
; then
6868 $as_echo "#define DISABLE_JUSTIFY 1" >>confdefs.h
6874 # Check whether --enable-mouse was given.
6875 if test "${enable_mouse+set}" = set; then :
6876 enableval
=$enable_mouse; if test x
$enableval != xyes
; then
6878 $as_echo "#define DISABLE_MOUSE 1" >>confdefs.h
6884 # Check whether --enable-operatingdir was given.
6885 if test "${enable_operatingdir+set}" = set; then :
6886 enableval
=$enable_operatingdir; if test x
$enableval != xyes
; then
6888 $as_echo "#define DISABLE_OPERATINGDIR 1" >>confdefs.h
6894 # Check whether --enable-speller was given.
6895 if test "${enable_speller+set}" = set; then :
6896 enableval
=$enable_speller; if test x
$enableval != xyes
; then
6898 $as_echo "#define DISABLE_SPELLER 1" >>confdefs.h
6904 # Check whether --enable-tabcomp was given.
6905 if test "${enable_tabcomp+set}" = set; then :
6906 enableval
=$enable_tabcomp; if test x
$enableval != xyes
; then
6908 $as_echo "#define DISABLE_TABCOMP 1" >>confdefs.h
6914 # Check whether --enable-wrapping was given.
6915 if test "${enable_wrapping+set}" = set; then :
6916 enableval
=$enable_wrapping; if test x
$enableval != xyes
; then
6918 $as_echo "#define DISABLE_WRAPPING 1" >>confdefs.h
6924 # Check whether --enable-wrapping-as-root was given.
6925 if test "${enable_wrapping_as_root+set}" = set; then :
6926 enableval
=$enable_wrapping_as_root; if test x
$enableval != xyes
; then
6928 $as_echo "#define DISABLE_ROOTWRAPPING 1" >>confdefs.h
6934 # Check whether --enable-color was given.
6935 if test "${enable_color+set}" = set; then :
6936 enableval
=$enable_color; if test x
$enableval != xno
; then
6937 if test x
$ac_cv_header_regex_h = xyes
; then
6939 $as_echo "#define ENABLE_NANORC 1" >>confdefs.h
6942 $as_echo "#define ENABLE_COLOR 1" >>confdefs.h
6946 *** The header file regex.h was not found. If you wish to use color
6947 *** support this header file is required. Please either install C
6948 *** libraries that include the regex.h file or call the configure
6949 *** script with --disable-color." "$LINENO" 5
6953 if test x
$enable_tiny != xyes
; then
6954 if test x
$ac_cv_header_regex_h = xyes
; then
6956 $as_echo "#define ENABLE_NANORC 1" >>confdefs.h
6959 $as_echo "#define ENABLE_COLOR 1" >>confdefs.h
6963 *** The header file regex.h was not found. If you wish to use color
6964 *** support this header file is required. Please either install C
6965 *** libraries that include the regex.h file or call the configure
6966 *** script with --disable-color." "$LINENO" 5
6973 # Check whether --enable-multibuffer was given.
6974 if test "${enable_multibuffer+set}" = set; then :
6975 enableval
=$enable_multibuffer; if test x
$enableval != xno
; then
6977 $as_echo "#define ENABLE_MULTIBUFFER 1" >>confdefs.h
6978 multibuffer_support
=yes
6981 if test x
$enable_tiny != xyes
; then
6983 $as_echo "#define ENABLE_MULTIBUFFER 1" >>confdefs.h
6984 multibuffer_support
=yes
6989 # Check whether --enable-nanorc was given.
6990 if test "${enable_nanorc+set}" = set; then :
6991 enableval
=$enable_nanorc; if test x
$enableval != xno
; then
6993 $as_echo "#define ENABLE_NANORC 1" >>confdefs.h
6997 if test x
$enable_tiny != xyes
; then
6999 $as_echo "#define ENABLE_NANORC 1" >>confdefs.h
7005 # Check whether --enable-all was given.
7006 if test "${enable_all+set}" = set; then :
7007 enableval
=$enable_all; if test x
$enableval = xyes
; then
7008 echo "--enable-all option no longer needed, ignoring for compatibility"
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable UTF-8 support" >&5
7014 $as_echo_n "checking whether to enable UTF-8 support... " >&6; }
7015 # Check whether --enable-utf8 was given.
7016 if test "${enable_utf8+set}" = set; then :
7017 enableval
=$enable_utf8; if test x
$enableval = xyes
; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_utf8" >&5
7027 $as_echo "$enable_utf8" >&6; }
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use slang" >&5
7030 $as_echo_n "checking whether to use slang... " >&6; }
7033 # Check whether --with-slang was given.
7034 if test "${with_slang+set}" = set; then :
7035 withval
=$with_slang; case "$with_slang" in
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7038 $as_echo "no" >&6; }
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7042 $as_echo "yes" >&6; }
7044 if test x
$with_slang != xyes
; then
7045 # Add additional search path
7046 LDFLAGS
="-L$with_slang/lib $LDFLAGS"
7047 CPPFLAGS
="-I$with_slang/include $CPPFLAGS"
7050 if test x
$enable_utf8 != xno
; then
7051 ac_fn_c_check_header_mongrel
"$LINENO" "slcurses.h" "ac_cv_header_slcurses_h" "$ac_includes_default"
7052 if test "x$ac_cv_header_slcurses_h" = x
""yes; then :
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SLutf8_enable in -lslang" >&5
7054 $as_echo_n "checking for SLutf8_enable in -lslang... " >&6; }
7056 LIBS
="$LIBS -lslang"
7057 if test "$cross_compiling" = yes; then :
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Can not use slang when cross-compiling" >&5
7059 $as_echo "$as_me: WARNING: *** Can not use slang when cross-compiling" >&2;}
7061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7062 /* end confdefs.h. */
7064 #include <slcurses.h>
7071 if ac_fn_c_try_run
"$LINENO"; then :
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7073 $as_echo "yes" >&6; }
7075 $as_echo "#define USE_SLANG 1" >>confdefs.h
7078 if test x
$with_slang != xyes
; then
7079 CURSES_LIB
="-L${with_slang}/lib -lslang"
7081 CURSES_LIB
="-lslang"
7083 CURSES_LIB_NAME
=slang
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7086 $as_echo "no" >&6; }
7088 # We might need the term library
7089 for termlib
in ncurses curses termcap terminfo termlib
; do
7090 as_ac_Lib
=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5
7092 $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
7093 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
7094 $as_echo_n "(cached) " >&6
7096 ac_check_lib_save_LIBS
=$LIBS
7097 LIBS
="-l${termlib} $LIBS"
7098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7099 /* end confdefs.h. */
7101 /* Override any GCC internal prototype to avoid an error.
7102 Use char because int might match the return type of a GCC
7103 builtin and then its argument prototype would still apply. */
7116 if ac_fn_c_try_link
"$LINENO"; then :
7117 eval "$as_ac_Lib=yes"
7119 eval "$as_ac_Lib=no"
7121 rm -f core conftest.err conftest.
$ac_objext \
7122 conftest
$ac_exeext conftest.
$ac_ext
7123 LIBS
=$ac_check_lib_save_LIBS
7125 eval ac_res
=\$
$as_ac_Lib
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7127 $as_echo "$ac_res" >&6; }
7128 eval as_val
=\$
$as_ac_Lib
7129 if test "x$as_val" = x
""yes; then :
7133 test -n "$tcap" && break
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SLutf8_enable in -lslang $tcap" >&5
7137 $as_echo_n "checking for SLutf8_enable in -lslang $tcap... " >&6; }
7139 if test "$cross_compiling" = yes; then :
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Can not use slang when cross-compiling" >&5
7141 $as_echo "$as_me: WARNING: *** Can not use slang when cross-compiling" >&2;}
7143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7144 /* end confdefs.h. */
7146 #include <slcurses.h>
7153 if ac_fn_c_try_run
"$LINENO"; then :
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7155 $as_echo "yes" >&6; }
7157 $as_echo "#define USE_SLANG 1" >>confdefs.h
7160 if test x
$with_slang != xyes
; then
7161 CURSES_LIB
="-L${with_slang}/lib -lslang $tcap"
7163 CURSES_LIB
="-lslang $tcap"
7165 CURSES_LIB_NAME
=slang
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7170 # We might need the math library
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SLutf8_enable in -lslang $tcap -lm" >&5
7172 $as_echo_n "checking for SLutf8_enable in -lslang $tcap -lm... " >&6; }
7174 if test "$cross_compiling" = yes; then :
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Can not use slang when cross-compiling" >&5
7176 $as_echo "$as_me: WARNING: *** Can not use slang when cross-compiling" >&2;}
7178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7179 /* end confdefs.h. */
7181 #include <slcurses.h>
7188 if ac_fn_c_try_run
"$LINENO"; then :
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7190 $as_echo "yes" >&6; }
7192 $as_echo "#define USE_SLANG 1" >>confdefs.h
7195 if test x
$with_slang != xyes
; then
7196 CURSES_LIB
="-L${with_slang}/lib -lslang $tcap -lm"
7198 CURSES_LIB
="-lslang $tcap -lm"
7200 CURSES_LIB_NAME
=slang
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7205 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7206 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7210 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7211 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7215 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7216 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7221 *** The header file slcurses.h was not found. If you wish to use
7222 *** slang support this header file is required. Please either
7223 *** install a version of slang that includes the slcurses.h file or
7224 *** do not call the configure script with --with-slang." "$LINENO" 5
7230 if eval "test x$CURSES_LIB_NAME = x"; then
7231 # Reset libs if the above slang tests failed
7232 if test x
$enable_utf8 != xno
; then
7236 ac_fn_c_check_header_mongrel
"$LINENO" "slcurses.h" "ac_cv_header_slcurses_h" "$ac_includes_default"
7237 if test "x$ac_cv_header_slcurses_h" = x
""yes; then :
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SLtt_initialize in -lslang" >&5
7239 $as_echo_n "checking for SLtt_initialize in -lslang... " >&6; }
7241 LIBS
="$LIBS -lslang"
7242 if test "$cross_compiling" = yes; then :
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Can not use slang when cross-compiling" >&5
7244 $as_echo "$as_me: WARNING: *** Can not use slang when cross-compiling" >&2;}
7246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7247 /* end confdefs.h. */
7249 #include <slcurses.h>
7252 SLtt_initialize(NULL);
7256 if ac_fn_c_try_run
"$LINENO"; then :
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7258 $as_echo "yes" >&6; }
7260 $as_echo "#define USE_SLANG 1" >>confdefs.h
7262 if test x
$with_slang != xyes
; then
7263 CURSES_LIB
="-L${with_slang}/lib -lslang"
7265 CURSES_LIB
="-lslang"
7267 CURSES_LIB_NAME
=slang
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7270 $as_echo "no" >&6; }
7272 # We might need the term library
7273 for termlib
in ncurses curses termcap terminfo termlib
; do
7274 as_ac_Lib
=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5
7276 $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
7277 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
7278 $as_echo_n "(cached) " >&6
7280 ac_check_lib_save_LIBS
=$LIBS
7281 LIBS
="-l${termlib} $LIBS"
7282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7283 /* end confdefs.h. */
7285 /* Override any GCC internal prototype to avoid an error.
7286 Use char because int might match the return type of a GCC
7287 builtin and then its argument prototype would still apply. */
7300 if ac_fn_c_try_link
"$LINENO"; then :
7301 eval "$as_ac_Lib=yes"
7303 eval "$as_ac_Lib=no"
7305 rm -f core conftest.err conftest.
$ac_objext \
7306 conftest
$ac_exeext conftest.
$ac_ext
7307 LIBS
=$ac_check_lib_save_LIBS
7309 eval ac_res
=\$
$as_ac_Lib
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7311 $as_echo "$ac_res" >&6; }
7312 eval as_val
=\$
$as_ac_Lib
7313 if test "x$as_val" = x
""yes; then :
7317 test -n "$tcap" && break
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SLtt_initialize in -lslang $tcap" >&5
7321 $as_echo_n "checking for SLtt_initialize in -lslang $tcap... " >&6; }
7323 if test "$cross_compiling" = yes; then :
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Can not use slang when cross-compiling" >&5
7325 $as_echo "$as_me: WARNING: *** Can not use slang when cross-compiling" >&2;}
7327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7328 /* end confdefs.h. */
7330 #include <slcurses.h>
7333 SLtt_initialize(NULL);
7337 if ac_fn_c_try_run
"$LINENO"; then :
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7339 $as_echo "yes" >&6; }
7341 $as_echo "#define USE_SLANG 1" >>confdefs.h
7343 if test x
$with_slang != xyes
; then
7344 CURSES_LIB
="-L${with_slang}/lib -lslang $tcap"
7346 CURSES_LIB
="-lslang $tcap"
7348 CURSES_LIB_NAME
=slang
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351 $as_echo "no" >&6; }
7353 # We might need the math library
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SLtt_initialize in -lslang $tcap -lm" >&5
7355 $as_echo_n "checking for SLtt_initialize in -lslang $tcap -lm... " >&6; }
7357 if test "$cross_compiling" = yes; then :
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Can not use slang when cross-compiling" >&5
7359 $as_echo "$as_me: WARNING: *** Can not use slang when cross-compiling" >&2;}
7361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7362 /* end confdefs.h. */
7364 #include <slcurses.h>
7367 SLtt_initialize(NULL);
7371 if ac_fn_c_try_run
"$LINENO"; then :
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7373 $as_echo "yes" >&6; }
7375 $as_echo "#define USE_SLANG 1" >>confdefs.h
7377 if test x
$with_slang != xyes
; then
7378 CURSES_LIB
="-L${with_slang}/lib -lslang $tcap -lm"
7380 CURSES_LIB
="-lslang $tcap -lm"
7382 CURSES_LIB_NAME
=slang
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7385 $as_echo "no" >&6; }
7387 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7388 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7392 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7393 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7397 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7398 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7403 *** The header file slcurses.h was not found. If you wish to use
7404 *** slang support this header file is required. Please either
7405 *** install a version of slang that includes the slcurses.h file or
7406 *** do not call the configure script with --with-slang." "$LINENO" 5
7412 if test "${_libs+set}" = "set"; then
7416 if test x
$with_slang != xyes
; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 $as_echo "no" >&6; }
7427 if test x
$CURSES_LIB_NAME = xslang
; then
7429 $as_echo "#define NANO_TINY 1" >>confdefs.h
7432 $as_echo "#define DISABLE_BROWSER 1" >>confdefs.h
7435 $as_echo "#define DISABLE_HELP 1" >>confdefs.h
7438 $as_echo "#define DISABLE_JUSTIFY 1" >>confdefs.h
7441 $as_echo "#define DISABLE_MOUSE 1" >>confdefs.h
7444 $as_echo "#define DISABLE_OPERATINGDIR 1" >>confdefs.h
7447 $as_echo "#define DISABLE_SPELLER 1" >>confdefs.h
7450 $as_echo "#define DISABLE_TABCOMP 1" >>confdefs.h
7453 $as_echo "#define DISABLE_WRAPPING 1" >>confdefs.h
7457 if test x
$color_support = xyes
; then
7465 if test x
$nanorc_support = xyes
; then
7467 USE_NANORC_FALSE
='#'
7474 # Check whether --enable-altrcname was given.
7475 if test "${enable_altrcname+set}" = set; then :
7476 enableval
=$enable_altrcname; if test x
$enableval != no
; then
7478 cat >>confdefs.h
<<_ACEOF
7479 #define RCFILE_NAME "$enableval"
7481 rcfilename
=$enableval
7487 for ac_func
in getdelim getline isblank strcasecmp strcasestr strncasecmp strnlen vsnprintf
7489 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7490 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7491 eval as_val
=\$
$as_ac_var
7492 if test "x$as_val" = x
""yes; then :
7493 cat >>confdefs.h
<<_ACEOF
7494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7501 if test x
$enable_utf8 != xno
; then
7502 for ac_func
in iswalnum iswblank iswpunct iswspace nl_langinfo mblen mbstowcs mbtowc wctomb wcwidth
7504 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7505 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7506 eval as_val
=\$
$as_ac_var
7507 if test "x$as_val" = x
""yes; then :
7508 cat >>confdefs.h
<<_ACEOF
7509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7517 if test x
$ac_cv_func_vsnprintf = xno
; then
7518 # Check whether --enable-glibtest was given.
7519 if test "${enable_glibtest+set}" = set; then :
7520 enableval
=$enable_glibtest;
7526 pkg_config_args
=glib-2.0
7527 for module
in . glib
7531 pkg_config_args
="$pkg_config_args gmodule-2.0"
7534 pkg_config_args
="$pkg_config_args gmodule-no-export-2.0"
7537 pkg_config_args
="$pkg_config_args gobject-2.0"
7540 pkg_config_args
="$pkg_config_args gthread-2.0"
7545 # Extract the first word of "pkg-config", so it can be a program name with args.
7546 set dummy pkg-config
; ac_word
=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7550 $as_echo_n "(cached) " >&6
7554 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7561 test -z "$as_dir" && as_dir
=.
7562 for ac_exec_ext
in '' $ac_executable_extensions; do
7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7572 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7576 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7577 if test -n "$PKG_CONFIG"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7579 $as_echo "$PKG_CONFIG" >&6; }
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582 $as_echo "no" >&6; }
7589 if test x
$PKG_CONFIG != xno
; then
7590 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
7593 echo *** pkg-config too old
; version
0.7 or better required.
7601 min_glib_version
=2.0.0
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
7603 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
7605 if test x
$PKG_CONFIG != xno
; then
7606 ## don't try to run the test against uninstalled libtool libs
7607 if $PKG_CONFIG --uninstalled $pkg_config_args; then
7608 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
7612 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
7619 if test x
"$no_glib" = x
; then
7620 GLIB_GENMARSHAL
=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
7621 GOBJECT_QUERY
=`$PKG_CONFIG --variable=gobject_query glib-2.0`
7622 GLIB_MKENUMS
=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
7624 GLIB_CFLAGS
=`$PKG_CONFIG --cflags $pkg_config_args`
7625 GLIB_LIBS
=`$PKG_CONFIG --libs $pkg_config_args`
7626 glib_config_major_version
=`$PKG_CONFIG --modversion glib-2.0 | \
7627 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7628 glib_config_minor_version
=`$PKG_CONFIG --modversion glib-2.0 | \
7629 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7630 glib_config_micro_version
=`$PKG_CONFIG --modversion glib-2.0 | \
7631 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7632 if test "x$enable_glibtest" = "xyes" ; then
7633 ac_save_CFLAGS
="$CFLAGS"
7634 ac_save_LIBS
="$LIBS"
7635 CFLAGS
="$CFLAGS $GLIB_CFLAGS"
7636 LIBS
="$GLIB_LIBS $LIBS"
7638 if test "$cross_compiling" = yes; then :
7639 echo $ac_n "cross compiling; assumed OK... $ac_c"
7641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7642 /* end confdefs.h. */
7651 int major, minor, micro;
7654 system ("touch conf.glibtest");
7656 /* HP/UX 9 (%@#!) writes to sscanf strings */
7657 tmp_version = g_strdup("$min_glib_version");
7658 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7659 printf("%s, bad version string\n", "$min_glib_version");
7663 if ((glib_major_version != $glib_config_major_version) ||
7664 (glib_minor_version != $glib_config_minor_version) ||
7665 (glib_micro_version != $glib_config_micro_version))
7667 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
7668 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
7669 glib_major_version, glib_minor_version, glib_micro_version);
7670 printf ("*** was found! If pkg-config was correct, then it is best\n");
7671 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
7672 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7673 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7674 printf("*** required on your system.\n");
7675 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
7676 printf("*** to point to the correct configuration files\n");
7678 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
7679 (glib_minor_version != GLIB_MINOR_VERSION) ||
7680 (glib_micro_version != GLIB_MICRO_VERSION))
7682 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
7683 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
7684 printf("*** library (version %d.%d.%d)\n",
7685 glib_major_version, glib_minor_version, glib_micro_version);
7689 if ((glib_major_version > major) ||
7690 ((glib_major_version == major) && (glib_minor_version > minor)) ||
7691 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
7697 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
7698 glib_major_version, glib_minor_version, glib_micro_version);
7699 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
7700 major, minor, micro);
7701 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
7703 printf("*** If you have already installed a sufficiently new version, this error\n");
7704 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
7705 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7706 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
7707 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
7708 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7709 printf("*** so that the correct libraries are found at run-time))\n");
7716 if ac_fn_c_try_run
"$LINENO"; then :
7721 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7722 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7725 CFLAGS
="$ac_save_CFLAGS"
7726 LIBS
="$ac_save_LIBS"
7729 if test "x$no_glib" = x
; then
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
7731 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7735 $as_echo "no" >&6; }
7736 if test "$PKG_CONFIG" = "no" ; then
7737 echo "*** A new enough version of pkg-config was not found."
7738 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
7740 if test -f conf.glibtest
; then
7743 echo "*** Could not run GLIB test program, checking why..."
7744 ac_save_CFLAGS
="$CFLAGS"
7745 ac_save_LIBS
="$LIBS"
7746 CFLAGS
="$CFLAGS $GLIB_CFLAGS"
7747 LIBS
="$LIBS $GLIB_LIBS"
7748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7749 /* end confdefs.h. */
7757 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
7762 if ac_fn_c_try_link
"$LINENO"; then :
7763 echo "*** The test program compiled, but did not run. This usually means"
7764 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
7765 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
7766 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7767 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7768 echo "*** is required on your system"
7770 echo "*** If you have an old version installed, it is best to remove it, although"
7771 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7773 echo "*** The test program failed to compile or link. See the file config.log for the"
7774 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
7776 rm -f core conftest.err conftest.
$ac_objext \
7777 conftest
$ac_exeext conftest.
$ac_ext
7778 CFLAGS
="$ac_save_CFLAGS"
7779 LIBS
="$ac_save_LIBS"
7788 *** vsnprintf() not found. GLIB 2.x not found either. You should
7789 *** install the GLIB 2.x library which can be found at
7790 *** ftp://ftp.gtk.org/." "$LINENO" 5
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
7803 $as_echo_n "checking return type of signal handlers... " >&6; }
7804 if test "${ac_cv_type_signal+set}" = set; then :
7805 $as_echo_n "(cached) " >&6
7807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7809 #include <sys/types.h>
7815 return *(signal (0, 0)) (0) == 1;
7820 if ac_fn_c_try_compile
"$LINENO"; then :
7821 ac_cv_type_signal
=int
7823 ac_cv_type_signal
=void
7825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
7828 $as_echo "$ac_cv_type_signal" >&6; }
7830 cat >>confdefs.h
<<_ACEOF
7831 #define RETSIGTYPE $ac_cv_type_signal
7835 for ac_func
in vprintf
7837 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
7838 if test "x$ac_cv_func_vprintf" = x
""yes; then :
7839 cat >>confdefs.h
<<_ACEOF
7840 #define HAVE_VPRINTF 1
7843 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
7844 if test "x$ac_cv_func__doprnt" = x
""yes; then :
7846 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
7854 for ac_func
in getopt_long
7856 ac_fn_c_check_func
"$LINENO" "getopt_long" "ac_cv_func_getopt_long"
7857 if test "x$ac_cv_func_getopt_long" = x
""yes; then :
7858 cat >>confdefs.h
<<_ACEOF
7859 #define HAVE_GETOPT_LONG 1
7866 if eval "test x$CURSES_LIB_NAME = x"; then
7867 for ac_header
in ncurses.h
7869 ac_fn_c_check_header_mongrel
"$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_ncurses_h" = x
""yes; then :
7871 cat >>confdefs.h
<<_ACEOF
7872 #define HAVE_NCURSES_H 1
7880 if test x
$enable_utf8 != xno
; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_wch in -lncursesw" >&5
7882 $as_echo_n "checking for get_wch in -lncursesw... " >&6; }
7883 if test "${ac_cv_lib_ncursesw_get_wch+set}" = set; then :
7884 $as_echo_n "(cached) " >&6
7886 ac_check_lib_save_LIBS
=$LIBS
7887 LIBS
="-lncursesw $LIBS"
7888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7891 /* Override any GCC internal prototype to avoid an error.
7892 Use char because int might match the return type of a GCC
7893 builtin and then its argument prototype would still apply. */
7906 if ac_fn_c_try_link
"$LINENO"; then :
7907 ac_cv_lib_ncursesw_get_wch
=yes
7909 ac_cv_lib_ncursesw_get_wch
=no
7911 rm -f core conftest.err conftest.
$ac_objext \
7912 conftest
$ac_exeext conftest.
$ac_ext
7913 LIBS
=$ac_check_lib_save_LIBS
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_get_wch" >&5
7916 $as_echo "$ac_cv_lib_ncursesw_get_wch" >&6; }
7917 if test "x$ac_cv_lib_ncursesw_get_wch" = x
""yes; then :
7918 CURSES_LIB
="-lncursesw" CPPFLAGS
="-I/usr/include/ncursesw $CPPFLAGS" CURSES_LIB_NAME
=ncursesw CURSES_LIB_WIDE
=yes
7923 if eval "test x$CURSES_LIB_NAME = x"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
7925 $as_echo_n "checking for initscr in -lncurses... " >&6; }
7926 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then :
7927 $as_echo_n "(cached) " >&6
7929 ac_check_lib_save_LIBS
=$LIBS
7930 LIBS
="-lncurses $LIBS"
7931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7932 /* end confdefs.h. */
7934 /* Override any GCC internal prototype to avoid an error.
7935 Use char because int might match the return type of a GCC
7936 builtin and then its argument prototype would still apply. */
7949 if ac_fn_c_try_link
"$LINENO"; then :
7950 ac_cv_lib_ncurses_initscr
=yes
7952 ac_cv_lib_ncurses_initscr
=no
7954 rm -f core conftest.err conftest.
$ac_objext \
7955 conftest
$ac_exeext conftest.
$ac_ext
7956 LIBS
=$ac_check_lib_save_LIBS
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
7959 $as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
7960 if test "x$ac_cv_lib_ncurses_initscr" = x
""yes; then :
7961 CURSES_LIB
="-lncurses" CURSES_LIB_NAME
=ncurses
7967 if eval "test x$CURSES_LIB_NAME = x"; then
7968 for ac_header
in curses.h
7970 ac_fn_c_check_header_mongrel
"$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_curses_h" = x
""yes; then :
7972 cat >>confdefs.h
<<_ACEOF
7973 #define HAVE_CURSES_H 1
7981 if test x
$enable_utf8 != xno
; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_wch in -lcurses" >&5
7983 $as_echo_n "checking for get_wch in -lcurses... " >&6; }
7984 if test "${ac_cv_lib_curses_get_wch+set}" = set; then :
7985 $as_echo_n "(cached) " >&6
7987 ac_check_lib_save_LIBS
=$LIBS
7988 LIBS
="-lcurses $LIBS"
7989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7990 /* end confdefs.h. */
7992 /* Override any GCC internal prototype to avoid an error.
7993 Use char because int might match the return type of a GCC
7994 builtin and then its argument prototype would still apply. */
8007 if ac_fn_c_try_link
"$LINENO"; then :
8008 ac_cv_lib_curses_get_wch
=yes
8010 ac_cv_lib_curses_get_wch
=no
8012 rm -f core conftest.err conftest.
$ac_objext \
8013 conftest
$ac_exeext conftest.
$ac_ext
8014 LIBS
=$ac_check_lib_save_LIBS
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_get_wch" >&5
8017 $as_echo "$ac_cv_lib_curses_get_wch" >&6; }
8018 if test "x$ac_cv_lib_curses_get_wch" = x
""yes; then :
8019 CURSES_LIB
="-lcurses" CURSES_LIB_NAME
=curses CURSES_LIB_WIDE
=yes
8024 if eval "test x$CURSES_LIB_NAME = x"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5
8026 $as_echo_n "checking for initscr in -lcurses... " >&6; }
8027 if test "${ac_cv_lib_curses_initscr+set}" = set; then :
8028 $as_echo_n "(cached) " >&6
8030 ac_check_lib_save_LIBS
=$LIBS
8031 LIBS
="-lcurses $LIBS"
8032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8033 /* end confdefs.h. */
8035 /* Override any GCC internal prototype to avoid an error.
8036 Use char because int might match the return type of a GCC
8037 builtin and then its argument prototype would still apply. */
8050 if ac_fn_c_try_link
"$LINENO"; then :
8051 ac_cv_lib_curses_initscr
=yes
8053 ac_cv_lib_curses_initscr
=no
8055 rm -f core conftest.err conftest.
$ac_objext \
8056 conftest
$ac_exeext conftest.
$ac_ext
8057 LIBS
=$ac_check_lib_save_LIBS
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5
8060 $as_echo "$ac_cv_lib_curses_initscr" >&6; }
8061 if test "x$ac_cv_lib_curses_initscr" = x
""yes; then :
8062 CURSES_LIB
="-lcurses" CURSES_LIB_NAME
=curses
8068 if eval "test x$CURSES_LIB_NAME = x"; then
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8070 *** No curses lib available. Consider getting the official ncurses
8071 *** distribution from ftp://ftp.gnu.org/pub/gnu/ncurses if you get
8072 *** errors compiling nano." >&5
8073 $as_echo "$as_me: WARNING:
8074 *** No curses lib available. Consider getting the official ncurses
8075 *** distribution from ftp://ftp.gnu.org/pub/gnu/ncurses if you get
8076 *** errors compiling nano." >&2;}
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CURSES_LIB_NAME as the curses library" >&5
8079 $as_echo "Using $CURSES_LIB_NAME as the curses library" >&6; }
8082 as_ac_Lib
=`$as_echo "ac_cv_lib_$CURSES_LIB_NAME''_use_default_colors" | $as_tr_sh`
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for use_default_colors in -l$CURSES_LIB_NAME" >&5
8084 $as_echo_n "checking for use_default_colors in -l$CURSES_LIB_NAME... " >&6; }
8085 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
8086 $as_echo_n "(cached) " >&6
8088 ac_check_lib_save_LIBS
=$LIBS
8089 LIBS
="-l$CURSES_LIB_NAME $LIBS"
8090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8091 /* end confdefs.h. */
8093 /* Override any GCC internal prototype to avoid an error.
8094 Use char because int might match the return type of a GCC
8095 builtin and then its argument prototype would still apply. */
8099 char use_default_colors ();
8103 return use_default_colors ();
8108 if ac_fn_c_try_link
"$LINENO"; then :
8109 eval "$as_ac_Lib=yes"
8111 eval "$as_ac_Lib=no"
8113 rm -f core conftest.err conftest.
$ac_objext \
8114 conftest
$ac_exeext conftest.
$ac_ext
8115 LIBS
=$ac_check_lib_save_LIBS
8117 eval ac_res
=\$
$as_ac_Lib
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8119 $as_echo "$ac_res" >&6; }
8120 eval as_val
=\$
$as_ac_Lib
8121 if test "x$as_val" = x
""yes; then :
8123 $as_echo "#define HAVE_USE_DEFAULT_COLORS 1" >>confdefs.h
8129 LIBS
="$LIBS $CURSES_LIB"
8133 if test "x$GLIB_CFLAGS" != "x"; then
8134 CFLAGS
="$CFLAGS $GLIB_CFLAGS"
8136 if test "x$GLIB_LIBS" != "x"; then
8137 LDFLAGS
="$LDFLAGS $GLIB_LIBS"
8140 if test x
$enable_utf8 != xno
&& \
8141 test x
$CURSES_LIB_WIDE = xyes
&& \
8142 test x
$ac_cv_func_iswalnum = xyes
&& \
8143 test x
$ac_cv_func_iswpunct = xyes
&& \
8144 (test x
$ac_cv_func_iswblank = xyes ||
test x
$ac_cv_func_iswspace = xyes
) && \
8145 test x
$ac_cv_func_nl_langinfo = xyes
&& \
8146 test x
$ac_cv_func_mblen = xyes
&& \
8147 test x
$ac_cv_func_mbstowcs = xyes
&& \
8148 test x
$ac_cv_func_mbtowc = xyes
&& \
8149 test x
$ac_cv_func_wctomb = xyes
&& \
8150 test x
$ac_cv_func_wcwidth = xyes
; then
8152 $as_echo "#define ENABLE_UTF8 1" >>confdefs.h
8155 if test x
$enable_utf8 = xyes
; then
8157 *** UTF-8 support was requested, but insufficient UTF-8 support was
8158 *** detected in your curses and/or C libraries. Please verify that your
8159 *** slang was built with UTF-8 support or your curses was built with
8160 *** wide character support, and that your C library was built with wide
8161 *** character support." "$LINENO" 5
8162 elif test x
$enable_utf8 != xno
; then
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8164 *** Insufficient UTF-8 support was detected in your curses and/or C
8165 *** libraries. If you want UTF-8 support, please verify that your slang
8166 *** was built with UTF-8 support or your curses was built with wide
8167 *** character support, and that your C library was built with wide
8168 *** character support." >&5
8169 $as_echo "$as_me: WARNING:
8170 *** Insufficient UTF-8 support was detected in your curses and/or C
8171 *** libraries. If you want UTF-8 support, please verify that your slang
8172 *** was built with UTF-8 support or your curses was built with wide
8173 *** character support, and that your C library was built with wide
8174 *** character support." >&2;}
8178 if test x
$color_support = xyes
; then
8179 # now check for the end of word boundary support (/< and />)
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU-style word boundary regex support" >&5
8181 $as_echo_n "checking for GNU-style word boundary regex support... " >&6; }
8182 if test "$cross_compiling" = yes; then :
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Can't check for GNU-style word boundary support when cross-compiling" >&5
8184 $as_echo "$as_me: WARNING: *** Can't check for GNU-style word boundary support when cross-compiling" >&2;}
8187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h. */
8190 #ifdef HAVE_SYS_TYPES_H
8191 #include <sys/types.h>
8200 if (regcomp(&r, "\\\\>", REG_EXTENDED|REG_NOSUB))
8202 if (regexec(&r, "word boundary", nmatch, &pmatch, 0))
8207 if ac_fn_c_try_run
"$LINENO"; then :
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8209 $as_echo "yes" >&6; }
8211 $as_echo "#define GNU_WORDBOUNDS 1" >>confdefs.h
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8215 $as_echo "no" >&6; }
8217 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8218 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8221 # if test x$CURSES_LIB_NAME = xcurses; then
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE_EXTENDED is needed" >&5
8223 $as_echo_n "checking whether _XOPEN_SOURCE_EXTENDED is needed... " >&6; }
8224 if test "$cross_compiling" = yes; then :
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Can't check need for _XOPEN_SOURCE_EXTENDED when cross-compiling" >&5
8226 $as_echo "$as_me: WARNING: *** Can't check need for _XOPEN_SOURCE_EXTENDED when cross-compiling" >&2;}
8228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8229 /* end confdefs.h. */
8234 int testcolor = COLOR_WHITE;
8238 if ac_fn_c_try_run
"$LINENO"; then :
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8240 $as_echo "no" >&6; }
8242 if test "$cross_compiling" = yes; then :
8243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8245 as_fn_error
"cannot run test program while cross compiling
8246 See \`config.log' for more details." "$LINENO" 5; }
8248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8249 /* end confdefs.h. */
8251 #ifndef _XOPEN_SOURCE_EXTENDED
8252 #define _XOPEN_SOURCE_EXTENDED 1
8257 int testcolor = COLOR_WHITE;
8261 if ac_fn_c_try_run
"$LINENO"; then :
8263 $as_echo "#define NEED_XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8266 $as_echo "yes" >&6; }
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not sure" >&5
8269 $as_echo "not sure" >&6; }
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Couldn't successfully compile basic color test with or without _XOPEN_SOURCE_EXTENDED" >&5
8271 $as_echo "$as_me: WARNING: *** Couldn't successfully compile basic color test with or without _XOPEN_SOURCE_EXTENDED" >&2;}
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** This build may not compile. Consider configuring with --disable-color or installing ncurses" >&5
8273 $as_echo "$as_me: WARNING: *** This build may not compile. Consider configuring with --disable-color or installing ncurses" >&2;}
8275 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8276 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8280 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8281 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether LINES and COLS can be redefined" >&5
8288 $as_echo_n "checking whether LINES and COLS can be redefined... " >&6; }
8289 if test "$cross_compiling" = yes; then :
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Can't check for macro redefinability when cross-compiling" >&5
8291 $as_echo "$as_me: WARNING: *** Can't check for macro redefinability when cross-compiling" >&2;}
8293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8294 /* end confdefs.h. */
8304 if ac_fn_c_try_run
"$LINENO"; then :
8306 $as_echo "#define REDEFINIG_MACROS_OK 1" >>confdefs.h
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8309 $as_echo "yes" >&6; }
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8312 $as_echo "no" >&6; }
8314 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8315 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8320 # Check for groff html support
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HTML support in groff" >&5
8322 $as_echo_n "checking for HTML support in groff... " >&6; }
8323 groff -t -mandoc -Thtml </dev
/null
>/dev
/null
8324 if test $?
-ne 0 ; then
8326 echo "*** Will not generate HTML version of man pages ***"
8327 echo "*** Consider installing a newer version of groff with HTML support ***"
8328 groff_html_support
=no
8331 groff_html_support
=yes
8333 if test x
$groff_html_support = xyes
; then
8335 GROFF_HTML_FALSE
='#'
8343 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/nanorc.sample doc/man/Makefile doc/man/fr/Makefile doc/syntax/Makefile doc/texinfo/Makefile m4/Makefile po/Makefile.in src/Makefile nano.spec"
8346 cat >confcache
<<\_ACEOF
8347 # This file is a shell script that caches the results of configure
8348 # tests run on this system so they can be shared between configure
8349 # scripts and configure runs, see configure's option --config-cache.
8350 # It is not useful on other systems. If it contains results you don't
8351 # want to keep, you may remove or edit it.
8353 # config.status only pays attention to the cache file if you give it
8354 # the --recheck option to rerun configure.
8356 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8357 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8362 # The following way of writing the cache mishandles newlines in values,
8363 # but we know of no workaround that is simple, portable, and efficient.
8364 # So, we kill variables containing newlines.
8365 # Ultrix sh set writes to stderr and can't be redirected directly,
8366 # and sets the high bit in the cache file unless we assign to the vars.
8368 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8369 eval ac_val
=\$
$ac_var
8373 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8374 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8377 _ | IFS | as_nl
) ;; #(
8378 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8379 *) { eval $ac_var=; unset $ac_var;} ;;
8385 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8386 *${as_nl}ac_space
=\
*)
8387 # `set' does not quote correctly, so add quotes: double-quote
8388 # substitution turns \\\\ into \\, and sed turns \\ into \.
8391 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8394 # `set' quotes correctly as required by POSIX, so do not add quotes.
8395 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8406 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8408 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8409 if test -w "$cache_file"; then
8410 test "x$cache_file" != "x/dev/null" &&
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8412 $as_echo "$as_me: updating cache $cache_file" >&6;}
8413 cat confcache
>$cache_file
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8416 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8421 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8422 # Let make expand exec_prefix.
8423 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8425 DEFS
=-DHAVE_CONFIG_H
8429 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8430 # 1. Remove the extension, and $U if already installed.
8431 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8432 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8433 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8434 # will be set to the directory where LIBOBJS objects are built.
8435 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8436 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
8440 LTLIBOBJS
=$ac_ltlibobjs
8443 if test -n "$EXEEXT"; then
8445 am__EXEEXT_FALSE
='#'
8451 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8452 as_fn_error
"conditional \"AMDEP\" was never defined.
8453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8455 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8456 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
8457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8459 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8460 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
8461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8463 if test -z "${USE_NLS_TRUE}" && test -z "${USE_NLS_FALSE}"; then
8464 as_fn_error
"conditional \"USE_NLS\" was never defined.
8465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8467 if test -z "${USE_COLOR_TRUE}" && test -z "${USE_COLOR_FALSE}"; then
8468 as_fn_error
"conditional \"USE_COLOR\" was never defined.
8469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8471 if test -z "${USE_NANORC_TRUE}" && test -z "${USE_NANORC_FALSE}"; then
8472 as_fn_error
"conditional \"USE_NANORC\" was never defined.
8473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8475 if test -z "${GROFF_HTML_TRUE}" && test -z "${GROFF_HTML_FALSE}"; then
8476 as_fn_error
"conditional \"GROFF_HTML\" was never defined.
8477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8480 : ${CONFIG_STATUS=./config.status}
8482 ac_clean_files_save
=$ac_clean_files
8483 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8485 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8487 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8489 # Generated by $as_me.
8490 # Run this file to recreate the current configuration.
8491 # Compiler output produced by configure, useful for debugging
8492 # configure, is in config.log if it exists.
8498 SHELL=\${CONFIG_SHELL-$SHELL}
8501 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8502 ## -------------------- ##
8503 ## M4sh Initialization. ##
8504 ## -------------------- ##
8506 # Be more Bourne compatible
8507 DUALCASE
=1; export DUALCASE
# for MKS sh
8508 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8511 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8512 # is contrary to our usage. Disable this feature.
8513 alias -g '${1+"$@"}'='"$@"'
8514 setopt NO_GLOB_SUBST
8516 case `(set -o) 2>/dev/null` in #(
8528 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8529 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8530 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8531 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8532 # Prefer a ksh shell builtin over an external printf program on Solaris,
8533 # but without wasting forks for bash or zsh.
8534 if test -z "$BASH_VERSION$ZSH_VERSION" \
8535 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8536 as_echo='print
-r --'
8537 as_echo_n='print
-rn --'
8538 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8539 as_echo='printf %s
\n'
8540 as_echo_n='printf %s
'
8542 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8543 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8544 as_echo_n='/usr
/ucb
/echo -n'
8546 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8547 as_echo_n_body='eval
8551 expr "X$arg" : "X\\(.*\\)$as_nl";
8552 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8554 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8556 export as_echo_n_body
8557 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8560 as_echo='sh
-c $as_echo_body as_echo
'
8563 # The user is always right.
8564 if test "${PATH_SEPARATOR+set}" != set; then
8566 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8567 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8574 # We need space, tab and new line, in precisely that order. Quoting is
8575 # there to prevent editors from complaining about space-tab.
8576 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8577 # splitting by setting IFS to empty value.)
8580 # Find who we are. Look in the path if we contain no directory separator.
8582 *[\\/]* ) as_myself=$0 ;;
8583 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8587 test -z "$as_dir" && as_dir=.
8588 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8594 # We did not find ourselves, most probably we were run as `sh COMMAND'
8595 # in which case we are not to be found in the path.
8596 if test "x$as_myself" = x
; then
8599 if test ! -f "$as_myself"; then
8600 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8604 # Unset variables that we do not need and which cause bugs (e.g. in
8605 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8606 # suppresses any "Segmentation fault" message there. '((' could
8607 # trigger a bug in pdksh 5.2.14.
8608 for as_var
in BASH_ENV ENV MAIL MAILPATH
8609 do eval test x\
${$as_var+set} = xset \
8610 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8623 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8626 # as_fn_error ERROR [LINENO LOG_FD]
8627 # ---------------------------------
8628 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8629 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8630 # script with status $?, using 1 if that was 0.
8633 as_status
=$?
; test $as_status -eq 0 && as_status
=1
8635 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8636 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8638 $as_echo "$as_me: error: $1" >&2
8639 as_fn_exit
$as_status
8643 # as_fn_set_status STATUS
8644 # -----------------------
8645 # Set $? to STATUS, without forking.
8649 } # as_fn_set_status
8653 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8663 # Portably unset VAR.
8666 { eval $1=; unset $1;}
8668 as_unset
=as_fn_unset
8669 # as_fn_append VAR VALUE
8670 # ----------------------
8671 # Append the text in VALUE to the end of the definition contained in VAR. Take
8672 # advantage of any shell optimizations that allow amortized linear growth over
8673 # repeated appends, instead of the typical quadratic growth present in naive
8675 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8676 eval 'as_fn_append ()
8687 # as_fn_arith ARG...
8688 # ------------------
8689 # Perform arithmetic evaluation on the ARGs, and store the result in the
8690 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8691 # must be portable across $(()) and expr.
8692 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8693 eval 'as_fn_arith ()
8700 as_val
=`expr "$@" || test $? -eq 1`
8705 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8706 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8712 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8713 as_basename
=basename
8718 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8724 as_me
=`$as_basename -- "$0" ||
8725 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8726 X"$0" : 'X\(//\)$' \| \
8727 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8729 sed '/^.*\/\([^/][^/]*\)\/*$/{
8743 # Avoid depending upon Character Ranges.
8744 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8745 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8746 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8747 as_cr_digits
='0123456789'
8748 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8750 ECHO_C
= ECHO_N
= ECHO_T
=
8751 case `echo -n x` in #(((((
8753 case `echo 'xy\c'` in
8754 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8756 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8763 rm -f conf$$ conf$$.exe conf$$.
file
8764 if test -d conf$$.dir
; then
8765 rm -f conf$$.dir
/conf$$.
file
8768 mkdir conf$$.dir
2>/dev
/null
8770 if (echo >conf$$.
file) 2>/dev
/null
; then
8771 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8773 # ... but there are two gotchas:
8774 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8775 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8776 # In both cases, we have to default to `cp -p'.
8777 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8779 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8787 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8788 rmdir conf$$.dir
2>/dev
/null
8793 # Create "$as_dir" as a directory, including parents if necessary.
8798 -*) as_dir
=.
/$as_dir;;
8800 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8804 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8805 *) as_qdir
=$as_dir;;
8807 as_dirs
="'$as_qdir' $as_dirs"
8808 as_dir
=`$as_dirname -- "$as_dir" ||
8809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8810 X"$as_dir" : 'X\(//\)[^/]' \| \
8811 X"$as_dir" : 'X\(//\)$' \| \
8812 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8813 $as_echo X"$as_dir" |
8814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8831 test -d "$as_dir" && break
8833 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8834 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
8838 if mkdir
-p .
2>/dev
/null
; then
8839 as_mkdir_p
='mkdir -p "$as_dir"'
8841 test -d .
/-p && rmdir .
/-p
8845 if test -x / >/dev
/null
2>&1; then
8848 if ls -dL / >/dev
/null
2>&1; then
8855 if test -d "$1"; then
8861 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8862 ???[sx]*):;;*)false;;esac;fi
8866 as_executable_p
=$as_test_x
8868 # Sed expression to map a string onto a valid CPP name.
8869 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8871 # Sed expression to map a string onto a valid variable name.
8872 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8876 ## ----------------------------------- ##
8877 ## Main body of $CONFIG_STATUS script. ##
8878 ## ----------------------------------- ##
8880 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8883 # Save the log message, to keep $0 and so on meaningful, and to
8884 # report actual input values of CONFIG_FILES etc. instead of their
8885 # values after options handling.
8887 This file was extended by GNU nano $as_me 2.2.6, which was
8888 generated by GNU Autoconf 2.65. Invocation command line was
8890 CONFIG_FILES = $CONFIG_FILES
8891 CONFIG_HEADERS = $CONFIG_HEADERS
8892 CONFIG_LINKS = $CONFIG_LINKS
8893 CONFIG_COMMANDS = $CONFIG_COMMANDS
8896 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8901 case $ac_config_files in *"
8902 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8905 case $ac_config_headers in *"
8906 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8911 # Files that config.status was made for.
8912 config_files="$ac_config_files"
8913 config_headers="$ac_config_headers"
8914 config_commands="$ac_config_commands"
8918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8920 \`$as_me' instantiates files and other configuration actions
8921 from templates according to the current configuration. Unless the files
8922 and actions are specified as TAGs, all are instantiated by default.
8924 Usage: $0 [OPTION]... [TAG]...
8926 -h, --help print this help, then exit
8927 -V, --version print version number and configuration settings, then exit
8928 --config print configuration, then exit
8929 -q, --quiet, --silent
8930 do not print progress messages
8931 -d, --debug don't remove temporary files
8932 --recheck update $as_me by reconfiguring in the same conditions
8933 --file=FILE[:TEMPLATE]
8934 instantiate the configuration file FILE
8935 --header=FILE[:TEMPLATE]
8936 instantiate the configuration header FILE
8938 Configuration files:
8941 Configuration headers:
8944 Configuration commands:
8947 Report bugs to <nano-devel@gnu.org>.
8948 GNU nano home page: <http://www.gnu.org/software/nano/>.
8949 General help using GNU software: <http://www.gnu.org/gethelp/>."
8952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8953 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8955 GNU nano config.status 2.2.6
8956 configured by $0, generated by GNU Autoconf 2.65,
8957 with options \\"\$ac_cs_config\\"
8959 Copyright (C) 2009 Free Software Foundation, Inc.
8960 This config.status script is free software; the Free Software Foundation
8961 gives unlimited permission to copy, distribute and modify it."
8968 test -n "\$AWK" || AWK=awk
8971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8972 # The default lists apply if the user does not specify any file.
8978 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8979 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8990 # Handling of the options.
8991 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8993 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8994 $as_echo "$ac_cs_version"; exit ;;
8995 --config |
--confi |
--conf |
--con |
--co |
--c )
8996 $as_echo "$ac_cs_config"; exit ;;
8997 --debug |
--debu |
--deb |
--de |
--d |
-d )
8999 --file |
--fil |
--fi |
--f )
9002 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9004 as_fn_append CONFIG_FILES
" '$ac_optarg'"
9005 ac_need_defaults
=false
;;
9006 --header |
--heade |
--head |
--hea )
9009 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9011 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
9012 ac_need_defaults
=false
;;
9014 # Conflict between --help and --header
9015 as_fn_error
"ambiguous option: \`$1'
9016 Try \`$0 --help' for more information.";;
9017 --help |
--hel |
-h )
9018 $as_echo "$ac_cs_usage"; exit ;;
9019 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9020 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9024 -*) as_fn_error
"unrecognized option: \`$1'
9025 Try \`$0 --help' for more information." ;;
9027 *) as_fn_append ac_config_targets
" $1"
9028 ac_need_defaults
=false
;;
9034 ac_configure_extra_args
=
9036 if $ac_cs_silent; then
9038 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9043 if \$ac_cs_recheck; then
9044 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9046 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9047 CONFIG_SHELL='$SHELL'
9053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9057 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9058 ## Running $as_me. ##
9064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9068 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9069 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9070 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
9072 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
9073 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9074 LINGUAS="${LINGUAS-%UNSET%}"
9079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9081 # Handling of arguments.
9082 for ac_config_target
in $ac_config_targets
9084 case $ac_config_target in
9085 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9086 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9087 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
9088 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9089 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
9090 "doc/nanorc.sample") CONFIG_FILES
="$CONFIG_FILES doc/nanorc.sample" ;;
9091 "doc/man/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/man/Makefile" ;;
9092 "doc/man/fr/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/man/fr/Makefile" ;;
9093 "doc/syntax/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/syntax/Makefile" ;;
9094 "doc/texinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/texinfo/Makefile" ;;
9095 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
9096 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
9097 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9098 "nano.spec") CONFIG_FILES
="$CONFIG_FILES nano.spec" ;;
9100 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9105 # If the user did not use the arguments to specify the items to instantiate,
9106 # then the envvar interface is used. Set only those that are not.
9107 # We use the long form for the default assignment because of an extremely
9108 # bizarre bug on SunOS 4.1.3.
9109 if $ac_need_defaults; then
9110 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9111 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9112 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9115 # Have a temporary directory for convenience. Make it in the build tree
9116 # simply because there is no reason against having it here, and in addition,
9117 # creating and moving files from /tmp can sometimes cause problems.
9118 # Hook for its removal unless debugging.
9119 # Note that there is a small window in which the directory will not be cleaned:
9120 # after its creation but before its name has been assigned to `$tmp'.
9124 trap 'exit_status=$?
9125 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9127 trap 'as_fn_exit 1' 1 2 13 15
9129 # Create a (secure) tmp directory for tmp files.
9132 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9133 test -n "$tmp" && test -d "$tmp"
9136 tmp
=.
/conf$$
-$RANDOM
9137 (umask 077 && mkdir
"$tmp")
9138 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
9140 # Set up the scripts for CONFIG_FILES section.
9141 # No need to generate them if there are no CONFIG_FILES.
9142 # This happens for instance with `./config.status config.h'.
9143 if test -n "$CONFIG_FILES"; then
9146 ac_cr
=`echo X | tr X '\015'`
9147 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9148 # But we know of no other shell where ac_cr would be empty at this
9149 # point, so we can use a bashism as a fallback.
9150 if test "x$ac_cr" = x
; then
9151 eval ac_cr
=\$
\'\\r
\'
9153 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9154 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9160 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9165 echo "cat >conf$$subs.awk <<_ACEOF" &&
9166 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9169 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9170 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9172 for ac_last_try in false false false false false :; do
9173 . ./conf$$subs.sh ||
9174 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9176 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9177 if test $ac_delim_n = $ac_delim_num; then
9179 elif $ac_last_try; then
9180 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9182 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9188 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
9192 s/^/S["/; s
/!.
*/"]=/
9202 s/\(.\{148\}\)..*/\1/
9204 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9209 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9216 s/\(.\{148\}\)..*/\1/
9218 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9222 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9227 ' <conf$$subs.awk | sed '
9232 ' >>$CONFIG_STATUS || ac_write_fail=1
9233 rm -f conf$$subs.awk
9234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9236 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
9237 for (key in S) S_is_set[key] = 1
9243 nfields = split(line, field, "@
")
9245 len = length(field[1])
9246 for (i = 2; i < nfields; i++) {
9248 keylen = length(key)
9249 if (S_is_set[key]) {
9251 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9252 len += length(value) + length(field[++i])
9263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9264 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9265 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9268 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
9269 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
9272 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9273 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
9274 # trailing colons and then remove the whole line if VPATH becomes empty
9275 # (actually we leave an empty line to preserve line numbers).
9276 if test "x
$srcdir" = x.; then
9277 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9281 s/^\([^=]*=[ ]*\):*/\1/
9287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9288 fi # test -n "$CONFIG_FILES"
9290 # Set up the scripts for CONFIG_HEADERS section.
9291 # No need to generate them if there are no CONFIG_HEADERS.
9292 # This happens for instance with `./config.status Makefile'.
9293 if test -n "$CONFIG_HEADERS"; then
9294 cat >"$tmp/defines.
awk" <<\_ACAWK ||
9298 # Transform confdefs.h into an awk script `defines.awk', embedded as
9299 # here-document in config.status, that substitutes the proper values into
9300 # config.h.in to produce config.h.
9302 # Create a delimiter string that does not exist in confdefs.h, to ease
9303 # handling of long lines.
9305 for ac_last_try in false false :; do
9306 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
9307 if test -z "$ac_t"; then
9309 elif $ac_last_try; then
9310 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
9312 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9316 # For the awk script, D is an array of macro values keyed by name,
9317 # likewise P contains macro parameters if any. Preserve backslash
9318 # newline sequences.
9320 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9322 s/.\{148\}/&'"$ac_delim"'/g
9325 s/^[ ]*#[ ]*define[ ][ ]*/ /
9332 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9334 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9338 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9339 D["\
1"]=" \
3\\\\\\n
"\\/p
9341 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9346 s/.\{148\}/&'"$ac_delim"'/g
9351 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9354 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9356 ' <confdefs.h | sed '
9357 s/'"$ac_delim"'/"\\\
9358 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9361 for (key in D) D_is_set[key] = 1
9364 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9366 split(line, arg, " ")
9367 if (arg[1] == "#") {
9371 defundef
= substr
(arg
[1], 2)
9374 split(mac1
, mac2
, "(") #)
9376 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9377 if (D_is_set
[macro
]) {
9378 # Preserve the white space surrounding the "#".
9379 print prefix
"define", macro P
[macro
] D
[macro
]
9382 # Replace #undef with comments. This is necessary, for example,
9383 # in the case of _POSIX_SOURCE, which is predefined and required
9384 # on some systems where configure will not decide to define it.
9385 if (defundef
== "undef") {
9386 print
"/*", prefix defundef
, macro
, "*/"
9394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9395 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
9396 fi # test -n "$CONFIG_HEADERS"
9399 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9404 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9406 case $ac_mode$ac_tag in
9408 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
9409 :[FH
]-) ac_tag
=-:-;;
9410 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9427 -) ac_f
="$tmp/stdin";;
9428 *) # Look for the file first in the build tree, then in the source tree
9429 # (if the path is not absolute). The absolute path cannot be DOS-style,
9430 # because $ac_f cannot contain `:'.
9434 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9436 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
9438 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9439 as_fn_append ac_file_inputs
" '$ac_f'"
9442 # Let's still pretend it is `configure' which instantiates (i.e., don't
9443 # use $as_me), people would be surprised to read:
9444 # /* config.h. Generated by config.status. */
9445 configure_input
='Generated from '`
9446 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9448 if test x
"$ac_file" != x-
; then
9449 configure_input
="$ac_file. $configure_input"
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9451 $as_echo "$as_me: creating $ac_file" >&6;}
9453 # Neutralize special characters interpreted by sed in replacement strings.
9454 case $configure_input in #(
9455 *\
&* |
*\|
* |
*\\* )
9456 ac_sed_conf_input
=`$as_echo "$configure_input" |
9457 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9458 *) ac_sed_conf_input
=$configure_input;;
9462 *:-:* |
*:-) cat >"$tmp/stdin" \
9463 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
9468 ac_dir
=`$as_dirname -- "$ac_file" ||
9469 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9470 X"$ac_file" : 'X\(//\)[^/]' \| \
9471 X"$ac_file" : 'X\(//\)$' \| \
9472 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9473 $as_echo X"$ac_file" |
9474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9491 as_dir
="$ac_dir"; as_fn_mkdir_p
9495 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9497 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9498 # A ".." for each directory in $ac_dir_suffix.
9499 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9500 case $ac_top_builddir_sub in
9501 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9502 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9505 ac_abs_top_builddir
=$ac_pwd
9506 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9507 # for backward compatibility:
9508 ac_top_builddir
=$ac_top_build_prefix
9511 .
) # We are building in place.
9513 ac_top_srcdir
=$ac_top_builddir_sub
9514 ac_abs_top_srcdir
=$ac_pwd ;;
9515 [\\/]* | ?
:[\\/]* ) # Absolute name.
9516 ac_srcdir
=$srcdir$ac_dir_suffix;
9517 ac_top_srcdir
=$srcdir
9518 ac_abs_top_srcdir
=$srcdir ;;
9520 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9521 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9522 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9524 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9534 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9535 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9539 [\\/$
]* | ?
:[\\/]* ) ;;
9540 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9545 # If the template does not know about datarootdir, expand it.
9546 # FIXME: This hack should be removed a few years after 2.60.
9547 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9558 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9559 *datarootdir
*) ac_datarootdir_seen
=yes;;
9560 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9562 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9565 ac_datarootdir_hack='
9566 s&@datadir@&$datadir&g
9567 s&@docdir@&$docdir&g
9568 s&@infodir@&$infodir&g
9569 s&@localedir@&$localedir&g
9570 s&@mandir@&$mandir&g
9571 s&\\\${datarootdir}&$datarootdir&g' ;;
9575 # Neutralize VPATH when `$srcdir' = `.'.
9576 # Shell code in configure.ac might set extrasub.
9577 # FIXME: do we really want to maintain this feature?
9578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9579 ac_sed_extra="$ac_vpsub
9582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9584 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9585 s|@configure_input@|
$ac_sed_conf_input|
;t t
9586 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9587 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9588 s
&@srcdir@
&$ac_srcdir&;t t
9589 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9590 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9591 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9592 s
&@builddir@
&$ac_builddir&;t t
9593 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9594 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9595 s
&@INSTALL@
&$ac_INSTALL&;t t
9596 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9597 $ac_datarootdir_hack
9599 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9600 || as_fn_error "could not create
$ac_file" "$LINENO" 5
9602 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9603 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9604 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9606 which seems to be undefined. Please make sure it is defined." >&5
9607 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9608 which seems to be undefined. Please make sure it is defined." >&2;}
9612 -) cat "$tmp/out" && rm -f "$tmp/out";;
9613 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9615 || as_fn_error "could not create $ac_file" "$LINENO" 5
9621 if test x"$ac_file" != x-; then
9623 $as_echo "/* $configure_input */" \
9624 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9625 } >"$tmp/config.h" \
9626 || as_fn_error "could not create $ac_file" "$LINENO" 5
9627 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9629 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9632 mv "$tmp/config.h" "$ac_file" \
9633 || as_fn_error "could not create $ac_file" "$LINENO" 5
9636 $as_echo "/* $configure_input */" \
9637 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9638 || as_fn_error "could not create -" "$LINENO" 5
9640 # Compute "$ac_file"'s index
in $config_headers.
9643 for _am_header
in $config_headers :; do
9645 $_am_arg |
$_am_arg:* )
9648 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9651 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9652 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9653 X"$_am_arg" : 'X\(//\)[^/]' \| \
9654 X"$_am_arg" : 'X\(//\)$' \| \
9655 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9656 $as_echo X"$_am_arg" |
9657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9673 s/.*/./; q'`/stamp-h
$_am_stamp_count
9676 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9677 $as_echo "$as_me: executing $ac_file commands" >&6;}
9682 case $ac_file$ac_mode in
9683 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
9684 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9685 # are listed without --file. Let's play safe and only enable the eval
9686 # if we detect the quoting.
9687 case $CONFIG_FILES in
9688 *\'*) eval set x
"$CONFIG_FILES" ;;
9689 *) set x
$CONFIG_FILES ;;
9694 # Strip MF so we end up with the name of the file.
9695 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9696 # Check whether this is an Automake generated Makefile or not.
9697 # We used to match only the files named `Makefile.in', but
9698 # some people rename them; so instead we look at the file content.
9699 # Grep'ing the first line is not enough: some people post-process
9700 # each Makefile.in and add a new line on top of each file to say so.
9701 # Grep'ing the whole file is not good either: AIX grep has a line
9702 # limit of 2048, but all sed's we know have understand at least 4000.
9703 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9704 dirpart
=`$as_dirname -- "$mf" ||
9705 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9706 X"$mf" : 'X\(//\)[^/]' \| \
9707 X"$mf" : 'X\(//\)$' \| \
9708 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9730 # Extract the definition of DEPDIR, am__include, and am__quote
9731 # from the Makefile without running `make'.
9732 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9733 test -z "$DEPDIR" && continue
9734 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9735 test -z "am__include" && continue
9736 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9737 # When using ansi2knr, U may be empty or an underscore; expand it
9738 U
=`sed -n 's/^U = //p' < "$mf"`
9739 # Find all dependency output files, they are included files with
9740 # $(DEPDIR) in their names. We invoke sed twice because it is the
9741 # simplest approach to changing $(DEPDIR) to its actual value in the
9743 for file in `sed -n "
9744 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9745 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9746 # Make sure the directory exists.
9747 test -f "$dirpart/$file" && continue
9748 fdir
=`$as_dirname -- "$file" ||
9749 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9750 X"$file" : 'X\(//\)[^/]' \| \
9751 X"$file" : 'X\(//\)$' \| \
9752 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9754 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9771 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
9772 # echo "creating $dirpart/$file"
9773 echo '# dummy' > "$dirpart/$file"
9779 for ac_file
in $CONFIG_FILES; do
9780 # Support "outfile[:infile[:infile...]]"
9782 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
9784 # PO directories have a Makefile.in generated from Makefile.in.in.
9785 case "$ac_file" in */Makefile.
in)
9786 # Adjust a relative srcdir.
9787 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9788 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
9789 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9790 # In autoconf-2.13 it is called $ac_given_srcdir.
9791 # In autoconf-2.50 it is called $srcdir.
9792 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
9793 case "$ac_given_srcdir" in
9794 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
9795 /*) top_srcdir
="$ac_given_srcdir" ;;
9796 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
9798 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9799 rm -f "$ac_dir/POTFILES"
9800 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
9801 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9802 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
9803 # on $ac_dir but don't depend on user-specified configuration
9805 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9806 # The LINGUAS file contains the set of available languages.
9807 if test -n "$ALL_LINGUAS"; then
9808 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
9810 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9811 # Hide the ALL_LINGUAS assigment from automake.
9812 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9814 case "$ac_given_srcdir" in
9816 *) srcdirpre
='$(srcdir)/' ;;
9822 for lang
in $ALL_LINGUAS; do
9823 POFILES
="$POFILES $srcdirpre$lang.po"
9824 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
9825 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
9826 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
9828 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9829 # environment variable.
9831 if test -n "$ALL_LINGUAS"; then
9832 for presentlang
in $ALL_LINGUAS; do
9834 if test "%UNSET%" != "$LINGUAS"; then
9835 desiredlanguages
="$LINGUAS"
9837 desiredlanguages
="$ALL_LINGUAS"
9839 for desiredlang
in $desiredlanguages; do
9840 # Use the presentlang catalog if desiredlang is
9841 # a. equal to presentlang, or
9842 # b. a variant of presentlang (because in this case,
9843 # presentlang can be used as a fallback for messages
9844 # which are not translated in the desiredlang catalog).
9845 case "$desiredlang" in
9846 "$presentlang"*) useit
=yes;;
9849 if test $useit = yes; then
9850 INST_LINGUAS
="$INST_LINGUAS $presentlang"
9855 if test -n "$INST_LINGUAS"; then
9856 for lang
in $INST_LINGUAS; do
9857 CATALOGS
="$CATALOGS $lang.gmo"
9860 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
9861 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
9862 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
9863 if test -f "$f"; then
9865 *.orig |
*.bak |
*~
) ;;
9866 *) cat "$f" >> "$ac_dir/Makefile" ;;
9881 ac_clean_files
=$ac_clean_files_save
9883 test $ac_write_fail = 0 ||
9884 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
9887 # configure is writing to config.log, and then calls config.status.
9888 # config.status does its own redirection, appending to config.log.
9889 # Unfortunately, on DOS this fails, as config.log is still kept open
9890 # by configure, so config.status won't be able to write to it; its
9891 # output is simply discarded. So we exec the FD to /dev/null,
9892 # effectively closing config.log, so it can be properly (re)opened and
9893 # appended to by config.status. When coming back to configure, we
9894 # need to make the FD available again.
9895 if test "$no_create" != yes; then
9897 ac_config_status_args
=
9898 test "$silent" = yes &&
9899 ac_config_status_args
="$ac_config_status_args --quiet"
9901 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9903 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9904 # would make configure fail if this is the last instruction.
9905 $ac_cs_success || as_fn_exit $?
9907 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9909 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}