2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for ShapeFusion 0.5.
5 # Report bugs to <http://sourceforge.net/bugs/?group_id=1997>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || 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.
219 # Preserve -v and -x to the replacement shell.
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
225 *v*x* | *x*v* ) as_opts=-vx ;;
230 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
233 if test x$as_have_required = xno; then :
234 $as_echo "$0: This script requires a shell more modern than all"
235 $as_echo "$0: the shells that I found on your system."
236 if test x${ZSH_VERSION+set} = xset ; then
237 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
238 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240 $as_echo "$0: Please tell bug-autoconf@gnu.org and
241 $0: http://sourceforge.net/bugs/?group_id=1997 about your
242 $0: system, including any error possibly output before this
243 $0: message. Then install a modern shell, or manually run
244 $0: the script under such a shell if you do have one."
250 SHELL=${CONFIG_SHELL-/bin/sh}
252 # Unset more variables known to interfere with behavior of common tools.
253 CLICOLOR_FORCE= GREP_OPTIONS=
254 unset CLICOLOR_FORCE GREP_OPTIONS
256 ## --------------------- ##
257 ## M4sh Shell Functions. ##
258 ## --------------------- ##
261 # Portably unset VAR.
264 { eval $1=; unset $1;}
268 # as_fn_set_status STATUS
269 # -----------------------
270 # Set $? to STATUS, without forking.
278 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 # Create "$as_dir" as a directory, including parents if necessary.
293 -*) as_dir=./$as_dir;;
295 test -d "$as_dir" || eval $as_mkdir_p || {
299 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302 as_dirs="'$as_qdir' $as_dirs"
303 as_dir=`$as_dirname -- "$as_dir" ||
304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
305 X"$as_dir" : 'X\(//\)[^/]' \| \
306 X"$as_dir" : 'X\(//\)$' \| \
307 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
308 $as_echo X"$as_dir" |
309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
326 test -d "$as_dir" && break
328 test -z "$as_dirs" || eval "mkdir $as_dirs"
329 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
333 # as_fn_append VAR VALUE
334 # ----------------------
335 # Append the text in VALUE to the end of the definition contained in VAR. Take
336 # advantage of any shell optimizations that allow amortized linear growth over
337 # repeated appends, instead of the typical quadratic growth present in naive
339 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
340 eval 'as_fn_append ()
353 # Perform arithmetic evaluation on the ARGs, and store the result in the
354 # global $as_val. Take advantage of shells that can avoid forks. The arguments
355 # must be portable across $(()) and expr.
356 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
364 as_val=`expr "$@" || test $? -eq 1`
369 # as_fn_error STATUS ERROR [LINENO LOG_FD]
370 # ----------------------------------------
371 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
372 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
373 # script with STATUS, using 1 if that was 0.
376 as_status=$1; test $as_status -eq 0 && as_status=1
378 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
379 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381 $as_echo "$as_me: error: $2" >&2
382 as_fn_exit $as_status
385 if expr a : '\(a\)' >/dev/null 2>&1 &&
386 test "X`expr 00001 : '.*\(...\)'`" = X001; then
392 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
398 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
404 as_me=`$as_basename -- "$0" ||
405 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
406 X"$0" : 'X\(//\)$' \| \
407 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 sed '/^.*\/\([^/][^/]*\)\/*$/{
423 # Avoid depending upon Character Ranges.
424 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
425 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
426 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
427 as_cr_digits='0123456789'
428 as_cr_alnum=$as_cr_Letters$as_cr_digits
431 as_lineno_1=$LINENO as_lineno_1a=$LINENO
432 as_lineno_2=$LINENO as_lineno_2a=$LINENO
433 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
434 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
435 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
451 chmod +x "$as_me.lineno" ||
452 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
458 # Exit status is that of the last command.
462 ECHO_C= ECHO_N= ECHO_T=
463 case `echo -n x` in #(((((
465 case `echo 'xy\c'` in
466 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
468 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
475 rm -f conf$$ conf$$.exe conf$$.file
476 if test -d conf$$.dir; then
477 rm -f conf$$.dir/conf$$.file
480 mkdir conf$$.dir 2>/dev/null
482 if (echo >conf$$.file) 2>/dev/null; then
483 if ln -s conf$$.file conf$$ 2>/dev/null; then
485 # ... but there are two gotchas:
486 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
487 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
488 # In both cases, we have to default to `cp -p'.
489 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491 elif ln conf$$.file conf$$ 2>/dev/null; then
499 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
500 rmdir conf$$.dir 2>/dev/null
502 if mkdir -p . 2>/dev/null; then
503 as_mkdir_p='mkdir -p "$as_dir"'
505 test -d ./-p && rmdir ./-p
509 if test -x / >/dev/null 2>&1; then
512 if ls -dL / >/dev/null 2>&1; then
519 if test -d "$1"; then
525 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
526 ???[sx]*):;;*)false;;esac;fi
530 as_executable_p=$as_test_x
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 test -n "$DJDIR" || exec 7<&0 </dev/null
543 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix=/usr/local
552 ac_config_libobj_dir=.
559 # Identity of this package.
560 PACKAGE_NAME='ShapeFusion'
561 PACKAGE_TARNAME='ShapeFusion'
562 PACKAGE_VERSION='0.5'
563 PACKAGE_STRING='ShapeFusion 0.5'
564 PACKAGE_BUGREPORT='http://sourceforge.net/bugs/?group_id=1997'
567 ac_subst_vars='am__EXEEXT_FALSE
624 INSTALL_STRIP_PROGRAM
678 program_transform_name
691 enable_option_checking
692 enable_dependency_tracking
698 ac_precious_vars='build_alias
716 # Initialize some variables set by options.
718 ac_init_version=false
719 ac_unrecognized_opts=
721 # The variables have the same names as the options, with
722 # dashes changed to underlines.
730 program_transform_name=s,x,x,
738 # Installation directory options.
739 # These are left unexpanded so users can "make install exec_prefix=/foo"
740 # and all the variables that are supposed to be based on exec_prefix
741 # by default will actually change.
742 # Use braces instead of parens because sh, perl, etc. also accept them.
743 # (The list follows the same order as the GNU Coding Standards.)
744 bindir='${exec_prefix}/bin'
745 sbindir='${exec_prefix}/sbin'
746 libexecdir='${exec_prefix}/libexec'
747 datarootdir='${prefix}/share'
748 datadir='${datarootdir}'
749 sysconfdir='${prefix}/etc'
750 sharedstatedir='${prefix}/com'
751 localstatedir='${prefix}/var'
752 includedir='${prefix}/include'
753 oldincludedir='/usr/include'
754 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
755 infodir='${datarootdir}/info'
760 libdir='${exec_prefix}/lib'
761 localedir='${datarootdir}/locale'
762 mandir='${datarootdir}/man'
768 # If the previous option needs an argument, assign it.
769 if test -n "$ac_prev"; then
770 eval $ac_prev=\$ac_option
776 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
781 # Accept the important Cygnus configure options, so we can diagnose typos.
783 case $ac_dashdash$ac_option in
787 -bindir | --bindir | --bindi | --bind | --bin | --bi)
789 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
792 -build | --build | --buil | --bui | --bu)
793 ac_prev=build_alias ;;
794 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
795 build_alias=$ac_optarg ;;
797 -cache-file | --cache-file | --cache-fil | --cache-fi \
798 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
799 ac_prev=cache_file ;;
800 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
801 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
802 cache_file=$ac_optarg ;;
805 cache_file=config.cache ;;
807 -datadir | --datadir | --datadi | --datad)
809 -datadir=* | --datadir=* | --datadi=* | --datad=*)
810 datadir=$ac_optarg ;;
812 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
813 | --dataroo | --dataro | --datar)
814 ac_prev=datarootdir ;;
815 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
816 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
817 datarootdir=$ac_optarg ;;
819 -disable-* | --disable-*)
820 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
823 as_fn_error $? "invalid feature name: $ac_useropt"
824 ac_useropt_orig=$ac_useropt
825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826 case $ac_user_opts in
830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
831 ac_unrecognized_sep=', ';;
833 eval enable_$ac_useropt=no ;;
835 -docdir | --docdir | --docdi | --doc | --do)
837 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
840 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
842 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
845 -enable-* | --enable-*)
846 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
847 # Reject names that are not valid shell variable names.
848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
849 as_fn_error $? "invalid feature name: $ac_useropt"
850 ac_useropt_orig=$ac_useropt
851 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
852 case $ac_user_opts in
856 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
857 ac_unrecognized_sep=', ';;
859 eval enable_$ac_useropt=\$ac_optarg ;;
861 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
862 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
863 | --exec | --exe | --ex)
864 ac_prev=exec_prefix ;;
865 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
866 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
867 | --exec=* | --exe=* | --ex=*)
868 exec_prefix=$ac_optarg ;;
870 -gas | --gas | --ga | --g)
871 # Obsolete; use --with-gas.
874 -help | --help | --hel | --he | -h)
876 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
877 ac_init_help=recursive ;;
878 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
879 ac_init_help=short ;;
881 -host | --host | --hos | --ho)
882 ac_prev=host_alias ;;
883 -host=* | --host=* | --hos=* | --ho=*)
884 host_alias=$ac_optarg ;;
886 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
888 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
890 htmldir=$ac_optarg ;;
892 -includedir | --includedir | --includedi | --included | --include \
893 | --includ | --inclu | --incl | --inc)
894 ac_prev=includedir ;;
895 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
896 | --includ=* | --inclu=* | --incl=* | --inc=*)
897 includedir=$ac_optarg ;;
899 -infodir | --infodir | --infodi | --infod | --info | --inf)
901 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
902 infodir=$ac_optarg ;;
904 -libdir | --libdir | --libdi | --libd)
906 -libdir=* | --libdir=* | --libdi=* | --libd=*)
909 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
910 | --libexe | --libex | --libe)
911 ac_prev=libexecdir ;;
912 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
913 | --libexe=* | --libex=* | --libe=*)
914 libexecdir=$ac_optarg ;;
916 -localedir | --localedir | --localedi | --localed | --locale)
918 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
919 localedir=$ac_optarg ;;
921 -localstatedir | --localstatedir | --localstatedi | --localstated \
922 | --localstate | --localstat | --localsta | --localst | --locals)
923 ac_prev=localstatedir ;;
924 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
925 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
926 localstatedir=$ac_optarg ;;
928 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
930 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
934 # Obsolete; use --without-fp.
937 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
938 | --no-cr | --no-c | -n)
941 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
942 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
945 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
946 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
947 | --oldin | --oldi | --old | --ol | --o)
948 ac_prev=oldincludedir ;;
949 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
950 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
951 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
952 oldincludedir=$ac_optarg ;;
954 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
956 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
959 -program-prefix | --program-prefix | --program-prefi | --program-pref \
960 | --program-pre | --program-pr | --program-p)
961 ac_prev=program_prefix ;;
962 -program-prefix=* | --program-prefix=* | --program-prefi=* \
963 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
964 program_prefix=$ac_optarg ;;
966 -program-suffix | --program-suffix | --program-suffi | --program-suff \
967 | --program-suf | --program-su | --program-s)
968 ac_prev=program_suffix ;;
969 -program-suffix=* | --program-suffix=* | --program-suffi=* \
970 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
971 program_suffix=$ac_optarg ;;
973 -program-transform-name | --program-transform-name \
974 | --program-transform-nam | --program-transform-na \
975 | --program-transform-n | --program-transform- \
976 | --program-transform | --program-transfor \
977 | --program-transfo | --program-transf \
978 | --program-trans | --program-tran \
979 | --progr-tra | --program-tr | --program-t)
980 ac_prev=program_transform_name ;;
981 -program-transform-name=* | --program-transform-name=* \
982 | --program-transform-nam=* | --program-transform-na=* \
983 | --program-transform-n=* | --program-transform-=* \
984 | --program-transform=* | --program-transfor=* \
985 | --program-transfo=* | --program-transf=* \
986 | --program-trans=* | --program-tran=* \
987 | --progr-tra=* | --program-tr=* | --program-t=*)
988 program_transform_name=$ac_optarg ;;
990 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
992 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
995 -psdir | --psdir | --psdi | --psd | --ps)
997 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1000 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1001 | -silent | --silent | --silen | --sile | --sil)
1004 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1006 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1008 sbindir=$ac_optarg ;;
1010 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1011 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1012 | --sharedst | --shareds | --shared | --share | --shar \
1014 ac_prev=sharedstatedir ;;
1015 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1016 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1017 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1019 sharedstatedir=$ac_optarg ;;
1021 -site | --site | --sit)
1023 -site=* | --site=* | --sit=*)
1026 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1028 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1029 srcdir=$ac_optarg ;;
1031 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1032 | --syscon | --sysco | --sysc | --sys | --sy)
1033 ac_prev=sysconfdir ;;
1034 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1035 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1036 sysconfdir=$ac_optarg ;;
1038 -target | --target | --targe | --targ | --tar | --ta | --t)
1039 ac_prev=target_alias ;;
1040 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1041 target_alias=$ac_optarg ;;
1043 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1046 -version | --version | --versio | --versi | --vers | -V)
1047 ac_init_version=: ;;
1050 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1053 as_fn_error $? "invalid package name: $ac_useropt"
1054 ac_useropt_orig=$ac_useropt
1055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056 case $ac_user_opts in
1060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1061 ac_unrecognized_sep=', ';;
1063 eval with_$ac_useropt=\$ac_optarg ;;
1065 -without-* | --without-*)
1066 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069 as_fn_error $? "invalid package name: $ac_useropt"
1070 ac_useropt_orig=$ac_useropt
1071 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072 case $ac_user_opts in
1076 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1077 ac_unrecognized_sep=', ';;
1079 eval with_$ac_useropt=no ;;
1082 # Obsolete; use --with-x.
1085 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1086 | --x-incl | --x-inc | --x-in | --x-i)
1087 ac_prev=x_includes ;;
1088 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1089 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1090 x_includes=$ac_optarg ;;
1092 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1093 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1094 ac_prev=x_libraries ;;
1095 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1096 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1097 x_libraries=$ac_optarg ;;
1099 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1100 Try \`$0 --help' for more information"
1104 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1105 # Reject names that are not valid shell variable names.
1106 case $ac_envvar in #(
1107 '' | [0-9]* | *[!_$as_cr_alnum]* )
1108 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1110 eval $ac_envvar=\$ac_optarg
1111 export $ac_envvar ;;
1114 # FIXME: should be removed in autoconf 3.0.
1115 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1116 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1117 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1118 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1124 if test -n "$ac_prev"; then
1125 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1126 as_fn_error $? "missing argument to $ac_option"
1129 if test -n "$ac_unrecognized_opts"; then
1130 case $enable_option_checking in
1132 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1133 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1137 # Check all directory arguments for consistency.
1138 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1139 datadir sysconfdir sharedstatedir localstatedir includedir \
1140 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1141 libdir localedir mandir
1143 eval ac_val=\$$ac_var
1144 # Remove trailing slashes.
1147 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1148 eval $ac_var=\$ac_val;;
1150 # Be sure to have absolute directory names.
1152 [\\/$]* | ?:[\\/]* ) continue;;
1153 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1155 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1158 # There might be people who depend on the old broken behavior: `$host'
1159 # used to hold the argument of --host etc.
1160 # FIXME: To remove some day.
1163 target=$target_alias
1165 # FIXME: To remove some day.
1166 if test "x$host_alias" != x; then
1167 if test "x$build_alias" = x; then
1168 cross_compiling=maybe
1169 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1170 If a cross compiler is detected then cross compile mode will be used" >&2
1171 elif test "x$build_alias" != "x$host_alias"; then
1177 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1179 test "$silent" = yes && exec 6>/dev/null
1182 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1183 ac_ls_di=`ls -di .` &&
1184 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1185 as_fn_error $? "working directory cannot be determined"
1186 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1187 as_fn_error $? "pwd does not report name of working directory"
1190 # Find the source files, if location was not specified.
1191 if test -z "$srcdir"; then
1192 ac_srcdir_defaulted=yes
1193 # Try the directory containing this script, then the parent directory.
1194 ac_confdir=`$as_dirname -- "$as_myself" ||
1195 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1196 X"$as_myself" : 'X\(//\)[^/]' \| \
1197 X"$as_myself" : 'X\(//\)$' \| \
1198 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1199 $as_echo X"$as_myself" |
1200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1222 ac_srcdir_defaulted=no
1224 if test ! -r "$srcdir/$ac_unique_file"; then
1225 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1226 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1228 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1230 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1232 # When building in place, set srcdir=.
1233 if test "$ac_abs_confdir" = "$ac_pwd"; then
1236 # Remove unnecessary trailing slashes from srcdir.
1237 # Double slashes in file names in object file debugging info
1238 # mess up M-x gdb in Emacs.
1240 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1242 for ac_var in $ac_precious_vars; do
1243 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1244 eval ac_env_${ac_var}_value=\$${ac_var}
1245 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1246 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1250 # Report the --help message.
1252 if test "$ac_init_help" = "long"; then
1253 # Omit some internal or obsolete options to make the list less imposing.
1254 # This message is too long to be a string in the A/UX 3.1 sh.
1256 \`configure' configures ShapeFusion 0.5 to adapt to many kinds of systems.
1258 Usage: $0 [OPTION]... [VAR=VALUE]...
1260 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1261 VAR=VALUE. See below for descriptions of some of the useful variables.
1263 Defaults for the options are specified in brackets.
1266 -h, --help display this help and exit
1267 --help=short display options specific to this package
1268 --help=recursive display the short help of all the included packages
1269 -V, --version display version information and exit
1270 -q, --quiet, --silent do not print \`checking ...' messages
1271 --cache-file=FILE cache test results in FILE [disabled]
1272 -C, --config-cache alias for \`--cache-file=config.cache'
1273 -n, --no-create do not create output files
1274 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1276 Installation directories:
1277 --prefix=PREFIX install architecture-independent files in PREFIX
1278 [$ac_default_prefix]
1279 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1282 By default, \`make install' will install all the files in
1283 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1284 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1285 for instance \`--prefix=\$HOME'.
1287 For better control, use the options below.
1289 Fine tuning of the installation directories:
1290 --bindir=DIR user executables [EPREFIX/bin]
1291 --sbindir=DIR system admin executables [EPREFIX/sbin]
1292 --libexecdir=DIR program executables [EPREFIX/libexec]
1293 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1294 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1295 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1296 --libdir=DIR object code libraries [EPREFIX/lib]
1297 --includedir=DIR C header files [PREFIX/include]
1298 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1299 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1300 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1301 --infodir=DIR info documentation [DATAROOTDIR/info]
1302 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1303 --mandir=DIR man documentation [DATAROOTDIR/man]
1304 --docdir=DIR documentation root [DATAROOTDIR/doc/ShapeFusion]
1305 --htmldir=DIR html documentation [DOCDIR]
1306 --dvidir=DIR dvi documentation [DOCDIR]
1307 --pdfdir=DIR pdf documentation [DOCDIR]
1308 --psdir=DIR ps documentation [DOCDIR]
1314 --program-prefix=PREFIX prepend PREFIX to installed program names
1315 --program-suffix=SUFFIX append SUFFIX to installed program names
1316 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1319 --build=BUILD configure for building on BUILD [guessed]
1320 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1321 --target=TARGET configure for building compilers for TARGET [HOST]
1325 if test -n "$ac_init_help"; then
1326 case $ac_init_help in
1327 short | recursive ) echo "Configuration of ShapeFusion 0.5:";;
1332 --disable-option-checking ignore unrecognized --enable/--with options
1333 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1334 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1335 --disable-dependency-tracking speeds up one-time build
1336 --enable-dependency-tracking do not reject slow dependency extractors
1339 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1340 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1341 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1342 --with-wx-config=CONFIG wx-config script to use (optional)
1343 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1344 --with-wx-exec-prefix=PREFIX
1345 Exec prefix where wxWidgets is installed (optional)
1347 Some influential environment variables:
1348 CC C compiler command
1349 CFLAGS C compiler flags
1350 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1351 nonstandard directory <lib dir>
1352 LIBS libraries to pass to the linker, e.g. -l<library>
1353 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1354 you have headers in a nonstandard directory <include dir>
1356 CXX C++ compiler command
1357 CXXFLAGS C++ compiler flags
1358 CXXCPP C++ preprocessor
1359 PKG_CONFIG path to pkg-config utility
1361 C compiler flags for SNDFILE, overriding pkg-config
1363 linker flags for SNDFILE, overriding pkg-config
1365 Use these variables to override the choices made by `configure' or to help
1366 it to find libraries and programs with nonstandard names/locations.
1368 Report bugs to <http://sourceforge.net/bugs/?group_id=1997>.
1373 if test "$ac_init_help" = "recursive"; then
1374 # If there are subdirs, report their specific --help.
1375 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1376 test -d "$ac_dir" ||
1377 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1382 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1384 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1385 # A ".." for each directory in $ac_dir_suffix.
1386 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1387 case $ac_top_builddir_sub in
1388 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1389 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1392 ac_abs_top_builddir=$ac_pwd
1393 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1394 # for backward compatibility:
1395 ac_top_builddir=$ac_top_build_prefix
1398 .) # We are building in place.
1400 ac_top_srcdir=$ac_top_builddir_sub
1401 ac_abs_top_srcdir=$ac_pwd ;;
1402 [\\/]* | ?:[\\/]* ) # Absolute name.
1403 ac_srcdir=$srcdir$ac_dir_suffix;
1404 ac_top_srcdir=$srcdir
1405 ac_abs_top_srcdir=$srcdir ;;
1407 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1408 ac_top_srcdir=$ac_top_build_prefix$srcdir
1409 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1411 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1413 cd "$ac_dir" || { ac_status=$?; continue; }
1414 # Check for guested configure.
1415 if test -f "$ac_srcdir/configure.gnu"; then
1417 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1418 elif test -f "$ac_srcdir/configure"; then
1420 $SHELL "$ac_srcdir/configure" --help=recursive
1422 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1424 cd "$ac_pwd" || { ac_status=$?; break; }
1428 test -n "$ac_init_help" && exit $ac_status
1429 if $ac_init_version; then
1431 ShapeFusion configure 0.5
1432 generated by GNU Autoconf 2.68
1434 Copyright (C) 2010 Free Software Foundation, Inc.
1435 This configure script is free software; the Free Software Foundation
1436 gives unlimited permission to copy, distribute and modify it.
1441 ## ------------------------ ##
1442 ## Autoconf initialization. ##
1443 ## ------------------------ ##
1445 # ac_fn_c_try_compile LINENO
1446 # --------------------------
1447 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1448 ac_fn_c_try_compile ()
1450 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1451 rm -f conftest.$ac_objext
1452 if { { ac_try="$ac_compile"
1454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1455 *) ac_try_echo=$ac_try;;
1457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1458 $as_echo "$ac_try_echo"; } >&5
1459 (eval "$ac_compile") 2>conftest.err
1461 if test -s conftest.err; then
1462 grep -v '^ *+' conftest.err >conftest.er1
1463 cat conftest.er1 >&5
1464 mv -f conftest.er1 conftest.err
1466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1467 test $ac_status = 0; } && {
1468 test -z "$ac_c_werror_flag" ||
1469 test ! -s conftest.err
1470 } && test -s conftest.$ac_objext; then :
1473 $as_echo "$as_me: failed program was:" >&5
1474 sed 's/^/| /' conftest.$ac_ext >&5
1478 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1479 as_fn_set_status $ac_retval
1481 } # ac_fn_c_try_compile
1483 # ac_fn_c_try_cpp LINENO
1484 # ----------------------
1485 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1489 if { { ac_try="$ac_cpp conftest.$ac_ext"
1491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1492 *) ac_try_echo=$ac_try;;
1494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1495 $as_echo "$ac_try_echo"; } >&5
1496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1498 if test -s conftest.err; then
1499 grep -v '^ *+' conftest.err >conftest.er1
1500 cat conftest.er1 >&5
1501 mv -f conftest.er1 conftest.err
1503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504 test $ac_status = 0; } > conftest.i && {
1505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1506 test ! -s conftest.err
1510 $as_echo "$as_me: failed program was:" >&5
1511 sed 's/^/| /' conftest.$ac_ext >&5
1515 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1516 as_fn_set_status $ac_retval
1520 # ac_fn_cxx_try_compile LINENO
1521 # ----------------------------
1522 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1523 ac_fn_cxx_try_compile ()
1525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526 rm -f conftest.$ac_objext
1527 if { { ac_try="$ac_compile"
1529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1530 *) ac_try_echo=$ac_try;;
1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534 (eval "$ac_compile") 2>conftest.err
1536 if test -s conftest.err; then
1537 grep -v '^ *+' conftest.err >conftest.er1
1538 cat conftest.er1 >&5
1539 mv -f conftest.er1 conftest.err
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542 test $ac_status = 0; } && {
1543 test -z "$ac_cxx_werror_flag" ||
1544 test ! -s conftest.err
1545 } && test -s conftest.$ac_objext; then :
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5
1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1554 as_fn_set_status $ac_retval
1556 } # ac_fn_cxx_try_compile
1558 # ac_fn_cxx_try_cpp LINENO
1559 # ------------------------
1560 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_cxx_try_cpp ()
1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564 if { { ac_try="$ac_cpp conftest.$ac_ext"
1566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1567 *) ac_try_echo=$ac_try;;
1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1573 if test -s conftest.err; then
1574 grep -v '^ *+' conftest.err >conftest.er1
1575 cat conftest.er1 >&5
1576 mv -f conftest.er1 conftest.err
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; } > conftest.i && {
1580 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1581 test ! -s conftest.err
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591 as_fn_set_status $ac_retval
1593 } # ac_fn_cxx_try_cpp
1594 cat >config.log <<_ACEOF
1595 This file contains any messages produced by compilers while
1596 running configure, to aid debugging if configure makes a mistake.
1598 It was created by ShapeFusion $as_me 0.5, which was
1599 generated by GNU Autoconf 2.68. Invocation command line was
1611 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1612 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1613 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1614 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1615 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1617 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1618 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1620 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1621 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1622 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1623 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1624 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1625 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1626 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1634 test -z "$as_dir" && as_dir=.
1635 $as_echo "PATH: $as_dir"
1651 # Keep a trace of the command line.
1652 # Strip out --no-create and --no-recursion so they do not pile up.
1653 # Strip out --silent because we don't want to record it for future runs.
1654 # Also quote any args containing shell meta-characters.
1655 # Make two passes to allow for proper duplicate-argument suppression.
1659 ac_must_keep_next=false
1665 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1666 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1667 | -silent | --silent | --silen | --sile | --sil)
1670 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1673 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1675 as_fn_append ac_configure_args1 " '$ac_arg'"
1676 if test $ac_must_keep_next = true; then
1677 ac_must_keep_next=false # Got value, back to normal.
1680 *=* | --config-cache | -C | -disable-* | --disable-* \
1681 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1682 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1683 | -with-* | --with-* | -without-* | --without-* | --x)
1684 case "$ac_configure_args0 " in
1685 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1688 -* ) ac_must_keep_next=true ;;
1691 as_fn_append ac_configure_args " '$ac_arg'"
1696 { ac_configure_args0=; unset ac_configure_args0;}
1697 { ac_configure_args1=; unset ac_configure_args1;}
1699 # When interrupted or exit'd, cleanup temporary files, and complete
1700 # config.log. We remove comments because anyway the quotes in there
1701 # would cause problems or look ugly.
1702 # WARNING: Use '\'' to represent an apostrophe within the trap.
1703 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1704 trap 'exit_status=$?
1705 # Save into config.log some information that might help in debugging.
1709 $as_echo "## ---------------- ##
1710 ## Cache variables. ##
1711 ## ---------------- ##"
1713 # The following way of writing the cache mishandles newlines in values,
1715 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1716 eval ac_val=\$$ac_var
1720 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1721 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1724 _ | IFS | as_nl) ;; #(
1725 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1726 *) { eval $ac_var=; unset $ac_var;} ;;
1731 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1732 *${as_nl}ac_space=\ *)
1734 "s/'\''/'\''\\\\'\'''\''/g;
1735 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1738 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1745 $as_echo "## ----------------- ##
1746 ## Output variables. ##
1747 ## ----------------- ##"
1749 for ac_var in $ac_subst_vars
1751 eval ac_val=\$$ac_var
1753 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1755 $as_echo "$ac_var='\''$ac_val'\''"
1759 if test -n "$ac_subst_files"; then
1760 $as_echo "## ------------------- ##
1761 ## File substitutions. ##
1762 ## ------------------- ##"
1764 for ac_var in $ac_subst_files
1766 eval ac_val=\$$ac_var
1768 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1770 $as_echo "$ac_var='\''$ac_val'\''"
1775 if test -s confdefs.h; then
1776 $as_echo "## ----------- ##
1783 test "$ac_signal" != 0 &&
1784 $as_echo "$as_me: caught signal $ac_signal"
1785 $as_echo "$as_me: exit $exit_status"
1787 rm -f core *.core core.conftest.* &&
1788 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1791 for ac_signal in 1 2 13 15; do
1792 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1796 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1797 rm -f -r conftest* confdefs.h
1799 $as_echo "/* confdefs.h */" > confdefs.h
1801 # Predefined preprocessor variables.
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_NAME "$PACKAGE_NAME"
1807 cat >>confdefs.h <<_ACEOF
1808 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1811 cat >>confdefs.h <<_ACEOF
1812 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1815 cat >>confdefs.h <<_ACEOF
1816 #define PACKAGE_STRING "$PACKAGE_STRING"
1819 cat >>confdefs.h <<_ACEOF
1820 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1823 cat >>confdefs.h <<_ACEOF
1824 #define PACKAGE_URL "$PACKAGE_URL"
1828 # Let the site file select an alternate cache file if it wants to.
1829 # Prefer an explicitly selected file to automatically selected ones.
1832 if test -n "$CONFIG_SITE"; then
1833 # We do not want a PATH search for config.site.
1834 case $CONFIG_SITE in #((
1835 -*) ac_site_file1=./$CONFIG_SITE;;
1836 */*) ac_site_file1=$CONFIG_SITE;;
1837 *) ac_site_file1=./$CONFIG_SITE;;
1839 elif test "x$prefix" != xNONE; then
1840 ac_site_file1=$prefix/share/config.site
1841 ac_site_file2=$prefix/etc/config.site
1843 ac_site_file1=$ac_default_prefix/share/config.site
1844 ac_site_file2=$ac_default_prefix/etc/config.site
1846 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1848 test "x$ac_site_file" = xNONE && continue
1849 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1851 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1852 sed 's/^/| /' "$ac_site_file" >&5
1854 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1856 as_fn_error $? "failed to load site script $ac_site_file
1857 See \`config.log' for more details" "$LINENO" 5; }
1861 if test -r "$cache_file"; then
1862 # Some versions of bash will fail to source /dev/null (special files
1863 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1864 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1866 $as_echo "$as_me: loading cache $cache_file" >&6;}
1868 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1869 *) . "./$cache_file";;
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1874 $as_echo "$as_me: creating cache $cache_file" >&6;}
1878 # Check that the precious variables saved in the cache have kept the same
1880 ac_cache_corrupted=false
1881 for ac_var in $ac_precious_vars; do
1882 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1883 eval ac_new_set=\$ac_env_${ac_var}_set
1884 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1885 eval ac_new_val=\$ac_env_${ac_var}_value
1886 case $ac_old_set,$ac_new_set in
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1889 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1890 ac_cache_corrupted=: ;;
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1893 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1894 ac_cache_corrupted=: ;;
1897 if test "x$ac_old_val" != "x$ac_new_val"; then
1898 # differences in whitespace do not lead to failure.
1899 ac_old_val_w=`echo x $ac_old_val`
1900 ac_new_val_w=`echo x $ac_new_val`
1901 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1903 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1904 ac_cache_corrupted=:
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1907 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1908 eval $ac_var=\$ac_old_val
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1911 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1913 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1916 # Pass precious variables to config.status.
1917 if test "$ac_new_set" = set; then
1919 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1920 *) ac_arg=$ac_var=$ac_new_val ;;
1922 case " $ac_configure_args " in
1923 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1924 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1928 if $ac_cache_corrupted; then
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1932 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1933 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1935 ## -------------------- ##
1936 ## Main body of script. ##
1937 ## -------------------- ##
1940 ac_cpp='$CPP $CPPFLAGS'
1941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1949 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1950 if test -f "$ac_dir/install-sh"; then
1952 ac_install_sh="$ac_aux_dir/install-sh -c"
1954 elif test -f "$ac_dir/install.sh"; then
1956 ac_install_sh="$ac_aux_dir/install.sh -c"
1958 elif test -f "$ac_dir/shtool"; then
1960 ac_install_sh="$ac_aux_dir/shtool install -c"
1964 if test -z "$ac_aux_dir"; then
1965 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1968 # These three variables are undocumented and unsupported,
1969 # and are intended to be withdrawn in a future Autoconf release.
1970 # They can cause serious problems if a builder's source tree is in a directory
1971 # whose full name contains unusual characters.
1972 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1973 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1974 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1977 # Make sure we can run config.sub.
1978 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1979 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1982 $as_echo_n "checking build system type... " >&6; }
1983 if ${ac_cv_build+:} false; then :
1984 $as_echo_n "(cached) " >&6
1986 ac_build_alias=$build_alias
1987 test "x$ac_build_alias" = x &&
1988 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1989 test "x$ac_build_alias" = x &&
1990 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1991 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1992 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1996 $as_echo "$ac_cv_build" >&6; }
1997 case $ac_cv_build in
1999 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2002 ac_save_IFS=$IFS; IFS='-'
2008 # Remember, the first character of IFS is used to create $*,
2009 # except with old shells:
2012 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2016 $as_echo_n "checking host system type... " >&6; }
2017 if ${ac_cv_host+:} false; then :
2018 $as_echo_n "(cached) " >&6
2020 if test "x$host_alias" = x; then
2021 ac_cv_host=$ac_cv_build
2023 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2024 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2029 $as_echo "$ac_cv_host" >&6; }
2032 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2035 ac_save_IFS=$IFS; IFS='-'
2041 # Remember, the first character of IFS is used to create $*,
2042 # except with old shells:
2045 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2049 $as_echo_n "checking target system type... " >&6; }
2050 if ${ac_cv_target+:} false; then :
2051 $as_echo_n "(cached) " >&6
2053 if test "x$target_alias" = x; then
2054 ac_cv_target=$ac_cv_host
2056 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2057 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2062 $as_echo "$ac_cv_target" >&6; }
2063 case $ac_cv_target in
2065 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2067 target=$ac_cv_target
2068 ac_save_IFS=$IFS; IFS='-'
2074 # Remember, the first character of IFS is used to create $*,
2075 # except with old shells:
2078 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2081 # The aliases save the names the user supplied, while $host etc.
2082 # will get canonicalized.
2083 test -n "$target_alias" &&
2084 test "$program_prefix$program_suffix$program_transform_name" = \
2086 program_prefix=${target_alias}-
2088 am__api_version='1.11'
2090 # Find a good install program. We prefer a C program (faster),
2091 # so one script is as good as another. But avoid the broken or
2092 # incompatible versions:
2093 # SysV /etc/install, /usr/sbin/install
2094 # SunOS /usr/etc/install
2095 # IRIX /sbin/install
2097 # AmigaOS /C/install, which installs bootblocks on floppy discs
2098 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2099 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2100 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2101 # OS/2's system install, which has a completely different semantic
2102 # ./install, which can be erroneously created by make from ./install.sh.
2103 # Reject install programs that cannot install multiple files.
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2105 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2106 if test -z "$INSTALL"; then
2107 if ${ac_cv_path_install+:} false; then :
2108 $as_echo_n "(cached) " >&6
2110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 test -z "$as_dir" && as_dir=.
2115 # Account for people who put trailing slashes in PATH elements.
2116 case $as_dir/ in #((
2117 ./ | .// | /[cC]/* | \
2118 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2119 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2122 # OSF1 and SCO ODT 3.0 have their own names for install.
2123 # Don't use installbsd from OSF since it installs stuff as root
2125 for ac_prog in ginstall scoinst install; do
2126 for ac_exec_ext in '' $ac_executable_extensions; do
2127 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2128 if test $ac_prog = install &&
2129 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2130 # AIX install. It has an incompatible calling convention.
2132 elif test $ac_prog = install &&
2133 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2134 # program-specific install script used by HP pwplus--don't use.
2137 rm -rf conftest.one conftest.two conftest.dir
2138 echo one > conftest.one
2139 echo two > conftest.two
2141 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2142 test -s conftest.one && test -s conftest.two &&
2143 test -s conftest.dir/conftest.one &&
2144 test -s conftest.dir/conftest.two
2146 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2159 rm -rf conftest.one conftest.two conftest.dir
2162 if test "${ac_cv_path_install+set}" = set; then
2163 INSTALL=$ac_cv_path_install
2165 # As a last resort, use the slow shell script. Don't cache a
2166 # value for INSTALL within a source directory, because that will
2167 # break other packages using the cache if that directory is
2168 # removed, or if the value is a relative name.
2169 INSTALL=$ac_install_sh
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2173 $as_echo "$INSTALL" >&6; }
2175 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2176 # It thinks the first close brace ends the variable substitution.
2177 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2179 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2181 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2184 $as_echo_n "checking whether build environment is sane... " >&6; }
2187 echo timestamp > conftest.file
2188 # Reject unsafe characters in $srcdir or the absolute working directory
2189 # name. Accept space and tab only in the latter.
2193 *[\\\"\#\$\&\'\`$am_lf]*)
2194 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2197 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2198 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2201 # Do `set' in a subshell so we don't clobber the current shell's
2202 # arguments. Must try -L first in case configure is actually a
2203 # symlink; some systems play weird games with the mod time of symlinks
2204 # (eg FreeBSD returns the mod time of the symlink's containing
2207 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2208 if test "$*" = "X"; then
2210 set X `ls -t "$srcdir/configure" conftest.file`
2213 if test "$*" != "X $srcdir/configure conftest.file" \
2214 && test "$*" != "X conftest.file $srcdir/configure"; then
2216 # If neither matched, then we have a broken ls. This can happen
2217 # if, for instance, CONFIG_SHELL is bash and it inherits a
2218 # broken ls alias from the environment. This has actually
2219 # happened. Such a system could not be considered "sane".
2220 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2221 alias in your environment" "$LINENO" 5
2224 test "$2" = conftest.file
2230 as_fn_error $? "newly created file is older than distributed files!
2231 Check your system clock" "$LINENO" 5
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2234 $as_echo "yes" >&6; }
2235 test "$program_prefix" != NONE &&
2236 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2237 # Use a double $ so make ignores it.
2238 test "$program_suffix" != NONE &&
2239 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2240 # Double any \ or $.
2241 # By default was `s,x,x', remove it if useless.
2242 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2243 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2245 # expand $ac_aux_dir to an absolute path
2246 am_aux_dir=`cd $ac_aux_dir && pwd`
2248 if test x"${MISSING+set}" != xset; then
2251 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2253 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2256 # Use eval to expand $SHELL
2257 if eval "$MISSING --run true"; then
2258 am_missing_run="$MISSING --run "
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2262 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2265 if test x"${install_sh}" != xset; then
2268 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2270 install_sh="\${SHELL} $am_aux_dir/install-sh"
2274 # Installed binaries are usually stripped using `strip' when the user
2275 # run `make install-strip'. However `strip' might not be the right
2276 # tool to use in cross-compilation environments, therefore Automake
2277 # will honor the `STRIP' environment variable to overrule this program.
2278 if test "$cross_compiling" != no; then
2279 if test -n "$ac_tool_prefix"; then
2280 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2281 set dummy ${ac_tool_prefix}strip; ac_word=$2
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2283 $as_echo_n "checking for $ac_word... " >&6; }
2284 if ${ac_cv_prog_STRIP+:} false; then :
2285 $as_echo_n "(cached) " >&6
2287 if test -n "$STRIP"; then
2288 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir=.
2295 for ac_exec_ext in '' $ac_executable_extensions; do
2296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2297 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2307 STRIP=$ac_cv_prog_STRIP
2308 if test -n "$STRIP"; then
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2310 $as_echo "$STRIP" >&6; }
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2313 $as_echo "no" >&6; }
2318 if test -z "$ac_cv_prog_STRIP"; then
2320 # Extract the first word of "strip", so it can be a program name with args.
2321 set dummy strip; ac_word=$2
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2323 $as_echo_n "checking for $ac_word... " >&6; }
2324 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2325 $as_echo_n "(cached) " >&6
2327 if test -n "$ac_ct_STRIP"; then
2328 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2334 test -z "$as_dir" && as_dir=.
2335 for ac_exec_ext in '' $ac_executable_extensions; do
2336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2337 ac_cv_prog_ac_ct_STRIP="strip"
2338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2347 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2348 if test -n "$ac_ct_STRIP"; then
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2350 $as_echo "$ac_ct_STRIP" >&6; }
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2353 $as_echo "no" >&6; }
2356 if test "x$ac_ct_STRIP" = x; then
2359 case $cross_compiling:$ac_tool_warned in
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2363 ac_tool_warned=yes ;;
2368 STRIP="$ac_cv_prog_STRIP"
2372 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2375 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2376 if test -z "$MKDIR_P"; then
2377 if ${ac_cv_path_mkdir+:} false; then :
2378 $as_echo_n "(cached) " >&6
2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2381 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2384 test -z "$as_dir" && as_dir=.
2385 for ac_prog in mkdir gmkdir; do
2386 for ac_exec_ext in '' $ac_executable_extensions; do
2387 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2388 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2389 'mkdir (GNU coreutils) '* | \
2390 'mkdir (coreutils) '* | \
2391 'mkdir (fileutils) '4.1*)
2392 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2402 test -d ./--version && rmdir ./--version
2403 if test "${ac_cv_path_mkdir+set}" = set; then
2404 MKDIR_P="$ac_cv_path_mkdir -p"
2406 # As a last resort, use the slow shell script. Don't cache a
2407 # value for MKDIR_P within a source directory, because that will
2408 # break other packages using the cache if that directory is
2409 # removed, or if the value is a relative name.
2410 MKDIR_P="$ac_install_sh -d"
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2414 $as_echo "$MKDIR_P" >&6; }
2418 [\\/$]* | ?:[\\/]*) ;;
2419 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2422 for ac_prog in gawk mawk nawk awk
2424 # Extract the first word of "$ac_prog", so it can be a program name with args.
2425 set dummy $ac_prog; ac_word=$2
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2427 $as_echo_n "checking for $ac_word... " >&6; }
2428 if ${ac_cv_prog_AWK+:} false; then :
2429 $as_echo_n "(cached) " >&6
2431 if test -n "$AWK"; then
2432 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2438 test -z "$as_dir" && as_dir=.
2439 for ac_exec_ext in '' $ac_executable_extensions; do
2440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2441 ac_cv_prog_AWK="$ac_prog"
2442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2452 if test -n "$AWK"; then
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2454 $as_echo "$AWK" >&6; }
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2457 $as_echo "no" >&6; }
2461 test -n "$AWK" && break
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2465 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2467 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2468 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2469 $as_echo_n "(cached) " >&6
2471 cat >conftest.make <<\_ACEOF
2474 @echo '@@@%%%=$(MAKE)=@@@%%%'
2476 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2477 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2479 eval ac_cv_prog_make_${ac_make}_set=yes;;
2481 eval ac_cv_prog_make_${ac_make}_set=no;;
2485 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2487 $as_echo "yes" >&6; }
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491 $as_echo "no" >&6; }
2492 SET_MAKE="MAKE=${MAKE-make}"
2495 rm -rf .tst 2>/dev/null
2496 mkdir .tst 2>/dev/null
2497 if test -d .tst; then
2502 rmdir .tst 2>/dev/null
2504 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2505 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2506 # is not polluted with repeated "-I."
2507 am__isrc=' -I$(srcdir)'
2508 # test to see if srcdir already configured
2509 if test -f $srcdir/config.status; then
2510 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2514 # test whether we have cygpath
2515 if test -z "$CYGPATH_W"; then
2516 if (cygpath --version) >/dev/null 2>/dev/null; then
2517 CYGPATH_W='cygpath -w'
2524 # Define the identity of the package.
2525 PACKAGE='ShapeFusion'
2529 cat >>confdefs.h <<_ACEOF
2530 #define PACKAGE "$PACKAGE"
2534 cat >>confdefs.h <<_ACEOF
2535 #define VERSION "$VERSION"
2538 # Some tools Automake needs.
2540 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2543 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2546 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2549 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2552 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2554 # We need awk for the "check" target. The system "awk" is bad on
2556 # Always define AMTAR for backward compatibility.
2558 AMTAR=${AMTAR-"${am_missing_run}tar"}
2560 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2566 ac_config_headers="$ac_config_headers config.h"
2570 ac_cpp='$CPP $CPPFLAGS'
2571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2574 if test -n "$ac_tool_prefix"; then
2575 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2576 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2578 $as_echo_n "checking for $ac_word... " >&6; }
2579 if ${ac_cv_prog_CC+:} false; then :
2580 $as_echo_n "(cached) " >&6
2582 if test -n "$CC"; then
2583 ac_cv_prog_CC="$CC" # Let the user override the test.
2585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589 test -z "$as_dir" && as_dir=.
2590 for ac_exec_ext in '' $ac_executable_extensions; do
2591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2592 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 if test -n "$CC"; then
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2605 $as_echo "$CC" >&6; }
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608 $as_echo "no" >&6; }
2613 if test -z "$ac_cv_prog_CC"; then
2615 # Extract the first word of "gcc", so it can be a program name with args.
2616 set dummy gcc; ac_word=$2
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2618 $as_echo_n "checking for $ac_word... " >&6; }
2619 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2620 $as_echo_n "(cached) " >&6
2622 if test -n "$ac_ct_CC"; then
2623 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629 test -z "$as_dir" && as_dir=.
2630 for ac_exec_ext in '' $ac_executable_extensions; do
2631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2632 ac_cv_prog_ac_ct_CC="gcc"
2633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2642 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2643 if test -n "$ac_ct_CC"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2645 $as_echo "$ac_ct_CC" >&6; }
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 $as_echo "no" >&6; }
2651 if test "x$ac_ct_CC" = x; then
2654 case $cross_compiling:$ac_tool_warned in
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2658 ac_tool_warned=yes ;;
2666 if test -z "$CC"; then
2667 if test -n "$ac_tool_prefix"; then
2668 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2669 set dummy ${ac_tool_prefix}cc; ac_word=$2
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2671 $as_echo_n "checking for $ac_word... " >&6; }
2672 if ${ac_cv_prog_CC+:} false; then :
2673 $as_echo_n "(cached) " >&6
2675 if test -n "$CC"; then
2676 ac_cv_prog_CC="$CC" # Let the user override the test.
2678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682 test -z "$as_dir" && as_dir=.
2683 for ac_exec_ext in '' $ac_executable_extensions; do
2684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2685 ac_cv_prog_CC="${ac_tool_prefix}cc"
2686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 if test -n "$CC"; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2698 $as_echo "$CC" >&6; }
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2701 $as_echo "no" >&6; }
2707 if test -z "$CC"; then
2708 # Extract the first word of "cc", so it can be a program name with args.
2709 set dummy cc; ac_word=$2
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2711 $as_echo_n "checking for $ac_word... " >&6; }
2712 if ${ac_cv_prog_CC+:} false; then :
2713 $as_echo_n "(cached) " >&6
2715 if test -n "$CC"; then
2716 ac_cv_prog_CC="$CC" # Let the user override the test.
2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2723 test -z "$as_dir" && as_dir=.
2724 for ac_exec_ext in '' $ac_executable_extensions; do
2725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2726 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2727 ac_prog_rejected=yes
2731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 if test $ac_prog_rejected = yes; then
2739 # We found a bogon in the path, so make sure we never use it.
2740 set dummy $ac_cv_prog_CC
2742 if test $# != 0; then
2743 # We chose a different compiler from the bogus one.
2744 # However, it has the same basename, so the bogon will be chosen
2745 # first if we set CC to just the basename; use the full file name.
2747 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2753 if test -n "$CC"; then
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2755 $as_echo "$CC" >&6; }
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2758 $as_echo "no" >&6; }
2763 if test -z "$CC"; then
2764 if test -n "$ac_tool_prefix"; then
2765 for ac_prog in cl.exe
2767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2768 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770 $as_echo_n "checking for $ac_word... " >&6; }
2771 if ${ac_cv_prog_CC+:} false; then :
2772 $as_echo_n "(cached) " >&6
2774 if test -n "$CC"; then
2775 ac_cv_prog_CC="$CC" # Let the user override the test.
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 test -z "$as_dir" && as_dir=.
2782 for ac_exec_ext in '' $ac_executable_extensions; do
2783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2784 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 if test -n "$CC"; then
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2797 $as_echo "$CC" >&6; }
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800 $as_echo "no" >&6; }
2804 test -n "$CC" && break
2807 if test -z "$CC"; then
2809 for ac_prog in cl.exe
2811 # Extract the first word of "$ac_prog", so it can be a program name with args.
2812 set dummy $ac_prog; ac_word=$2
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814 $as_echo_n "checking for $ac_word... " >&6; }
2815 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2816 $as_echo_n "(cached) " >&6
2818 if test -n "$ac_ct_CC"; then
2819 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir=.
2826 for ac_exec_ext in '' $ac_executable_extensions; do
2827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2828 ac_cv_prog_ac_ct_CC="$ac_prog"
2829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2839 if test -n "$ac_ct_CC"; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2841 $as_echo "$ac_ct_CC" >&6; }
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844 $as_echo "no" >&6; }
2848 test -n "$ac_ct_CC" && break
2851 if test "x$ac_ct_CC" = x; then
2854 case $cross_compiling:$ac_tool_warned in
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2858 ac_tool_warned=yes ;;
2867 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2869 as_fn_error $? "no acceptable C compiler found in \$PATH
2870 See \`config.log' for more details" "$LINENO" 5; }
2872 # Provide some information about the compiler.
2873 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2876 for ac_option in --version -v -V -qversion; do
2877 { { ac_try="$ac_compiler $ac_option >&5"
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2883 $as_echo "$ac_try_echo"; } >&5
2884 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2886 if test -s conftest.err; then
2888 ... rest of stderr output deleted ...
2889 10q' conftest.err >conftest.er1
2890 cat conftest.er1 >&5
2892 rm -f conftest.er1 conftest.err
2893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2894 test $ac_status = 0; }
2897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h. */
2908 ac_clean_files_save=$ac_clean_files
2909 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2910 # Try to create an executable without -o first, disregard a.out.
2911 # It will help us diagnose broken compilers, and finding out an intuition
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2914 $as_echo_n "checking whether the C compiler works... " >&6; }
2915 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2917 # The possible output files:
2918 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2921 for ac_file in $ac_files
2924 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2925 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2930 if { { ac_try="$ac_link_default"
2932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933 *) ac_try_echo=$ac_try;;
2935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2936 $as_echo "$ac_try_echo"; } >&5
2937 (eval "$ac_link_default") 2>&5
2939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940 test $ac_status = 0; }; then :
2941 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2942 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2943 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2944 # so that the user can short-circuit this test for compilers unknown to
2946 for ac_file in $ac_files ''
2948 test -f "$ac_file" || continue
2950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2953 # We found the default executable, but exeext='' is most
2957 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2959 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2961 # We set ac_cv_exeext here because the later test for it is not
2962 # safe: cross compilers may not add the suffix if given an `-o'
2963 # argument, so we may need to know it at that point already.
2964 # Even if this section looks crufty: it has the advantage of
2971 test "$ac_cv_exeext" = no && ac_cv_exeext=
2976 if test -z "$ac_file"; then :
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2979 $as_echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2984 as_fn_error 77 "C compiler cannot create executables
2985 See \`config.log' for more details" "$LINENO" 5; }
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2988 $as_echo "yes" >&6; }
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2991 $as_echo_n "checking for C compiler default output file name... " >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2993 $as_echo "$ac_file" >&6; }
2994 ac_exeext=$ac_cv_exeext
2996 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2997 ac_clean_files=$ac_clean_files_save
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2999 $as_echo_n "checking for suffix of executables... " >&6; }
3000 if { { ac_try="$ac_link"
3002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003 *) ac_try_echo=$ac_try;;
3005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3006 $as_echo "$ac_try_echo"; } >&5
3007 (eval "$ac_link") 2>&5
3009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3010 test $ac_status = 0; }; then :
3011 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3012 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3013 # work properly (i.e., refer to `conftest.exe'), while it won't with
3015 for ac_file in conftest.exe conftest conftest.*; do
3016 test -f "$ac_file" || continue
3018 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3019 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3025 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3027 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3028 See \`config.log' for more details" "$LINENO" 5; }
3030 rm -f conftest conftest$ac_cv_exeext
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3032 $as_echo "$ac_cv_exeext" >&6; }
3034 rm -f conftest.$ac_ext
3035 EXEEXT=$ac_cv_exeext
3037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3038 /* end confdefs.h. */
3043 FILE *f = fopen ("conftest.out", "w");
3044 return ferror (f) || fclose (f) != 0;
3050 ac_clean_files="$ac_clean_files conftest.out"
3051 # Check that the compiler produces executables we can run. If not, either
3052 # the compiler is broken, or we cross compile.
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3054 $as_echo_n "checking whether we are cross compiling... " >&6; }
3055 if test "$cross_compiling" != yes; then
3056 { { ac_try="$ac_link"
3058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3062 $as_echo "$ac_try_echo"; } >&5
3063 (eval "$ac_link") 2>&5
3065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3066 test $ac_status = 0; }
3067 if { ac_try='./conftest$ac_cv_exeext'
3068 { { case "(($ac_try" in
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3073 $as_echo "$ac_try_echo"; } >&5
3074 (eval "$ac_try") 2>&5
3076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3077 test $ac_status = 0; }; }; then
3080 if test "$cross_compiling" = maybe; then
3083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3085 as_fn_error $? "cannot run C compiled programs.
3086 If you meant to cross compile, use \`--host'.
3087 See \`config.log' for more details" "$LINENO" 5; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3092 $as_echo "$cross_compiling" >&6; }
3094 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3095 ac_clean_files=$ac_clean_files_save
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3097 $as_echo_n "checking for suffix of object files... " >&6; }
3098 if ${ac_cv_objext+:} false; then :
3099 $as_echo_n "(cached) " >&6
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3112 rm -f conftest.o conftest.obj
3113 if { { ac_try="$ac_compile"
3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3119 $as_echo "$ac_try_echo"; } >&5
3120 (eval "$ac_compile") 2>&5
3122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3123 test $ac_status = 0; }; then :
3124 for ac_file in conftest.o conftest.obj conftest.*; do
3125 test -f "$ac_file" || continue;
3127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3128 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3133 $as_echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3138 as_fn_error $? "cannot compute suffix of object files: cannot compile
3139 See \`config.log' for more details" "$LINENO" 5; }
3141 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3144 $as_echo "$ac_cv_objext" >&6; }
3145 OBJEXT=$ac_cv_objext
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3148 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3149 if ${ac_cv_c_compiler_gnu+:} false; then :
3150 $as_echo_n "(cached) " >&6
3152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153 /* end confdefs.h. */
3166 if ac_fn_c_try_compile "$LINENO"; then :
3171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3172 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3176 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3177 if test $ac_compiler_gnu = yes; then
3182 ac_test_CFLAGS=${CFLAGS+set}
3183 ac_save_CFLAGS=$CFLAGS
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3185 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3186 if ${ac_cv_prog_cc_g+:} false; then :
3187 $as_echo_n "(cached) " >&6
3189 ac_save_c_werror_flag=$ac_c_werror_flag
3190 ac_c_werror_flag=yes
3193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194 /* end confdefs.h. */
3204 if ac_fn_c_try_compile "$LINENO"; then :
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3219 if ac_fn_c_try_compile "$LINENO"; then :
3222 ac_c_werror_flag=$ac_save_c_werror_flag
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3235 if ac_fn_c_try_compile "$LINENO"; then :
3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 ac_c_werror_flag=$ac_save_c_werror_flag
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3246 $as_echo "$ac_cv_prog_cc_g" >&6; }
3247 if test "$ac_test_CFLAGS" = set; then
3248 CFLAGS=$ac_save_CFLAGS
3249 elif test $ac_cv_prog_cc_g = yes; then
3250 if test "$GCC" = yes; then
3256 if test "$GCC" = yes; then
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3263 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3264 if ${ac_cv_prog_cc_c89+:} false; then :
3265 $as_echo_n "(cached) " >&6
3267 ac_cv_prog_cc_c89=no
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3273 #include <sys/types.h>
3274 #include <sys/stat.h>
3275 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3276 struct buf { int x; };
3277 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3278 static char *e (p, i)
3284 static char *f (char * (*g) (char **, int), char **p, ...)
3289 s = g (p, va_arg (v,int));
3294 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3295 function prototypes and stuff, but not '\xHH' hex character constants.
3296 These don't provoke an error unfortunately, instead are silently treated
3297 as 'x'. The following induces an error, until -std is added to get
3298 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3299 array size at least. It's necessary to write '\x00'==0 to get something
3300 that's true only with -std. */
3301 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3303 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3304 inside strings and character constants. */
3306 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3308 int test (int i, double x);
3309 struct s1 {int (*f) (int a);};
3310 struct s2 {int (*f) (double a);};
3311 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3317 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3322 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3323 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3325 CC="$ac_save_CC $ac_arg"
3326 if ac_fn_c_try_compile "$LINENO"; then :
3327 ac_cv_prog_cc_c89=$ac_arg
3329 rm -f core conftest.err conftest.$ac_objext
3330 test "x$ac_cv_prog_cc_c89" != "xno" && break
3332 rm -f conftest.$ac_ext
3337 case "x$ac_cv_prog_cc_c89" in
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3340 $as_echo "none needed" >&6; } ;;
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3343 $as_echo "unsupported" >&6; } ;;
3345 CC="$CC $ac_cv_prog_cc_c89"
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3347 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3349 if test "x$ac_cv_prog_cc_c89" != xno; then :
3354 ac_cpp='$CPP $CPPFLAGS'
3355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3358 DEPDIR="${am__leading_dot}deps"
3360 ac_config_commands="$ac_config_commands depfiles"
3363 am_make=${MAKE-make}
3364 cat > confinc << 'END'
3366 @echo this is the am__doit target
3369 # If we don't find an include directive, just comment out the code.
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3371 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3375 # First try GNU make style include.
3376 echo "include confinc" > confmf
3377 # Ignore all kinds of additional output from `make'.
3378 case `$am_make -s -f confmf 2> /dev/null` in #(
3379 *the\ am__doit\ target*)
3385 # Now try BSD make style include.
3386 if test "$am__include" = "#"; then
3387 echo '.include "confinc"' > confmf
3388 case `$am_make -s -f confmf 2> /dev/null` in #(
3389 *the\ am__doit\ target*)
3390 am__include=.include
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3399 $as_echo "$_am_result" >&6; }
3400 rm -f confinc confmf
3402 # Check whether --enable-dependency-tracking was given.
3403 if test "${enable_dependency_tracking+set}" = set; then :
3404 enableval=$enable_dependency_tracking;
3407 if test "x$enable_dependency_tracking" != xno; then
3408 am_depcomp="$ac_aux_dir/depcomp"
3412 if test "x$enable_dependency_tracking" != xno; then
3422 depcc="$CC" am_compiler_list=
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3425 $as_echo_n "checking dependency style of $depcc... " >&6; }
3426 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3427 $as_echo_n "(cached) " >&6
3429 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3430 # We make a subdir and do the tests there. Otherwise we can end up
3431 # making bogus files that we don't know about and never remove. For
3432 # instance it was reported that on HP-UX the gcc test will end up
3433 # making a dummy file named `D' -- because `-MD' means `put the output
3437 # Copy depcomp to subdir because otherwise we won't find it if we're
3438 # using a relative directory.
3439 cp "$am_depcomp" conftest.dir
3441 # We will build objects and dependencies in a subdirectory because
3442 # it helps to detect inapplicable dependency modes. For instance
3443 # both Tru64's cc and ICC support -MD to output dependencies as a
3444 # side effect of compilation, but ICC will put the dependencies in
3445 # the current directory while Tru64 will put them in the object
3449 am_cv_CC_dependencies_compiler_type=none
3450 if test "$am_compiler_list" = ""; then
3451 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3454 case " $depcc " in #(
3455 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3458 for depmode in $am_compiler_list; do
3459 # Setup a source with many dependencies, because some compilers
3460 # like to wrap large dependency lists on column 80 (with \), and
3461 # we should not choose a depcomp mode which is confused by this.
3463 # We need to recreate these files for each test, as the compiler may
3464 # overwrite some of them when testing with obscure command lines.
3465 # This happens at least with the AIX C compiler.
3467 for i in 1 2 3 4 5 6; do
3468 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3469 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3470 # Solaris 8's {/usr,}/bin/sh.
3471 touch sub/conftst$i.h
3473 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3475 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3476 # mode. It turns out that the SunPro C++ compiler does not properly
3477 # handle `-M -o', and we need to detect this. Also, some Intel
3478 # versions had trouble with output in subdirs
3479 am__obj=sub/conftest.${OBJEXT-o}
3480 am__minus_obj="-o $am__obj"
3483 # This depmode causes a compiler race in universal mode.
3484 test "$am__universal" = false || continue
3487 # after this tag, mechanisms are not by side-effect, so they'll
3488 # only be used when explicitly requested
3489 if test "x$enable_dependency_tracking" = xyes; then
3495 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3496 # This compiler won't grok `-c -o', but also, the minuso test has
3497 # not run yet. These depmodes are late enough in the game, and
3498 # so weak that their functioning should not be impacted.
3499 am__obj=conftest.${OBJEXT-o}
3504 if depmode=$depmode \
3505 source=sub/conftest.c object=$am__obj \
3506 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3507 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3508 >/dev/null 2>conftest.err &&
3509 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3510 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3511 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3512 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3513 # icc doesn't choke on unknown options, it will just issue warnings
3514 # or remarks (even with -Werror). So we grep stderr for any message
3515 # that says an option was ignored or not supported.
3516 # When given -MP, icc 7.0 and 7.1 complain thusly:
3517 # icc: Command line warning: ignoring option '-M'; no argument required
3518 # The diagnosis changed in icc 8.0:
3519 # icc: Command line remark: option '-MP' not supported
3520 if (grep 'ignoring option' conftest.err ||
3521 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3522 am_cv_CC_dependencies_compiler_type=$depmode
3531 am_cv_CC_dependencies_compiler_type=none
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3536 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3537 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3540 test "x$enable_dependency_tracking" != xno \
3541 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3543 am__fastdepCC_FALSE='#'
3545 am__fastdepCC_TRUE='#'
3546 am__fastdepCC_FALSE=
3551 ac_cpp='$CPP $CPPFLAGS'
3552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3556 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3557 # On Suns, sometimes $CPP names a directory.
3558 if test -n "$CPP" && test -d "$CPP"; then
3561 if test -z "$CPP"; then
3562 if ${ac_cv_prog_CPP+:} false; then :
3563 $as_echo_n "(cached) " >&6
3565 # Double quotes because CPP needs to be expanded
3566 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3569 for ac_c_preproc_warn_flag in '' yes
3571 # Use a header file that comes with gcc, so configuring glibc
3572 # with a fresh cross-compiler works.
3573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3574 # <limits.h> exists even on freestanding compilers.
3575 # On the NeXT, cc -E runs the code through the compiler's parser,
3576 # not just through cpp. "Syntax error" is here to catch this case.
3577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3578 /* end confdefs.h. */
3580 # include <limits.h>
3582 # include <assert.h>
3586 if ac_fn_c_try_cpp "$LINENO"; then :
3589 # Broken: fails on valid input.
3592 rm -f conftest.err conftest.i conftest.$ac_ext
3594 # OK, works on sane cases. Now check whether nonexistent headers
3595 # can be detected and how.
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3598 #include <ac_nonexistent.h>
3600 if ac_fn_c_try_cpp "$LINENO"; then :
3601 # Broken: success on invalid input.
3604 # Passes both tests.
3608 rm -f conftest.err conftest.i conftest.$ac_ext
3611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3612 rm -f conftest.i conftest.err conftest.$ac_ext
3613 if $ac_preproc_ok; then :
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3626 $as_echo "$CPP" >&6; }
3628 for ac_c_preproc_warn_flag in '' yes
3630 # Use a header file that comes with gcc, so configuring glibc
3631 # with a fresh cross-compiler works.
3632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3633 # <limits.h> exists even on freestanding compilers.
3634 # On the NeXT, cc -E runs the code through the compiler's parser,
3635 # not just through cpp. "Syntax error" is here to catch this case.
3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637 /* end confdefs.h. */
3639 # include <limits.h>
3641 # include <assert.h>
3645 if ac_fn_c_try_cpp "$LINENO"; then :
3648 # Broken: fails on valid input.
3651 rm -f conftest.err conftest.i conftest.$ac_ext
3653 # OK, works on sane cases. Now check whether nonexistent headers
3654 # can be detected and how.
3655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656 /* end confdefs.h. */
3657 #include <ac_nonexistent.h>
3659 if ac_fn_c_try_cpp "$LINENO"; then :
3660 # Broken: success on invalid input.
3663 # Passes both tests.
3667 rm -f conftest.err conftest.i conftest.$ac_ext
3670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3671 rm -f conftest.i conftest.err conftest.$ac_ext
3672 if $ac_preproc_ok; then :
3675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3677 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3678 See \`config.log' for more details" "$LINENO" 5; }
3682 ac_cpp='$CPP $CPPFLAGS'
3683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3688 ac_cpp='$CXXCPP $CPPFLAGS'
3689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3692 if test -z "$CXX"; then
3693 if test -n "$CCC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if ${ac_cv_prog_CXX+:} false; then :
3704 $as_echo_n "(cached) " >&6
3706 if test -n "$CXX"; then
3707 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 test -z "$as_dir" && as_dir=.
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 if test -n "$CXX"; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3729 $as_echo "$CXX" >&6; }
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3736 test -n "$CXX" && break
3739 if test -z "$CXX"; then
3741 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3743 # Extract the first word of "$ac_prog", so it can be a program name with args.
3744 set dummy $ac_prog; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3748 $as_echo_n "(cached) " >&6
3750 if test -n "$ac_ct_CXX"; then
3751 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_ac_ct_CXX="$ac_prog"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3771 if test -n "$ac_ct_CXX"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3773 $as_echo "$ac_ct_CXX" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3780 test -n "$ac_ct_CXX" && break
3783 if test "x$ac_ct_CXX" = x; then
3786 case $cross_compiling:$ac_tool_warned in
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3790 ac_tool_warned=yes ;;
3798 # Provide some information about the compiler.
3799 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3802 for ac_option in --version -v -V -qversion; do
3803 { { ac_try="$ac_compiler $ac_option >&5"
3805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806 *) ac_try_echo=$ac_try;;
3808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3809 $as_echo "$ac_try_echo"; } >&5
3810 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3812 if test -s conftest.err; then
3814 ... rest of stderr output deleted ...
3815 10q' conftest.err >conftest.er1
3816 cat conftest.er1 >&5
3818 rm -f conftest.er1 conftest.err
3819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3820 test $ac_status = 0; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3824 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3825 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3826 $as_echo_n "(cached) " >&6
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3842 if ac_fn_cxx_try_compile "$LINENO"; then :
3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3848 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3852 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3853 if test $ac_compiler_gnu = yes; then
3858 ac_test_CXXFLAGS=${CXXFLAGS+set}
3859 ac_save_CXXFLAGS=$CXXFLAGS
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3861 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3862 if ${ac_cv_prog_cxx_g+:} false; then :
3863 $as_echo_n "(cached) " >&6
3865 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3866 ac_cxx_werror_flag=yes
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3880 if ac_fn_cxx_try_compile "$LINENO"; then :
3881 ac_cv_prog_cxx_g=yes
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3895 if ac_fn_cxx_try_compile "$LINENO"; then :
3898 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3911 if ac_fn_cxx_try_compile "$LINENO"; then :
3912 ac_cv_prog_cxx_g=yes
3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3919 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3922 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3923 if test "$ac_test_CXXFLAGS" = set; then
3924 CXXFLAGS=$ac_save_CXXFLAGS
3925 elif test $ac_cv_prog_cxx_g = yes; then
3926 if test "$GXX" = yes; then
3932 if test "$GXX" = yes; then
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944 depcc="$CXX" am_compiler_list=
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3947 $as_echo_n "checking dependency style of $depcc... " >&6; }
3948 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3949 $as_echo_n "(cached) " >&6
3951 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3952 # We make a subdir and do the tests there. Otherwise we can end up
3953 # making bogus files that we don't know about and never remove. For
3954 # instance it was reported that on HP-UX the gcc test will end up
3955 # making a dummy file named `D' -- because `-MD' means `put the output
3959 # Copy depcomp to subdir because otherwise we won't find it if we're
3960 # using a relative directory.
3961 cp "$am_depcomp" conftest.dir
3963 # We will build objects and dependencies in a subdirectory because
3964 # it helps to detect inapplicable dependency modes. For instance
3965 # both Tru64's cc and ICC support -MD to output dependencies as a
3966 # side effect of compilation, but ICC will put the dependencies in
3967 # the current directory while Tru64 will put them in the object
3971 am_cv_CXX_dependencies_compiler_type=none
3972 if test "$am_compiler_list" = ""; then
3973 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3976 case " $depcc " in #(
3977 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3980 for depmode in $am_compiler_list; do
3981 # Setup a source with many dependencies, because some compilers
3982 # like to wrap large dependency lists on column 80 (with \), and
3983 # we should not choose a depcomp mode which is confused by this.
3985 # We need to recreate these files for each test, as the compiler may
3986 # overwrite some of them when testing with obscure command lines.
3987 # This happens at least with the AIX C compiler.
3989 for i in 1 2 3 4 5 6; do
3990 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3991 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3992 # Solaris 8's {/usr,}/bin/sh.
3993 touch sub/conftst$i.h
3995 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3997 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3998 # mode. It turns out that the SunPro C++ compiler does not properly
3999 # handle `-M -o', and we need to detect this. Also, some Intel
4000 # versions had trouble with output in subdirs
4001 am__obj=sub/conftest.${OBJEXT-o}
4002 am__minus_obj="-o $am__obj"
4005 # This depmode causes a compiler race in universal mode.
4006 test "$am__universal" = false || continue
4009 # after this tag, mechanisms are not by side-effect, so they'll
4010 # only be used when explicitly requested
4011 if test "x$enable_dependency_tracking" = xyes; then
4017 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4018 # This compiler won't grok `-c -o', but also, the minuso test has
4019 # not run yet. These depmodes are late enough in the game, and
4020 # so weak that their functioning should not be impacted.
4021 am__obj=conftest.${OBJEXT-o}
4026 if depmode=$depmode \
4027 source=sub/conftest.c object=$am__obj \
4028 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4029 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4030 >/dev/null 2>conftest.err &&
4031 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4032 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4033 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4034 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4035 # icc doesn't choke on unknown options, it will just issue warnings
4036 # or remarks (even with -Werror). So we grep stderr for any message
4037 # that says an option was ignored or not supported.
4038 # When given -MP, icc 7.0 and 7.1 complain thusly:
4039 # icc: Command line warning: ignoring option '-M'; no argument required
4040 # The diagnosis changed in icc 8.0:
4041 # icc: Command line remark: option '-MP' not supported
4042 if (grep 'ignoring option' conftest.err ||
4043 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4044 am_cv_CXX_dependencies_compiler_type=$depmode
4053 am_cv_CXX_dependencies_compiler_type=none
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4058 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4059 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4062 test "x$enable_dependency_tracking" != xno \
4063 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4064 am__fastdepCXX_TRUE=
4065 am__fastdepCXX_FALSE='#'
4067 am__fastdepCXX_TRUE='#'
4068 am__fastdepCXX_FALSE=
4073 ac_cpp='$CXXCPP $CPPFLAGS'
4074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4078 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4079 if test -z "$CXXCPP"; then
4080 if ${ac_cv_prog_CXXCPP+:} false; then :
4081 $as_echo_n "(cached) " >&6
4083 # Double quotes because CXXCPP needs to be expanded
4084 for CXXCPP in "$CXX -E" "/lib/cpp"
4087 for ac_cxx_preproc_warn_flag in '' yes
4089 # Use a header file that comes with gcc, so configuring glibc
4090 # with a fresh cross-compiler works.
4091 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4092 # <limits.h> exists even on freestanding compilers.
4093 # On the NeXT, cc -E runs the code through the compiler's parser,
4094 # not just through cpp. "Syntax error" is here to catch this case.
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4098 # include <limits.h>
4100 # include <assert.h>
4104 if ac_fn_cxx_try_cpp "$LINENO"; then :
4107 # Broken: fails on valid input.
4110 rm -f conftest.err conftest.i conftest.$ac_ext
4112 # OK, works on sane cases. Now check whether nonexistent headers
4113 # can be detected and how.
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h. */
4116 #include <ac_nonexistent.h>
4118 if ac_fn_cxx_try_cpp "$LINENO"; then :
4119 # Broken: success on invalid input.
4122 # Passes both tests.
4126 rm -f conftest.err conftest.i conftest.$ac_ext
4129 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4130 rm -f conftest.i conftest.err conftest.$ac_ext
4131 if $ac_preproc_ok; then :
4136 ac_cv_prog_CXXCPP=$CXXCPP
4139 CXXCPP=$ac_cv_prog_CXXCPP
4141 ac_cv_prog_CXXCPP=$CXXCPP
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4144 $as_echo "$CXXCPP" >&6; }
4146 for ac_cxx_preproc_warn_flag in '' yes
4148 # Use a header file that comes with gcc, so configuring glibc
4149 # with a fresh cross-compiler works.
4150 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4151 # <limits.h> exists even on freestanding compilers.
4152 # On the NeXT, cc -E runs the code through the compiler's parser,
4153 # not just through cpp. "Syntax error" is here to catch this case.
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4157 # include <limits.h>
4159 # include <assert.h>
4163 if ac_fn_cxx_try_cpp "$LINENO"; then :
4166 # Broken: fails on valid input.
4169 rm -f conftest.err conftest.i conftest.$ac_ext
4171 # OK, works on sane cases. Now check whether nonexistent headers
4172 # can be detected and how.
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4175 #include <ac_nonexistent.h>
4177 if ac_fn_cxx_try_cpp "$LINENO"; then :
4178 # Broken: success on invalid input.
4181 # Passes both tests.
4185 rm -f conftest.err conftest.i conftest.$ac_ext
4188 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4189 rm -f conftest.i conftest.err conftest.$ac_ext
4190 if $ac_preproc_ok; then :
4193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4195 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
4196 See \`config.log' for more details" "$LINENO" 5; }
4200 ac_cpp='$CPP $CPPFLAGS'
4201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4206 if test -n "$ac_tool_prefix"; then
4207 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4208 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4210 $as_echo_n "checking for $ac_word... " >&6; }
4211 if ${ac_cv_prog_RANLIB+:} false; then :
4212 $as_echo_n "(cached) " >&6
4214 if test -n "$RANLIB"; then
4215 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221 test -z "$as_dir" && as_dir=.
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4224 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4234 RANLIB=$ac_cv_prog_RANLIB
4235 if test -n "$RANLIB"; then
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4237 $as_echo "$RANLIB" >&6; }
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4240 $as_echo "no" >&6; }
4245 if test -z "$ac_cv_prog_RANLIB"; then
4246 ac_ct_RANLIB=$RANLIB
4247 # Extract the first word of "ranlib", so it can be a program name with args.
4248 set dummy ranlib; ac_word=$2
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4250 $as_echo_n "checking for $ac_word... " >&6; }
4251 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4252 $as_echo_n "(cached) " >&6
4254 if test -n "$ac_ct_RANLIB"; then
4255 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4261 test -z "$as_dir" && as_dir=.
4262 for ac_exec_ext in '' $ac_executable_extensions; do
4263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4264 ac_cv_prog_ac_ct_RANLIB="ranlib"
4265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4274 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4275 if test -n "$ac_ct_RANLIB"; then
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4277 $as_echo "$ac_ct_RANLIB" >&6; }
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4280 $as_echo "no" >&6; }
4283 if test "x$ac_ct_RANLIB" = x; then
4286 case $cross_compiling:$ac_tool_warned in
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4290 ac_tool_warned=yes ;;
4292 RANLIB=$ac_ct_RANLIB
4295 RANLIB="$ac_cv_prog_RANLIB"
4301 if test -n "$ac_tool_prefix"; then
4302 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4303 set dummy ${ac_tool_prefix}windres; ac_word=$2
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4305 $as_echo_n "checking for $ac_word... " >&6; }
4306 if ${ac_cv_prog_WINDRES+:} false; then :
4307 $as_echo_n "(cached) " >&6
4309 if test -n "$WINDRES"; then
4310 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316 test -z "$as_dir" && as_dir=.
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4319 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 WINDRES=$ac_cv_prog_WINDRES
4330 if test -n "$WINDRES"; then
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
4332 $as_echo "$WINDRES" >&6; }
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4335 $as_echo "no" >&6; }
4340 if test -z "$ac_cv_prog_WINDRES"; then
4341 ac_ct_WINDRES=$WINDRES
4342 # Extract the first word of "windres", so it can be a program name with args.
4343 set dummy windres; ac_word=$2
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4345 $as_echo_n "checking for $ac_word... " >&6; }
4346 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
4347 $as_echo_n "(cached) " >&6
4349 if test -n "$ac_ct_WINDRES"; then
4350 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 test -z "$as_dir" && as_dir=.
4357 for ac_exec_ext in '' $ac_executable_extensions; do
4358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4359 ac_cv_prog_ac_ct_WINDRES="windres"
4360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4370 if test -n "$ac_ct_WINDRES"; then
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
4372 $as_echo "$ac_ct_WINDRES" >&6; }
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4375 $as_echo "no" >&6; }
4378 if test "x$ac_ct_WINDRES" = x; then
4381 case $cross_compiling:$ac_tool_warned in
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4385 ac_tool_warned=yes ;;
4387 WINDRES=$ac_ct_WINDRES
4390 WINDRES="$ac_cv_prog_WINDRES"
4395 CPPFLAGS="$CPPFLAGS -I/usr/pkg/include"
4403 # Check whether --with-wxdir was given.
4404 if test "${with_wxdir+set}" = set; then :
4405 withval=$with_wxdir; wx_config_name="$withval/wx-config"
4406 wx_config_args="--inplace"
4410 # Check whether --with-wx-config was given.
4411 if test "${with_wx_config+set}" = set; then :
4412 withval=$with_wx_config; wx_config_name="$withval"
4416 # Check whether --with-wx-prefix was given.
4417 if test "${with_wx_prefix+set}" = set; then :
4418 withval=$with_wx_prefix; wx_config_prefix="$withval"
4424 # Check whether --with-wx-exec-prefix was given.
4425 if test "${with_wx_exec_prefix+set}" = set; then :
4426 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
4428 wx_config_exec_prefix=""
4437 if test x${WX_CONFIG_NAME+set} != xset ; then
4438 WX_CONFIG_NAME=wx-config
4441 if test "x$wx_config_name" != x ; then
4442 WX_CONFIG_NAME="$wx_config_name"
4445 if test x$wx_config_exec_prefix != x ; then
4446 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
4447 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
4449 if test x$wx_config_prefix != x ; then
4450 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
4451 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
4453 if test "$cross_compiling" = "yes"; then
4454 wx_config_args="$wx_config_args --host=$host_alias"
4457 if test -x "$WX_CONFIG_NAME" ; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
4459 $as_echo_n "checking for wx-config... " >&6; }
4460 WX_CONFIG_PATH="$WX_CONFIG_NAME"
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4462 $as_echo "$WX_CONFIG_PATH" >&6; }
4464 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
4465 set dummy $WX_CONFIG_NAME; ac_word=$2
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4467 $as_echo_n "checking for $ac_word... " >&6; }
4468 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
4469 $as_echo_n "(cached) " >&6
4471 case $WX_CONFIG_PATH in
4473 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
4476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4477 as_dummy=""$WX_LOOKUP_PATH:$PATH""
4478 for as_dir in $as_dummy
4481 test -z "$as_dir" && as_dir=.
4482 for ac_exec_ext in '' $ac_executable_extensions; do
4483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4484 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
4485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
4496 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
4497 if test -n "$WX_CONFIG_PATH"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4499 $as_echo "$WX_CONFIG_PATH" >&6; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4508 if test "$WX_CONFIG_PATH" != "no" ; then
4511 min_wx_version=$reqwx
4512 if test -z "--unicode=no" ; then
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
4514 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version (--unicode=no)" >&5
4517 $as_echo_n "checking for wxWidgets version >= $min_wx_version (--unicode=no)... " >&6; }
4520 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args --unicode=no"
4522 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
4523 wx_config_major_version=`echo $WX_VERSION | \
4524 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4525 wx_config_minor_version=`echo $WX_VERSION | \
4526 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4527 wx_config_micro_version=`echo $WX_VERSION | \
4528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4530 wx_requested_major_version=`echo $min_wx_version | \
4531 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4532 wx_requested_minor_version=`echo $min_wx_version | \
4533 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4534 wx_requested_micro_version=`echo $min_wx_version | \
4535 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4539 if test "x$WX_VERSION" != x ; then
4540 if test $wx_config_major_version -gt $wx_requested_major_version; then
4543 if test $wx_config_major_version -eq $wx_requested_major_version; then
4544 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
4547 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
4548 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
4558 if test -n "$wx_ver_ok"; then
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
4560 $as_echo "yes (version $WX_VERSION)" >&6; }
4561 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
4564 $as_echo_n "checking for wxWidgets static library... " >&6; }
4565 WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
4566 if test "x$WX_LIBS_STATIC" = "x"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4571 $as_echo "yes" >&6; }
4575 if test $wx_config_major_version -gt 2; then
4578 if test $wx_config_major_version -eq 2; then
4579 if test $wx_config_minor_version -gt 2; then
4582 if test $wx_config_minor_version -eq 2; then
4583 if test $wx_config_micro_version -ge 6; then
4592 if test $wx_config_major_version -gt 2; then
4595 if test $wx_config_major_version -eq 2; then
4596 if test $wx_config_minor_version -ge 7; then
4601 if test "x$wx_has_rescomp" = x ; then
4604 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
4607 if test "x$wx_has_cppflags" = x ; then
4608 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4609 WX_CPPFLAGS=$WX_CFLAGS
4610 WX_CXXFLAGS=$WX_CFLAGS
4612 WX_CFLAGS_ONLY=$WX_CFLAGS
4613 WX_CXXFLAGS_ONLY=$WX_CFLAGS
4615 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
4616 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
4617 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4619 WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4620 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4627 if test "x$WX_VERSION" = x; then
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4629 $as_echo "no" >&6; }
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4632 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4642 if test ! -z "--unicode=no"; then
4645 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
4646 build with the following settings:
4648 but such build is not available.
4650 To see the wxWidgets builds available on this system, please use
4651 'wx-config --list' command. To use the default build, returned by
4652 'wx-config --selected-config', use the options with their 'auto'
4658 The requested wxWidgets build couldn't be found.
4661 If you still get this error, then check that 'wx-config' is
4662 in path, the directory where wxWidgets libraries are installed
4663 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
4664 or equivalent variable and wxWidgets version is $reqwx or above."
4666 as_fn_error $? "$wx_error_message" "$LINENO" 5
4692 WX_VERSION_MAJOR="$wx_config_major_version"
4693 WX_VERSION_MINOR="$wx_config_minor_version"
4694 WX_VERSION_MICRO="$wx_config_micro_version"
4704 if test x${WX_CONFIG_NAME+set} != xset ; then
4705 WX_CONFIG_NAME=wx-config
4708 if test "x$wx_config_name" != x ; then
4709 WX_CONFIG_NAME="$wx_config_name"
4712 if test x$wx_config_exec_prefix != x ; then
4713 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
4714 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
4716 if test x$wx_config_prefix != x ; then
4717 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
4718 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
4720 if test "$cross_compiling" = "yes"; then
4721 wx_config_args="$wx_config_args --host=$host_alias"
4724 if test -x "$WX_CONFIG_NAME" ; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
4726 $as_echo_n "checking for wx-config... " >&6; }
4727 WX_CONFIG_PATH="$WX_CONFIG_NAME"
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4729 $as_echo "$WX_CONFIG_PATH" >&6; }
4731 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
4732 set dummy $WX_CONFIG_NAME; ac_word=$2
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4734 $as_echo_n "checking for $ac_word... " >&6; }
4735 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
4736 $as_echo_n "(cached) " >&6
4738 case $WX_CONFIG_PATH in
4740 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
4743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744 as_dummy=""$WX_LOOKUP_PATH:$PATH""
4745 for as_dir in $as_dummy
4748 test -z "$as_dir" && as_dir=.
4749 for ac_exec_ext in '' $ac_executable_extensions; do
4750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4751 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
4752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4759 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
4763 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
4764 if test -n "$WX_CONFIG_PATH"; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
4766 $as_echo "$WX_CONFIG_PATH" >&6; }
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4775 if test "$WX_CONFIG_PATH" != "no" ; then
4778 min_wx_version=$reqwx
4779 if test -z "" ; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
4781 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
4784 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
4787 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
4789 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
4790 wx_config_major_version=`echo $WX_VERSION | \
4791 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4792 wx_config_minor_version=`echo $WX_VERSION | \
4793 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4794 wx_config_micro_version=`echo $WX_VERSION | \
4795 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4797 wx_requested_major_version=`echo $min_wx_version | \
4798 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4799 wx_requested_minor_version=`echo $min_wx_version | \
4800 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4801 wx_requested_micro_version=`echo $min_wx_version | \
4802 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4806 if test "x$WX_VERSION" != x ; then
4807 if test $wx_config_major_version -gt $wx_requested_major_version; then
4810 if test $wx_config_major_version -eq $wx_requested_major_version; then
4811 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
4814 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
4815 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
4825 if test -n "$wx_ver_ok"; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
4827 $as_echo "yes (version $WX_VERSION)" >&6; }
4828 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
4831 $as_echo_n "checking for wxWidgets static library... " >&6; }
4832 WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
4833 if test "x$WX_LIBS_STATIC" = "x"; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4838 $as_echo "yes" >&6; }
4842 if test $wx_config_major_version -gt 2; then
4845 if test $wx_config_major_version -eq 2; then
4846 if test $wx_config_minor_version -gt 2; then
4849 if test $wx_config_minor_version -eq 2; then
4850 if test $wx_config_micro_version -ge 6; then
4859 if test $wx_config_major_version -gt 2; then
4862 if test $wx_config_major_version -eq 2; then
4863 if test $wx_config_minor_version -ge 7; then
4868 if test "x$wx_has_rescomp" = x ; then
4871 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
4874 if test "x$wx_has_cppflags" = x ; then
4875 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4876 WX_CPPFLAGS=$WX_CFLAGS
4877 WX_CXXFLAGS=$WX_CFLAGS
4879 WX_CFLAGS_ONLY=$WX_CFLAGS
4880 WX_CXXFLAGS_ONLY=$WX_CFLAGS
4882 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
4883 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
4884 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
4886 WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4887 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4894 if test "x$WX_VERSION" = x; then
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 $as_echo "no" >&6; }
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4899 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4909 if test ! -z ""; then
4912 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
4913 build with the following settings:
4915 but such build is not available.
4917 To see the wxWidgets builds available on this system, please use
4918 'wx-config --list' command. To use the default build, returned by
4919 'wx-config --selected-config', use the options with their 'auto'
4925 The requested wxWidgets build couldn't be found.
4928 If you still get this error, then check that 'wx-config' is
4929 in path, the directory where wxWidgets libraries are installed
4930 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
4931 or equivalent variable and wxWidgets version is $reqwx or above."
4933 as_fn_error $? "$wx_error_message" "$LINENO" 5
4959 WX_VERSION_MAJOR="$wx_config_major_version"
4960 WX_VERSION_MINOR="$wx_config_minor_version"
4961 WX_VERSION_MICRO="$wx_config_micro_version"
4969 if test "$wxWidgets" != 1; then
4971 wxWidgets must be installed on your system.
4973 Please check that wx-config is in path, the directory
4974 where wxWidgets libraries are installed (returned by
4975 'wx-config --libs' or 'wx-config --static --libs' command)
4976 is in LD_LIBRARY_PATH or equivalent variable and
4977 wxWidgets version is $reqwx or above.
4981 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
4982 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
4983 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
4984 LIBS="$LIBS $WX_LIBS"
4988 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4989 if test -n "$ac_tool_prefix"; then
4990 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4991 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993 $as_echo_n "checking for $ac_word... " >&6; }
4994 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4995 $as_echo_n "(cached) " >&6
4999 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 test -z "$as_dir" && as_dir=.
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5009 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5020 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5021 if test -n "$PKG_CONFIG"; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5023 $as_echo "$PKG_CONFIG" >&6; }
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5031 if test -z "$ac_cv_path_PKG_CONFIG"; then
5032 ac_pt_PKG_CONFIG=$PKG_CONFIG
5033 # Extract the first word of "pkg-config", so it can be a program name with args.
5034 set dummy pkg-config; ac_word=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5038 $as_echo_n "(cached) " >&6
5040 case $ac_pt_PKG_CONFIG in
5042 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5063 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5064 if test -n "$ac_pt_PKG_CONFIG"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5066 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5072 if test "x$ac_pt_PKG_CONFIG" = x; then
5075 case $cross_compiling:$ac_tool_warned in
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5079 ac_tool_warned=yes ;;
5081 PKG_CONFIG=$ac_pt_PKG_CONFIG
5084 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5088 if test -n "$PKG_CONFIG"; then
5089 _pkg_min_version=0.9.0
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5091 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5092 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5094 $as_echo "yes" >&6; }
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
5105 $as_echo_n "checking for SNDFILE... " >&6; }
5107 if test -n "$PKG_CONFIG"; then
5108 if test -n "$SNDFILE_CFLAGS"; then
5109 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
5111 if test -n "$PKG_CONFIG" && \
5112 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5
5113 ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5
5115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5116 test $ac_status = 0; }; then
5117 pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile" 2>/dev/null`
5125 if test -n "$PKG_CONFIG"; then
5126 if test -n "$SNDFILE_LIBS"; then
5127 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
5129 if test -n "$PKG_CONFIG" && \
5130 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5
5131 ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5
5133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5134 test $ac_status = 0; }; then
5135 pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile" 2>/dev/null`
5146 if test $pkg_failed = yes; then
5148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5149 _pkg_short_errors_supported=yes
5151 _pkg_short_errors_supported=no
5153 if test $_pkg_short_errors_supported = yes; then
5154 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sndfile"`
5156 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sndfile"`
5158 # Put the nasty error message in config.log where it belongs
5159 echo "$SNDFILE_PKG_ERRORS" >&5
5161 as_fn_error $? "ShapeFusion requires libsndfile" "$LINENO" 5
5162 elif test $pkg_failed = untried; then
5163 as_fn_error $? "ShapeFusion requires libsndfile" "$LINENO" 5
5165 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
5166 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5168 $as_echo "yes" >&6; }
5170 CPPFLAGS="$SNDFILE_CFLAGS $CPPFLAGS"
5171 LIBS="$SNDFILE_LIBS $LIBS"
5180 make_windows=false ;;
5182 if test x$make_windows = xtrue; then
5184 MAKE_WINDOWS_FALSE='#'
5186 MAKE_WINDOWS_TRUE='#'
5191 ac_config_files="$ac_config_files Makefile Physics/Makefile Shapes/Makefile Sounds/Makefile"
5193 cat >confcache <<\_ACEOF
5194 # This file is a shell script that caches the results of configure
5195 # tests run on this system so they can be shared between configure
5196 # scripts and configure runs, see configure's option --config-cache.
5197 # It is not useful on other systems. If it contains results you don't
5198 # want to keep, you may remove or edit it.
5200 # config.status only pays attention to the cache file if you give it
5201 # the --recheck option to rerun configure.
5203 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5204 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5209 # The following way of writing the cache mishandles newlines in values,
5210 # but we know of no workaround that is simple, portable, and efficient.
5211 # So, we kill variables containing newlines.
5212 # Ultrix sh set writes to stderr and can't be redirected directly,
5213 # and sets the high bit in the cache file unless we assign to the vars.
5215 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5216 eval ac_val=\$$ac_var
5220 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5221 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5224 _ | IFS | as_nl) ;; #(
5225 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5226 *) { eval $ac_var=; unset $ac_var;} ;;
5232 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5233 *${as_nl}ac_space=\ *)
5234 # `set' does not quote correctly, so add quotes: double-quote
5235 # substitution turns \\\\ into \\, and sed turns \\ into \.
5238 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5241 # `set' quotes correctly as required by POSIX, so do not add quotes.
5242 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5251 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5253 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5255 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5256 if test -w "$cache_file"; then
5257 if test "x$cache_file" != "x/dev/null"; then
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5259 $as_echo "$as_me: updating cache $cache_file" >&6;}
5260 if test ! -f "$cache_file" || test -h "$cache_file"; then
5261 cat confcache >"$cache_file"
5263 case $cache_file in #(
5265 mv -f confcache "$cache_file"$$ &&
5266 mv -f "$cache_file"$$ "$cache_file" ;; #(
5268 mv -f confcache "$cache_file" ;;
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5274 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5279 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5280 # Let make expand exec_prefix.
5281 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5283 DEFS=-DHAVE_CONFIG_H
5288 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5289 # 1. Remove the extension, and $U if already installed.
5290 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5291 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5292 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5293 # will be set to the directory where LIBOBJS objects are built.
5294 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5295 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5299 LTLIBOBJS=$ac_ltlibobjs
5302 if test -n "$EXEEXT"; then
5304 am__EXEEXT_FALSE='#'
5310 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5311 as_fn_error $? "conditional \"AMDEP\" was never defined.
5312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5314 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5315 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5318 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5319 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
5320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5322 if test -z "${MAKE_WINDOWS_TRUE}" && test -z "${MAKE_WINDOWS_FALSE}"; then
5323 as_fn_error $? "conditional \"MAKE_WINDOWS\" was never defined.
5324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5327 : "${CONFIG_STATUS=./config.status}"
5329 ac_clean_files_save=$ac_clean_files
5330 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5332 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5334 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5336 # Generated by $as_me.
5337 # Run this file to recreate the current configuration.
5338 # Compiler output produced by configure, useful for debugging
5339 # configure, is in config.log if it exists.
5345 SHELL=\${CONFIG_SHELL-$SHELL}
5348 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5349 ## -------------------- ##
5350 ## M4sh Initialization. ##
5351 ## -------------------- ##
5353 # Be more Bourne compatible
5354 DUALCASE=1; export DUALCASE # for MKS sh
5355 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5358 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5359 # is contrary to our usage. Disable this feature.
5360 alias -g '${1+"$@"}'='"$@"'
5361 setopt NO_GLOB_SUBST
5363 case `(set -o) 2>/dev/null` in #(
5375 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5376 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5377 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5378 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5379 # Prefer a ksh shell builtin over an external printf program on Solaris,
5380 # but without wasting forks for bash or zsh.
5381 if test -z "$BASH_VERSION$ZSH_VERSION" \
5382 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5383 as_echo='print -r --'
5384 as_echo_n='print -rn --'
5385 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5386 as_echo='printf %s\n'
5387 as_echo_n='printf %s'
5389 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5390 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5391 as_echo_n='/usr/ucb/echo -n'
5393 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5394 as_echo_n_body='eval
5398 expr "X$arg" : "X\\(.*\\)$as_nl";
5399 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5401 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5403 export as_echo_n_body
5404 as_echo_n='sh -c $as_echo_n_body as_echo'
5407 as_echo='sh -c $as_echo_body as_echo'
5410 # The user is always right.
5411 if test "${PATH_SEPARATOR+set}" != set; then
5413 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5414 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5421 # We need space, tab and new line, in precisely that order. Quoting is
5422 # there to prevent editors from complaining about space-tab.
5423 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5424 # splitting by setting IFS to empty value.)
5427 # Find who we are. Look in the path if we contain no directory separator.
5430 *[\\/]* ) as_myself=$0 ;;
5431 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 test -z "$as_dir" && as_dir=.
5436 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5442 # We did not find ourselves, most probably we were run as `sh COMMAND'
5443 # in which case we are not to be found in the path.
5444 if test "x$as_myself" = x; then
5447 if test ! -f "$as_myself"; then
5448 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5452 # Unset variables that we do not need and which cause bugs (e.g. in
5453 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5454 # suppresses any "Segmentation fault" message there. '((' could
5455 # trigger a bug in pdksh 5.2.14.
5456 for as_var in BASH_ENV ENV MAIL MAILPATH
5457 do eval test x\${$as_var+set} = xset \
5458 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5471 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5474 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5475 # ----------------------------------------
5476 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5477 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5478 # script with STATUS, using 1 if that was 0.
5481 as_status=$1; test $as_status -eq 0 && as_status=1
5483 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5484 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5486 $as_echo "$as_me: error: $2" >&2
5487 as_fn_exit $as_status
5491 # as_fn_set_status STATUS
5492 # -----------------------
5493 # Set $? to STATUS, without forking.
5497 } # as_fn_set_status
5501 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5511 # Portably unset VAR.
5514 { eval $1=; unset $1;}
5516 as_unset=as_fn_unset
5517 # as_fn_append VAR VALUE
5518 # ----------------------
5519 # Append the text in VALUE to the end of the definition contained in VAR. Take
5520 # advantage of any shell optimizations that allow amortized linear growth over
5521 # repeated appends, instead of the typical quadratic growth present in naive
5523 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5524 eval 'as_fn_append ()
5535 # as_fn_arith ARG...
5536 # ------------------
5537 # Perform arithmetic evaluation on the ARGs, and store the result in the
5538 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5539 # must be portable across $(()) and expr.
5540 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5541 eval 'as_fn_arith ()
5548 as_val=`expr "$@" || test $? -eq 1`
5553 if expr a : '\(a\)' >/dev/null 2>&1 &&
5554 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5560 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5561 as_basename=basename
5566 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5572 as_me=`$as_basename -- "$0" ||
5573 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5574 X"$0" : 'X\(//\)$' \| \
5575 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5577 sed '/^.*\/\([^/][^/]*\)\/*$/{
5591 # Avoid depending upon Character Ranges.
5592 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5593 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5594 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5595 as_cr_digits='0123456789'
5596 as_cr_alnum=$as_cr_Letters$as_cr_digits
5598 ECHO_C= ECHO_N= ECHO_T=
5599 case `echo -n x` in #(((((
5601 case `echo 'xy\c'` in
5602 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5604 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5611 rm -f conf$$ conf$$.exe conf$$.file
5612 if test -d conf$$.dir; then
5613 rm -f conf$$.dir/conf$$.file
5616 mkdir conf$$.dir 2>/dev/null
5618 if (echo >conf$$.file) 2>/dev/null; then
5619 if ln -s conf$$.file conf$$ 2>/dev/null; then
5621 # ... but there are two gotchas:
5622 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5623 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5624 # In both cases, we have to default to `cp -p'.
5625 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5627 elif ln conf$$.file conf$$ 2>/dev/null; then
5635 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5636 rmdir conf$$.dir 2>/dev/null
5641 # Create "$as_dir" as a directory, including parents if necessary.
5646 -*) as_dir=./$as_dir;;
5648 test -d "$as_dir" || eval $as_mkdir_p || {
5652 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5653 *) as_qdir=$as_dir;;
5655 as_dirs="'$as_qdir' $as_dirs"
5656 as_dir=`$as_dirname -- "$as_dir" ||
5657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5658 X"$as_dir" : 'X\(//\)[^/]' \| \
5659 X"$as_dir" : 'X\(//\)$' \| \
5660 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5661 $as_echo X"$as_dir" |
5662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5679 test -d "$as_dir" && break
5681 test -z "$as_dirs" || eval "mkdir $as_dirs"
5682 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5686 if mkdir -p . 2>/dev/null; then
5687 as_mkdir_p='mkdir -p "$as_dir"'
5689 test -d ./-p && rmdir ./-p
5693 if test -x / >/dev/null 2>&1; then
5696 if ls -dL / >/dev/null 2>&1; then
5703 if test -d "$1"; then
5709 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5710 ???[sx]*):;;*)false;;esac;fi
5714 as_executable_p=$as_test_x
5716 # Sed expression to map a string onto a valid CPP name.
5717 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5719 # Sed expression to map a string onto a valid variable name.
5720 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5724 ## ----------------------------------- ##
5725 ## Main body of $CONFIG_STATUS script. ##
5726 ## ----------------------------------- ##
5728 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5731 # Save the log message, to keep $0 and so on meaningful, and to
5732 # report actual input values of CONFIG_FILES etc. instead of their
5733 # values after options handling.
5735 This file was extended by ShapeFusion $as_me 0.5, which was
5736 generated by GNU Autoconf 2.68. Invocation command line was
5738 CONFIG_FILES = $CONFIG_FILES
5739 CONFIG_HEADERS = $CONFIG_HEADERS
5740 CONFIG_LINKS = $CONFIG_LINKS
5741 CONFIG_COMMANDS = $CONFIG_COMMANDS
5744 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5749 case $ac_config_files in *"
5750 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5753 case $ac_config_headers in *"
5754 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5759 # Files that config.status was made for.
5760 config_files="$ac_config_files"
5761 config_headers="$ac_config_headers"
5762 config_commands="$ac_config_commands"
5766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5768 \`$as_me' instantiates files and other configuration actions
5769 from templates according to the current configuration. Unless the files
5770 and actions are specified as TAGs, all are instantiated by default.
5772 Usage: $0 [OPTION]... [TAG]...
5774 -h, --help print this help, then exit
5775 -V, --version print version number and configuration settings, then exit
5776 --config print configuration, then exit
5777 -q, --quiet, --silent
5778 do not print progress messages
5779 -d, --debug don't remove temporary files
5780 --recheck update $as_me by reconfiguring in the same conditions
5781 --file=FILE[:TEMPLATE]
5782 instantiate the configuration file FILE
5783 --header=FILE[:TEMPLATE]
5784 instantiate the configuration header FILE
5786 Configuration files:
5789 Configuration headers:
5792 Configuration commands:
5795 Report bugs to <http://sourceforge.net/bugs/?group_id=1997>."
5798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5799 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5801 ShapeFusion config.status 0.5
5802 configured by $0, generated by GNU Autoconf 2.68,
5803 with options \\"\$ac_cs_config\\"
5805 Copyright (C) 2010 Free Software Foundation, Inc.
5806 This config.status script is free software; the Free Software Foundation
5807 gives unlimited permission to copy, distribute and modify it."
5814 test -n "\$AWK" || AWK=awk
5817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5818 # The default lists apply if the user does not specify any file.
5824 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5825 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5829 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5841 # Handling of the options.
5842 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5844 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5845 $as_echo "$ac_cs_version"; exit ;;
5846 --config | --confi | --conf | --con | --co | --c )
5847 $as_echo "$ac_cs_config"; exit ;;
5848 --debug | --debu | --deb | --de | --d | -d )
5850 --file | --fil | --fi | --f )
5853 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5854 '') as_fn_error $? "missing file argument" ;;
5856 as_fn_append CONFIG_FILES " '$ac_optarg'"
5857 ac_need_defaults=false;;
5858 --header | --heade | --head | --hea )
5861 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5863 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5864 ac_need_defaults=false;;
5866 # Conflict between --help and --header
5867 as_fn_error $? "ambiguous option: \`$1'
5868 Try \`$0 --help' for more information.";;
5869 --help | --hel | -h )
5870 $as_echo "$ac_cs_usage"; exit ;;
5871 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5872 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5876 -*) as_fn_error $? "unrecognized option: \`$1'
5877 Try \`$0 --help' for more information." ;;
5879 *) as_fn_append ac_config_targets " $1"
5880 ac_need_defaults=false ;;
5886 ac_configure_extra_args=
5888 if $ac_cs_silent; then
5890 ac_configure_extra_args="$ac_configure_extra_args --silent"
5894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5895 if \$ac_cs_recheck; then
5896 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5898 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5899 CONFIG_SHELL='$SHELL'
5905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5909 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5910 ## Running $as_me. ##
5916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5920 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5926 # Handling of arguments.
5927 for ac_config_target in $ac_config_targets
5929 case $ac_config_target in
5930 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5931 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5932 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5933 "Physics/Makefile") CONFIG_FILES="$CONFIG_FILES Physics/Makefile" ;;
5934 "Shapes/Makefile") CONFIG_FILES="$CONFIG_FILES Shapes/Makefile" ;;
5935 "Sounds/Makefile") CONFIG_FILES="$CONFIG_FILES Sounds/Makefile" ;;
5937 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5942 # If the user did not use the arguments to specify the items to instantiate,
5943 # then the envvar interface is used. Set only those that are not.
5944 # We use the long form for the default assignment because of an extremely
5945 # bizarre bug on SunOS 4.1.3.
5946 if $ac_need_defaults; then
5947 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5948 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5949 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5952 # Have a temporary directory for convenience. Make it in the build tree
5953 # simply because there is no reason against having it here, and in addition,
5954 # creating and moving files from /tmp can sometimes cause problems.
5955 # Hook for its removal unless debugging.
5956 # Note that there is a small window in which the directory will not be cleaned:
5957 # after its creation but before its name has been assigned to `$tmp'.
5961 trap 'exit_status=$?
5963 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5965 trap 'as_fn_exit 1' 1 2 13 15
5967 # Create a (secure) tmp directory for tmp files.
5970 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5974 tmp=./conf$$-$RANDOM
5975 (umask 077 && mkdir "$tmp")
5976 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5979 # Set up the scripts for CONFIG_FILES section.
5980 # No need to generate them if there are no CONFIG_FILES.
5981 # This happens for instance with `./config.status config.h'.
5982 if test -n "$CONFIG_FILES"; then
5985 ac_cr=`echo X | tr X '\015'`
5986 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5987 # But we know of no other shell where ac_cr would be empty at this
5988 # point, so we can use a bashism as a fallback.
5989 if test "x$ac_cr" = x; then
5990 eval ac_cr=\$\'\\r\'
5992 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5993 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5999 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6004 echo "cat >conf$$subs.awk <<_ACEOF" &&
6005 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6008 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6009 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6011 for ac_last_try in false false false false false :; do
6012 . ./conf$$subs.sh ||
6013 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6015 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6016 if test $ac_delim_n = $ac_delim_num; then
6018 elif $ac_last_try; then
6019 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6021 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6027 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6031 s/^/S["/; s/!.*/"]=/
6041 s/\(.\{148\}\)..*/\1/
6043 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6048 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6055 s/\(.\{148\}\)..*/\1/
6057 s/["\\]/\\&/g; s/^/"/; s/$/"/
6061 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6066 ' <conf$$subs.awk | sed '
6071 ' >>$CONFIG_STATUS || ac_write_fail=1
6072 rm -f conf$$subs.awk
6073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6075 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6076 for (key in S) S_is_set[key] = 1
6082 nfields = split(line, field, "@")
6084 len = length(field[1])
6085 for (i = 2; i < nfields; i++) {
6087 keylen = length(key)
6088 if (S_is_set[key]) {
6090 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6091 len += length(value) + length(field[++i])
6102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6103 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6104 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6107 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6108 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6111 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6112 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6113 # trailing colons and then remove the whole line if VPATH becomes empty
6114 # (actually we leave an empty line to preserve line numbers).
6115 if test "x$srcdir" = x.; then
6116 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6135 fi # test -n "$CONFIG_FILES"
6137 # Set up the scripts for CONFIG_HEADERS section.
6138 # No need to generate them if there are no CONFIG_HEADERS.
6139 # This happens for instance with `./config.status Makefile'.
6140 if test -n "$CONFIG_HEADERS"; then
6141 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6145 # Transform confdefs.h into an awk script `defines.awk', embedded as
6146 # here-document in config.status, that substitutes the proper values into
6147 # config.h.in to produce config.h.
6149 # Create a delimiter string that does not exist in confdefs.h, to ease
6150 # handling of long lines.
6152 for ac_last_try in false false :; do
6153 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6154 if test -z "$ac_tt"; then
6156 elif $ac_last_try; then
6157 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6159 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6163 # For the awk script, D is an array of macro values keyed by name,
6164 # likewise P contains macro parameters if any. Preserve backslash
6165 # newline sequences.
6167 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6169 s/.\{148\}/&'"$ac_delim"'/g
6172 s/^[ ]*#[ ]*define[ ][ ]*/ /
6179 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6181 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6185 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6186 D["\1"]=" \3\\\\\\n"\\/p
6188 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6193 s/.\{148\}/&'"$ac_delim"'/g
6198 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6201 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6203 ' <confdefs.h | sed '
6204 s/'"$ac_delim"'/"\\\
6205 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6208 for (key in D) D_is_set[key] = 1
6211 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6213 split(line, arg, " ")
6214 if (arg[1] == "#") {
6218 defundef = substr(arg[1], 2)
6221 split(mac1, mac2, "(") #)
6223 prefix = substr(line, 1, index(line, defundef) - 1)
6224 if (D_is_set[macro]) {
6225 # Preserve the white space surrounding the "#".
6226 print prefix "define", macro P[macro] D[macro]
6229 # Replace #undef with comments. This is necessary, for example,
6230 # in the case of _POSIX_SOURCE, which is predefined and required
6231 # on some systems where configure will not decide to define it.
6232 if (defundef == "undef") {
6233 print "/*", prefix defundef, macro, "*/"
6241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6242 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6243 fi # test -n "$CONFIG_HEADERS"
6246 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6251 :[FHLC]) ac_mode=$ac_tag; continue;;
6253 case $ac_mode$ac_tag in
6255 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6256 :[FH]-) ac_tag=-:-;;
6257 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6274 -) ac_f="$ac_tmp/stdin";;
6275 *) # Look for the file first in the build tree, then in the source tree
6276 # (if the path is not absolute). The absolute path cannot be DOS-style,
6277 # because $ac_f cannot contain `:'.
6281 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6283 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6285 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6286 as_fn_append ac_file_inputs " '$ac_f'"
6289 # Let's still pretend it is `configure' which instantiates (i.e., don't
6290 # use $as_me), people would be surprised to read:
6291 # /* config.h. Generated by config.status. */
6292 configure_input='Generated from '`
6293 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6295 if test x"$ac_file" != x-; then
6296 configure_input="$ac_file. $configure_input"
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6298 $as_echo "$as_me: creating $ac_file" >&6;}
6300 # Neutralize special characters interpreted by sed in replacement strings.
6301 case $configure_input in #(
6302 *\&* | *\|* | *\\* )
6303 ac_sed_conf_input=`$as_echo "$configure_input" |
6304 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6305 *) ac_sed_conf_input=$configure_input;;
6309 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6310 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6315 ac_dir=`$as_dirname -- "$ac_file" ||
6316 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6317 X"$ac_file" : 'X\(//\)[^/]' \| \
6318 X"$ac_file" : 'X\(//\)$' \| \
6319 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6320 $as_echo X"$ac_file" |
6321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6338 as_dir="$ac_dir"; as_fn_mkdir_p
6342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6344 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6345 # A ".." for each directory in $ac_dir_suffix.
6346 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6347 case $ac_top_builddir_sub in
6348 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6349 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6352 ac_abs_top_builddir=$ac_pwd
6353 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6354 # for backward compatibility:
6355 ac_top_builddir=$ac_top_build_prefix
6358 .) # We are building in place.
6360 ac_top_srcdir=$ac_top_builddir_sub
6361 ac_abs_top_srcdir=$ac_pwd ;;
6362 [\\/]* | ?:[\\/]* ) # Absolute name.
6363 ac_srcdir=$srcdir$ac_dir_suffix;
6364 ac_top_srcdir=$srcdir
6365 ac_abs_top_srcdir=$srcdir ;;
6367 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6368 ac_top_srcdir=$ac_top_build_prefix$srcdir
6369 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6371 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6381 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6382 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6386 [\\/$]* | ?:[\\/]* ) ;;
6387 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6392 # If the template does not know about datarootdir, expand it.
6393 # FIXME: This hack should be removed a few years after 2.60.
6394 ac_datarootdir_hack=; ac_datarootdir_seen=
6405 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6406 *datarootdir*) ac_datarootdir_seen=yes;;
6407 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6409 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6412 ac_datarootdir_hack='
6413 s&@datadir@&$datadir&g
6414 s&@docdir@&$docdir&g
6415 s&@infodir@&$infodir&g
6416 s&@localedir@&$localedir&g
6417 s&@mandir@&$mandir&g
6418 s&\\\${datarootdir}&$datarootdir&g' ;;
6422 # Neutralize VPATH when `$srcdir' = `.'.
6423 # Shell code in configure.ac might set extrasub.
6424 # FIXME: do we really want to maintain this feature?
6425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6426 ac_sed_extra="$ac_vpsub
6429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6431 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6432 s|@configure_input@|$ac_sed_conf_input|;t t
6433 s&@top_builddir@&$ac_top_builddir_sub&;t t
6434 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6435 s&@srcdir@&$ac_srcdir&;t t
6436 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6437 s&@top_srcdir@&$ac_top_srcdir&;t t
6438 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6439 s&@builddir@&$ac_builddir&;t t
6440 s&@abs_builddir@&$ac_abs_builddir&;t t
6441 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6442 s&@INSTALL@&$ac_INSTALL&;t t
6443 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6444 $ac_datarootdir_hack
6446 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6447 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6449 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6450 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6451 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6452 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6454 which seems to be undefined. Please make sure it is defined" >&5
6455 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6456 which seems to be undefined. Please make sure it is defined" >&2;}
6458 rm -f "$ac_tmp/stdin"
6460 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6461 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6469 if test x"$ac_file" != x-; then
6471 $as_echo "/* $configure_input */" \
6472 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6473 } >"$ac_tmp/config.h" \
6474 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6475 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6477 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6480 mv "$ac_tmp/config.h" "$ac_file" \
6481 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6484 $as_echo "/* $configure_input */" \
6485 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6486 || as_fn_error $? "could not create -" "$LINENO" 5
6488 # Compute "$ac_file"'s index in $config_headers.
6491 for _am_header in $config_headers :; do
6493 $_am_arg | $_am_arg:* )
6496 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6499 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6500 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6501 X"$_am_arg" : 'X\(//\)[^/]' \| \
6502 X"$_am_arg" : 'X\(//\)$' \| \
6503 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6504 $as_echo X"$_am_arg" |
6505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6521 s/.*/./; q'`/stamp-h$_am_stamp_count
6524 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6525 $as_echo "$as_me: executing $ac_file commands" >&6;}
6530 case $ac_file$ac_mode in
6531 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6532 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6533 # are listed without --file. Let's play safe and only enable the eval
6534 # if we detect the quoting.
6535 case $CONFIG_FILES in
6536 *\'*) eval set x "$CONFIG_FILES" ;;
6537 *) set x $CONFIG_FILES ;;
6542 # Strip MF so we end up with the name of the file.
6543 mf=`echo "$mf" | sed -e 's/:.*$//'`
6544 # Check whether this is an Automake generated Makefile or not.
6545 # We used to match only the files named `Makefile.in', but
6546 # some people rename them; so instead we look at the file content.
6547 # Grep'ing the first line is not enough: some people post-process
6548 # each Makefile.in and add a new line on top of each file to say so.
6549 # Grep'ing the whole file is not good either: AIX grep has a line
6550 # limit of 2048, but all sed's we know have understand at least 4000.
6551 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6552 dirpart=`$as_dirname -- "$mf" ||
6553 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6554 X"$mf" : 'X\(//\)[^/]' \| \
6555 X"$mf" : 'X\(//\)$' \| \
6556 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6578 # Extract the definition of DEPDIR, am__include, and am__quote
6579 # from the Makefile without running `make'.
6580 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6581 test -z "$DEPDIR" && continue
6582 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6583 test -z "am__include" && continue
6584 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6585 # When using ansi2knr, U may be empty or an underscore; expand it
6586 U=`sed -n 's/^U = //p' < "$mf"`
6587 # Find all dependency output files, they are included files with
6588 # $(DEPDIR) in their names. We invoke sed twice because it is the
6589 # simplest approach to changing $(DEPDIR) to its actual value in the
6591 for file in `sed -n "
6592 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6593 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6594 # Make sure the directory exists.
6595 test -f "$dirpart/$file" && continue
6596 fdir=`$as_dirname -- "$file" ||
6597 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6598 X"$file" : 'X\(//\)[^/]' \| \
6599 X"$file" : 'X\(//\)$' \| \
6600 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6619 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6620 # echo "creating $dirpart/$file"
6621 echo '# dummy' > "$dirpart/$file"
6633 ac_clean_files=$ac_clean_files_save
6635 test $ac_write_fail = 0 ||
6636 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6639 # configure is writing to config.log, and then calls config.status.
6640 # config.status does its own redirection, appending to config.log.
6641 # Unfortunately, on DOS this fails, as config.log is still kept open
6642 # by configure, so config.status won't be able to write to it; its
6643 # output is simply discarded. So we exec the FD to /dev/null,
6644 # effectively closing config.log, so it can be properly (re)opened and
6645 # appended to by config.status. When coming back to configure, we
6646 # need to make the FD available again.
6647 if test "$no_create" != yes; then
6649 ac_config_status_args=
6650 test "$silent" = yes &&
6651 ac_config_status_args="$ac_config_status_args --quiet"
6653 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6655 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6656 # would make configure fail if this is the last instruction.
6657 $ac_cs_success || as_fn_exit 1
6659 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6661 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6665 echo "Configuration done. Now type \"make\"."