2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for sample 1.0d.
5
# Report bugs to <jmwille@sandia.gov>.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
42
# The user is always right.
43
if test "${PATH_SEPARATOR+set}" != set; then
44
echo "#! /bin/sh" >conf$$.sh
45
echo "exit 0" >>conf$$.sh
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64
# We need space, tab and new line, in precisely that order. Quoting is
65
# there to prevent editors from complaining about space-tab.
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
# splitting by setting IFS to empty value.)
72
# Find who we are. Look in the path if we contain no directory separator.
74
*[\\/]* ) as_myself=$0 ;;
75
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79
test -z "$as_dir" && as_dir=.
80
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
87
# in which case we are not to be found in the path.
88
if test "x$as_myself" = x; then
91
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96
# Work around bugs in pre-3.0 UWIN ksh.
97
for as_var in ENV MAIL MAILPATH
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132
# Name of the executable.
133
as_me=`$as_basename -- "$0" ||
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
X"$0" : 'X\(//\)$' \| \
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
217
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
test -z "$as_dir" && as_dir=.
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238
for as_shell in $as_candidate_shells $SHELL; do
239
# Try only shells that exist, to save several forks.
240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
332
test "x$as_lineno_1" != "x$as_lineno_2" &&
333
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344
if test "x$CONFIG_SHELL" != x; then
345
for as_var in BASH_ENV ENV
346
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353
if test $as_have_required = no; then
354
echo This script requires a shell more modern than all the
355
echo shells that I found on your system. Please install a
356
echo modern shell, or manually run the script under such a
357
echo shell if you do have one.
358
{ (exit 1); exit 1; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
416
test \$exitcode = 0") || {
417
echo No shell found that supports shell functions.
418
echo Please tell autoconf@gnu.org about your system,
419
echo including any error possibly output before this
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
# uniformly replaced by the line number. The first 'sed' inserts a
432
# line-number line after each line using $LINENO; the second 'sed'
433
# does the real work. The second script uses 'N' to pair each
434
# line-number line with the line containing $LINENO, and appends
435
# trailing '-' during substitution so that $LINENO is not a special
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455
chmod +x "$as_me.lineno" ||
456
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
{ (exit 1); exit 1; }; }
459
# Don't try to exec as it changes $[0], causing all sort of problems
460
# (the dirname of $[0] is not the place where we might find the
461
# original and so on. Autoconf is especially sensitive to this).
463
# Exit status is that of the last command.
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
502
# ... but there are two gotchas:
503
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
# In both cases, we have to default to `cp -p'.
506
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508
elif ln conf$$.file conf$$ 2>/dev/null; then
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
516
if mkdir -p . 2>/dev/null; then
519
test -d ./-p && rmdir ./-p
523
if test -x / >/dev/null 2>&1; then
526
if ls -dL / >/dev/null 2>&1; then
533
if test -d "$1"; then
539
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
???[sx]*):;;*)false;;esac;fi
544
as_executable_p=$as_test_x
546
# Sed expression to map a string onto a valid CPP name.
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
# Sed expression to map a string onto a valid variable name.
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
exec 7<&0 </dev/null 6>&1
557
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558
# so uname gets run too.
559
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
ac_default_prefix=/usr/local
566
ac_config_libobj_dir=.
572
SHELL=${CONFIG_SHELL-/bin/sh}
574
# Identity of this package.
575
PACKAGE_NAME='sample'
576
PACKAGE_TARNAME='sample'
577
PACKAGE_VERSION='1.0d'
578
PACKAGE_STRING='sample 1.0d'
579
PACKAGE_BUGREPORT='jmwille@sandia.gov'
590
program_transform_name
619
MAINTAINER_MODE_FALSE
647
INSTALL_STRIP_PROGRAM
659
ac_precious_vars='build_alias
664
# Initialize some variables set by options.
666
ac_init_version=false
667
# The variables have the same names as the options, with
668
# dashes changed to underlines.
676
program_transform_name=s,x,x,
684
# Installation directory options.
685
# These are left unexpanded so users can "make install exec_prefix=/foo"
686
# and all the variables that are supposed to be based on exec_prefix
687
# by default will actually change.
688
# Use braces instead of parens because sh, perl, etc. also accept them.
689
# (The list follows the same order as the GNU Coding Standards.)
690
bindir='${exec_prefix}/bin'
691
sbindir='${exec_prefix}/sbin'
692
libexecdir='${exec_prefix}/libexec'
693
datarootdir='${prefix}/share'
694
datadir='${datarootdir}'
695
sysconfdir='${prefix}/etc'
696
sharedstatedir='${prefix}/com'
697
localstatedir='${prefix}/var'
698
includedir='${prefix}/include'
699
oldincludedir='/usr/include'
700
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
701
infodir='${datarootdir}/info'
706
libdir='${exec_prefix}/lib'
707
localedir='${datarootdir}/locale'
708
mandir='${datarootdir}/man'
714
# If the previous option needs an argument, assign it.
715
if test -n "$ac_prev"; then
716
eval $ac_prev=\$ac_option
722
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
726
# Accept the important Cygnus configure options, so we can diagnose typos.
728
case $ac_dashdash$ac_option in
732
-bindir | --bindir | --bindi | --bind | --bin | --bi)
734
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
737
-build | --build | --buil | --bui | --bu)
738
ac_prev=build_alias ;;
739
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
740
build_alias=$ac_optarg ;;
742
-cache-file | --cache-file | --cache-fil | --cache-fi \
743
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
744
ac_prev=cache_file ;;
745
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
746
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
747
cache_file=$ac_optarg ;;
750
cache_file=config.cache ;;
752
-datadir | --datadir | --datadi | --datad)
754
-datadir=* | --datadir=* | --datadi=* | --datad=*)
755
datadir=$ac_optarg ;;
757
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
758
| --dataroo | --dataro | --datar)
759
ac_prev=datarootdir ;;
760
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
761
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
762
datarootdir=$ac_optarg ;;
764
-disable-* | --disable-*)
765
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
766
# Reject names that are not valid shell variable names.
767
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
768
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
769
{ (exit 1); exit 1; }; }
770
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
771
eval enable_$ac_feature=no ;;
773
-docdir | --docdir | --docdi | --doc | --do)
775
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
778
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
780
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
783
-enable-* | --enable-*)
784
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
785
# Reject names that are not valid shell variable names.
786
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
787
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
788
{ (exit 1); exit 1; }; }
789
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
790
eval enable_$ac_feature=\$ac_optarg ;;
792
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
793
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
794
| --exec | --exe | --ex)
795
ac_prev=exec_prefix ;;
796
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
797
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
798
| --exec=* | --exe=* | --ex=*)
799
exec_prefix=$ac_optarg ;;
801
-gas | --gas | --ga | --g)
802
# Obsolete; use --with-gas.
805
-help | --help | --hel | --he | -h)
807
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
808
ac_init_help=recursive ;;
809
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
810
ac_init_help=short ;;
812
-host | --host | --hos | --ho)
813
ac_prev=host_alias ;;
814
-host=* | --host=* | --hos=* | --ho=*)
815
host_alias=$ac_optarg ;;
817
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
819
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
821
htmldir=$ac_optarg ;;
823
-includedir | --includedir | --includedi | --included | --include \
824
| --includ | --inclu | --incl | --inc)
825
ac_prev=includedir ;;
826
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
827
| --includ=* | --inclu=* | --incl=* | --inc=*)
828
includedir=$ac_optarg ;;
830
-infodir | --infodir | --infodi | --infod | --info | --inf)
832
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
833
infodir=$ac_optarg ;;
835
-libdir | --libdir | --libdi | --libd)
837
-libdir=* | --libdir=* | --libdi=* | --libd=*)
840
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
841
| --libexe | --libex | --libe)
842
ac_prev=libexecdir ;;
843
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
844
| --libexe=* | --libex=* | --libe=*)
845
libexecdir=$ac_optarg ;;
847
-localedir | --localedir | --localedi | --localed | --locale)
849
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
850
localedir=$ac_optarg ;;
852
-localstatedir | --localstatedir | --localstatedi | --localstated \
853
| --localstate | --localstat | --localsta | --localst | --locals)
854
ac_prev=localstatedir ;;
855
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
856
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
857
localstatedir=$ac_optarg ;;
859
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
861
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
865
# Obsolete; use --without-fp.
868
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
869
| --no-cr | --no-c | -n)
872
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
873
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
876
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
877
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
878
| --oldin | --oldi | --old | --ol | --o)
879
ac_prev=oldincludedir ;;
880
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
881
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
882
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
883
oldincludedir=$ac_optarg ;;
885
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
887
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
890
-program-prefix | --program-prefix | --program-prefi | --program-pref \
891
| --program-pre | --program-pr | --program-p)
892
ac_prev=program_prefix ;;
893
-program-prefix=* | --program-prefix=* | --program-prefi=* \
894
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
895
program_prefix=$ac_optarg ;;
897
-program-suffix | --program-suffix | --program-suffi | --program-suff \
898
| --program-suf | --program-su | --program-s)
899
ac_prev=program_suffix ;;
900
-program-suffix=* | --program-suffix=* | --program-suffi=* \
901
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
902
program_suffix=$ac_optarg ;;
904
-program-transform-name | --program-transform-name \
905
| --program-transform-nam | --program-transform-na \
906
| --program-transform-n | --program-transform- \
907
| --program-transform | --program-transfor \
908
| --program-transfo | --program-transf \
909
| --program-trans | --program-tran \
910
| --progr-tra | --program-tr | --program-t)
911
ac_prev=program_transform_name ;;
912
-program-transform-name=* | --program-transform-name=* \
913
| --program-transform-nam=* | --program-transform-na=* \
914
| --program-transform-n=* | --program-transform-=* \
915
| --program-transform=* | --program-transfor=* \
916
| --program-transfo=* | --program-transf=* \
917
| --program-trans=* | --program-tran=* \
918
| --progr-tra=* | --program-tr=* | --program-t=*)
919
program_transform_name=$ac_optarg ;;
921
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
923
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
926
-psdir | --psdir | --psdi | --psd | --ps)
928
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
931
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
932
| -silent | --silent | --silen | --sile | --sil)
935
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
937
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
939
sbindir=$ac_optarg ;;
941
-sharedstatedir | --sharedstatedir | --sharedstatedi \
942
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
943
| --sharedst | --shareds | --shared | --share | --shar \
945
ac_prev=sharedstatedir ;;
946
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
947
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
948
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
950
sharedstatedir=$ac_optarg ;;
952
-site | --site | --sit)
954
-site=* | --site=* | --sit=*)
957
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
959
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
962
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
963
| --syscon | --sysco | --sysc | --sys | --sy)
964
ac_prev=sysconfdir ;;
965
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
966
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
967
sysconfdir=$ac_optarg ;;
969
-target | --target | --targe | --targ | --tar | --ta | --t)
970
ac_prev=target_alias ;;
971
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
972
target_alias=$ac_optarg ;;
974
-v | -verbose | --verbose | --verbos | --verbo | --verb)
977
-version | --version | --versio | --versi | --vers | -V)
981
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
982
# Reject names that are not valid shell variable names.
983
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
984
{ echo "$as_me: error: invalid package name: $ac_package" >&2
985
{ (exit 1); exit 1; }; }
986
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
987
eval with_$ac_package=\$ac_optarg ;;
989
-without-* | --without-*)
990
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
991
# Reject names that are not valid shell variable names.
992
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
993
{ echo "$as_me: error: invalid package name: $ac_package" >&2
994
{ (exit 1); exit 1; }; }
995
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
996
eval with_$ac_package=no ;;
999
# Obsolete; use --with-x.
1002
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1003
| --x-incl | --x-inc | --x-in | --x-i)
1004
ac_prev=x_includes ;;
1005
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1006
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1007
x_includes=$ac_optarg ;;
1009
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1010
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1011
ac_prev=x_libraries ;;
1012
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1013
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1014
x_libraries=$ac_optarg ;;
1016
-*) { echo "$as_me: error: unrecognized option: $ac_option
1017
Try \`$0 --help' for more information." >&2
1018
{ (exit 1); exit 1; }; }
1022
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1023
# Reject names that are not valid shell variable names.
1024
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1025
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1026
{ (exit 1); exit 1; }; }
1027
eval $ac_envvar=\$ac_optarg
1028
export $ac_envvar ;;
1031
# FIXME: should be removed in autoconf 3.0.
1032
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1033
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1034
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1035
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1041
if test -n "$ac_prev"; then
1042
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1043
{ echo "$as_me: error: missing argument to $ac_option" >&2
1044
{ (exit 1); exit 1; }; }
1047
# Be sure to have absolute directory names.
1048
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1049
datadir sysconfdir sharedstatedir localstatedir includedir \
1050
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1051
libdir localedir mandir
1053
eval ac_val=\$$ac_var
1055
[\\/$]* | ?:[\\/]* ) continue;;
1056
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1058
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1059
{ (exit 1); exit 1; }; }
1062
# There might be people who depend on the old broken behavior: `$host'
1063
# used to hold the argument of --host etc.
1064
# FIXME: To remove some day.
1067
target=$target_alias
1069
# FIXME: To remove some day.
1070
if test "x$host_alias" != x; then
1071
if test "x$build_alias" = x; then
1072
cross_compiling=maybe
1073
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1074
If a cross compiler is detected then cross compile mode will be used." >&2
1075
elif test "x$build_alias" != "x$host_alias"; then
1081
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1083
test "$silent" = yes && exec 6>/dev/null
1086
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1087
ac_ls_di=`ls -di .` &&
1088
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1089
{ echo "$as_me: error: Working directory cannot be determined" >&2
1090
{ (exit 1); exit 1; }; }
1091
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1092
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1093
{ (exit 1); exit 1; }; }
1096
# Find the source files, if location was not specified.
1097
if test -z "$srcdir"; then
1098
ac_srcdir_defaulted=yes
1099
# Try the directory containing this script, then the parent directory.
1100
ac_confdir=`$as_dirname -- "$0" ||
1101
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1102
X"$0" : 'X\(//\)[^/]' \| \
1103
X"$0" : 'X\(//\)$' \| \
1104
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1106
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1124
if test ! -r "$srcdir/$ac_unique_file"; then
1128
ac_srcdir_defaulted=no
1130
if test ! -r "$srcdir/$ac_unique_file"; then
1131
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1132
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1133
{ (exit 1); exit 1; }; }
1135
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1137
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1138
{ (exit 1); exit 1; }; }
1140
# When building in place, set srcdir=.
1141
if test "$ac_abs_confdir" = "$ac_pwd"; then
1144
# Remove unnecessary trailing slashes from srcdir.
1145
# Double slashes in file names in object file debugging info
1146
# mess up M-x gdb in Emacs.
1148
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1150
for ac_var in $ac_precious_vars; do
1151
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1152
eval ac_env_${ac_var}_value=\$${ac_var}
1153
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1154
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1158
# Report the --help message.
1160
if test "$ac_init_help" = "long"; then
1161
# Omit some internal or obsolete options to make the list less imposing.
1162
# This message is too long to be a string in the A/UX 3.1 sh.
1164
\`configure' configures sample 1.0d to adapt to many kinds of systems.
1166
Usage: $0 [OPTION]... [VAR=VALUE]...
1168
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1169
VAR=VALUE. See below for descriptions of some of the useful variables.
1171
Defaults for the options are specified in brackets.
1174
-h, --help display this help and exit
1175
--help=short display options specific to this package
1176
--help=recursive display the short help of all the included packages
1177
-V, --version display version information and exit
1178
-q, --quiet, --silent do not print \`checking...' messages
1179
--cache-file=FILE cache test results in FILE [disabled]
1180
-C, --config-cache alias for \`--cache-file=config.cache'
1181
-n, --no-create do not create output files
1182
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1184
Installation directories:
1185
--prefix=PREFIX install architecture-independent files in PREFIX
1186
[$ac_default_prefix]
1187
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1190
By default, \`make install' will install all the files in
1191
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1192
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1193
for instance \`--prefix=\$HOME'.
1195
For better control, use the options below.
1197
Fine tuning of the installation directories:
1198
--bindir=DIR user executables [EPREFIX/bin]
1199
--sbindir=DIR system admin executables [EPREFIX/sbin]
1200
--libexecdir=DIR program executables [EPREFIX/libexec]
1201
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1202
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1203
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1204
--libdir=DIR object code libraries [EPREFIX/lib]
1205
--includedir=DIR C header files [PREFIX/include]
1206
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1207
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1208
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1209
--infodir=DIR info documentation [DATAROOTDIR/info]
1210
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1211
--mandir=DIR man documentation [DATAROOTDIR/man]
1212
--docdir=DIR documentation root [DATAROOTDIR/doc/sample]
1213
--htmldir=DIR html documentation [DOCDIR]
1214
--dvidir=DIR dvi documentation [DOCDIR]
1215
--pdfdir=DIR pdf documentation [DOCDIR]
1216
--psdir=DIR ps documentation [DOCDIR]
1222
--program-prefix=PREFIX prepend PREFIX to installed program names
1223
--program-suffix=SUFFIX append SUFFIX to installed program names
1224
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1227
--build=BUILD configure for building on BUILD [guessed]
1228
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1229
--target=TARGET configure for building compilers for TARGET [HOST]
1233
if test -n "$ac_init_help"; then
1234
case $ac_init_help in
1235
short | recursive ) echo "Configuration of sample 1.0d:";;
1240
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1241
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1242
--enable-maintainer-mode enable make rules and dependencies not useful
1243
(and sometimes confusing) to the casual installer
1246
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1247
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1248
--with-install=INSTALL_PROGRAM
1249
Use the installation program INSTALL_PROGRAM rather
1250
the default that is provided. For example
1251
--with-install="/path/install -p"
1253
Report bugs to <jmwille@sandia.gov>.
1258
if test "$ac_init_help" = "recursive"; then
1259
# If there are subdirs, report their specific --help.
1260
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1261
test -d "$ac_dir" || continue
1265
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1267
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1268
# A ".." for each directory in $ac_dir_suffix.
1269
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1270
case $ac_top_builddir_sub in
1271
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1272
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1275
ac_abs_top_builddir=$ac_pwd
1276
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1277
# for backward compatibility:
1278
ac_top_builddir=$ac_top_build_prefix
1281
.) # We are building in place.
1283
ac_top_srcdir=$ac_top_builddir_sub
1284
ac_abs_top_srcdir=$ac_pwd ;;
1285
[\\/]* | ?:[\\/]* ) # Absolute name.
1286
ac_srcdir=$srcdir$ac_dir_suffix;
1287
ac_top_srcdir=$srcdir
1288
ac_abs_top_srcdir=$srcdir ;;
1290
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1291
ac_top_srcdir=$ac_top_build_prefix$srcdir
1292
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1294
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1296
cd "$ac_dir" || { ac_status=$?; continue; }
1297
# Check for guested configure.
1298
if test -f "$ac_srcdir/configure.gnu"; then
1300
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1301
elif test -f "$ac_srcdir/configure"; then
1303
$SHELL "$ac_srcdir/configure" --help=recursive
1305
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1307
cd "$ac_pwd" || { ac_status=$?; break; }
1311
test -n "$ac_init_help" && exit $ac_status
1312
if $ac_init_version; then
1314
sample configure 1.0d
1315
generated by GNU Autoconf 2.61
1317
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1318
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1319
This configure script is free software; the Free Software Foundation
1320
gives unlimited permission to copy, distribute and modify it.
1324
cat >config.log <<_ACEOF
1325
This file contains any messages produced by compilers while
1326
running configure, to aid debugging if configure makes a mistake.
1328
It was created by sample $as_me 1.0d, which was
1329
generated by GNU Autoconf 2.61. Invocation command line was
1341
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1342
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1343
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1344
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1345
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1347
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1348
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1350
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1351
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1352
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1353
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1354
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1355
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1356
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1360
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1364
test -z "$as_dir" && as_dir=.
1365
echo "PATH: $as_dir"
1381
# Keep a trace of the command line.
1382
# Strip out --no-create and --no-recursion so they do not pile up.
1383
# Strip out --silent because we don't want to record it for future runs.
1384
# Also quote any args containing shell meta-characters.
1385
# Make two passes to allow for proper duplicate-argument suppression.
1389
ac_must_keep_next=false
1395
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1396
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1397
| -silent | --silent | --silen | --sile | --sil)
1400
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1403
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1405
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1406
if test $ac_must_keep_next = true; then
1407
ac_must_keep_next=false # Got value, back to normal.
1410
*=* | --config-cache | -C | -disable-* | --disable-* \
1411
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1412
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1413
| -with-* | --with-* | -without-* | --without-* | --x)
1414
case "$ac_configure_args0 " in
1415
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1418
-* ) ac_must_keep_next=true ;;
1421
ac_configure_args="$ac_configure_args '$ac_arg'"
1426
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1427
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1429
# When interrupted or exit'd, cleanup temporary files, and complete
1430
# config.log. We remove comments because anyway the quotes in there
1431
# would cause problems or look ugly.
1432
# WARNING: Use '\'' to represent an apostrophe within the trap.
1433
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1434
trap 'exit_status=$?
1435
# Save into config.log some information that might help in debugging.
1440
## ---------------- ##
1441
## Cache variables. ##
1442
## ---------------- ##
1445
# The following way of writing the cache mishandles newlines in values,
1447
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1448
eval ac_val=\$$ac_var
1452
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1453
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1456
_ | IFS | as_nl) ;; #(
1457
*) $as_unset $ac_var ;;
1462
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1463
*${as_nl}ac_space=\ *)
1465
"s/'\''/'\''\\\\'\'''\''/g;
1466
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1469
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1477
## ----------------- ##
1478
## Output variables. ##
1479
## ----------------- ##
1482
for ac_var in $ac_subst_vars
1484
eval ac_val=\$$ac_var
1486
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1488
echo "$ac_var='\''$ac_val'\''"
1492
if test -n "$ac_subst_files"; then
1494
## ------------------- ##
1495
## File substitutions. ##
1496
## ------------------- ##
1499
for ac_var in $ac_subst_files
1501
eval ac_val=\$$ac_var
1503
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1505
echo "$ac_var='\''$ac_val'\''"
1510
if test -s confdefs.h; then
1520
test "$ac_signal" != 0 &&
1521
echo "$as_me: caught signal $ac_signal"
1522
echo "$as_me: exit $exit_status"
1524
rm -f core *.core core.conftest.* &&
1525
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1528
for ac_signal in 1 2 13 15; do
1529
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1533
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1534
rm -f -r conftest* confdefs.h
1536
# Predefined preprocessor variables.
1538
cat >>confdefs.h <<_ACEOF
1539
#define PACKAGE_NAME "$PACKAGE_NAME"
1543
cat >>confdefs.h <<_ACEOF
1544
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1548
cat >>confdefs.h <<_ACEOF
1549
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1553
cat >>confdefs.h <<_ACEOF
1554
#define PACKAGE_STRING "$PACKAGE_STRING"
1558
cat >>confdefs.h <<_ACEOF
1559
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1563
# Let the site file select an alternate cache file if it wants to.
1564
# Prefer explicitly selected file to automatically selected ones.
1565
if test -n "$CONFIG_SITE"; then
1566
set x "$CONFIG_SITE"
1567
elif test "x$prefix" != xNONE; then
1568
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1570
set x "$ac_default_prefix/share/config.site" \
1571
"$ac_default_prefix/etc/config.site"
1576
if test -r "$ac_site_file"; then
1577
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1578
echo "$as_me: loading site script $ac_site_file" >&6;}
1579
sed 's/^/| /' "$ac_site_file" >&5
1584
if test -r "$cache_file"; then
1585
# Some versions of bash will fail to source /dev/null (special
1586
# files actually), so we avoid doing that.
1587
if test -f "$cache_file"; then
1588
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1589
echo "$as_me: loading cache $cache_file" >&6;}
1591
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1592
*) . "./$cache_file";;
1596
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1597
echo "$as_me: creating cache $cache_file" >&6;}
1601
# Check that the precious variables saved in the cache have kept the same
1603
ac_cache_corrupted=false
1604
for ac_var in $ac_precious_vars; do
1605
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1606
eval ac_new_set=\$ac_env_${ac_var}_set
1607
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1608
eval ac_new_val=\$ac_env_${ac_var}_value
1609
case $ac_old_set,$ac_new_set in
1611
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1612
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1613
ac_cache_corrupted=: ;;
1615
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1616
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1617
ac_cache_corrupted=: ;;
1620
if test "x$ac_old_val" != "x$ac_new_val"; then
1621
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1622
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1623
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1624
echo "$as_me: former value: $ac_old_val" >&2;}
1625
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1626
echo "$as_me: current value: $ac_new_val" >&2;}
1627
ac_cache_corrupted=:
1630
# Pass precious variables to config.status.
1631
if test "$ac_new_set" = set; then
1633
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1634
*) ac_arg=$ac_var=$ac_new_val ;;
1636
case " $ac_configure_args " in
1637
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1638
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1642
if $ac_cache_corrupted; then
1643
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1644
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1645
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1646
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1647
{ (exit 1); exit 1; }; }
1675
ac_cpp='$CPP $CPPFLAGS'
1676
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1677
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1678
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1682
echo "----------------------------------------"
1683
echo "Running sample Configure Script"
1684
echo "----------------------------------------"
1686
# This is to protect against accidentally specifying the wrong
1687
# directory with --srcdir. Any file in that directory will do,
1688
# preferably one that is unlikely to be removed or renamed.
1690
# #auto np# - file name below
1691
#AC_CONFIG_SRCDIR([src/Newp_Hello.cpp])
1693
# Specify directory for auxillary build tools (e.g., install-sh,
1694
# config.sub, config.guess) and M4 files.
1697
# #np# This a a subdirectory of Trilinos/packages/new_package that contains
1698
# #np# a number of useful m4 files. Any package that uses these m4 files
1699
# #np# will have to add them to the repository. The m4 files perform various
1700
# #np# common checks and set common variable values to minimize redundant work.
1703
for ac_dir in config "$srcdir"/config; do
1704
if test -f "$ac_dir/install-sh"; then
1706
ac_install_sh="$ac_aux_dir/install-sh -c"
1708
elif test -f "$ac_dir/install.sh"; then
1710
ac_install_sh="$ac_aux_dir/install.sh -c"
1712
elif test -f "$ac_dir/shtool"; then
1714
ac_install_sh="$ac_aux_dir/shtool install -c"
1718
if test -z "$ac_aux_dir"; then
1719
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1720
echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1721
{ (exit 1); exit 1; }; }
1724
# These three variables are undocumented and unsupported,
1725
# and are intended to be withdrawn in a future Autoconf release.
1726
# They can cause serious problems if a builder's source tree is in a directory
1727
# whose full name contains unusual characters.
1728
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1729
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1730
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1733
# #auto np# - Change file names in next line
1734
# Configure should create src/New_Package_config.h from src/New_Package_config.h.in
1736
#AM_CONFIG_HEADER(src/New_Package_config.h:src/New_Package_config.h.in)
1738
# Allow users to specify their own "install" command. If none is specified,
1739
# the default is install-sh found in the config subdirectory.
1742
# Check whether --with-install was given.
1743
if test "${with_install+set}" = set; then
1744
withval=$with_install;
1746
INSTALL_PROGRAM=$withval
1747
INSTALL_SCRIPT=$withval
1748
INSTALL_DATA="$withval -m 644"
1753
# AM_MAINTAINER_MODE turns off maintainer-only makefile targets by
1754
# default, and changes configure to understand a
1755
# --enable-maintainer-mode option. --enable-maintainer-mode turns the
1756
# maintainer-only targets back on. The maintainer-only makefile
1757
# targets permit end users to clean automatically-generated files such
1758
# as configure, which means they have to have autoconf and automake
1759
# installed to repair the damage. AM_MAINTAINER_MODE makes it a bit
1760
# harder for users to shoot themselves in the foot.
1762
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1763
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
1764
# Check whether --enable-maintainer-mode was given.
1765
if test "${enable_maintainer_mode+set}" = set; then
1766
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1768
USE_MAINTAINER_MODE=no
1771
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1772
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1773
if test $USE_MAINTAINER_MODE = yes; then
1774
MAINTAINER_MODE_TRUE=
1775
MAINTAINER_MODE_FALSE='#'
1777
MAINTAINER_MODE_TRUE='#'
1778
MAINTAINER_MODE_FALSE=
1781
MAINT=$MAINTAINER_MODE_TRUE
1785
# Define $build, $host, $target, etc
1787
# Make sure we can run config.sub.
1788
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1789
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1790
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1791
{ (exit 1); exit 1; }; }
1793
{ echo "$as_me:$LINENO: checking build system type" >&5
1794
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1795
if test "${ac_cv_build+set}" = set; then
1796
echo $ECHO_N "(cached) $ECHO_C" >&6
1798
ac_build_alias=$build_alias
1799
test "x$ac_build_alias" = x &&
1800
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1801
test "x$ac_build_alias" = x &&
1802
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1803
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1804
{ (exit 1); exit 1; }; }
1805
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1806
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1807
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1808
{ (exit 1); exit 1; }; }
1811
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1812
echo "${ECHO_T}$ac_cv_build" >&6; }
1813
case $ac_cv_build in
1815
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1816
echo "$as_me: error: invalid value of canonical build" >&2;}
1817
{ (exit 1); exit 1; }; };;
1820
ac_save_IFS=$IFS; IFS='-'
1826
# Remember, the first character of IFS is used to create $*,
1827
# except with old shells:
1830
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1833
{ echo "$as_me:$LINENO: checking host system type" >&5
1834
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1835
if test "${ac_cv_host+set}" = set; then
1836
echo $ECHO_N "(cached) $ECHO_C" >&6
1838
if test "x$host_alias" = x; then
1839
ac_cv_host=$ac_cv_build
1841
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1842
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1843
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1844
{ (exit 1); exit 1; }; }
1848
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1849
echo "${ECHO_T}$ac_cv_host" >&6; }
1852
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1853
echo "$as_me: error: invalid value of canonical host" >&2;}
1854
{ (exit 1); exit 1; }; };;
1857
ac_save_IFS=$IFS; IFS='-'
1863
# Remember, the first character of IFS is used to create $*,
1864
# except with old shells:
1867
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1870
{ echo "$as_me:$LINENO: checking target system type" >&5
1871
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1872
if test "${ac_cv_target+set}" = set; then
1873
echo $ECHO_N "(cached) $ECHO_C" >&6
1875
if test "x$target_alias" = x; then
1876
ac_cv_target=$ac_cv_host
1878
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1879
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1880
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1881
{ (exit 1); exit 1; }; }
1885
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1886
echo "${ECHO_T}$ac_cv_target" >&6; }
1887
case $ac_cv_target in
1889
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1890
echo "$as_me: error: invalid value of canonical target" >&2;}
1891
{ (exit 1); exit 1; }; };;
1893
target=$ac_cv_target
1894
ac_save_IFS=$IFS; IFS='-'
1900
# Remember, the first character of IFS is used to create $*,
1901
# except with old shells:
1904
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1907
# The aliases save the names the user supplied, while $host etc.
1908
# will get canonicalized.
1909
test -n "$target_alias" &&
1910
test "$program_prefix$program_suffix$program_transform_name" = \
1912
program_prefix=${target_alias}-
1916
# - Required version of automake.
1917
am__api_version='1.10'
1919
# Find a good install program. We prefer a C program (faster),
1920
# so one script is as good as another. But avoid the broken or
1921
# incompatible versions:
1922
# SysV /etc/install, /usr/sbin/install
1923
# SunOS /usr/etc/install
1924
# IRIX /sbin/install
1926
# AmigaOS /C/install, which installs bootblocks on floppy discs
1927
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1928
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1929
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1930
# OS/2's system install, which has a completely different semantic
1931
# ./install, which can be erroneously created by make from ./install.sh.
1932
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1933
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1934
if test -z "$INSTALL"; then
1935
if test "${ac_cv_path_install+set}" = set; then
1936
echo $ECHO_N "(cached) $ECHO_C" >&6
1938
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942
test -z "$as_dir" && as_dir=.
1943
# Account for people who put trailing slashes in PATH elements.
1945
./ | .// | /cC/* | \
1946
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1947
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1950
# OSF1 and SCO ODT 3.0 have their own names for install.
1951
# Don't use installbsd from OSF since it installs stuff as root
1953
for ac_prog in ginstall scoinst install; do
1954
for ac_exec_ext in '' $ac_executable_extensions; do
1955
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1956
if test $ac_prog = install &&
1957
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1958
# AIX install. It has an incompatible calling convention.
1960
elif test $ac_prog = install &&
1961
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1962
# program-specific install script used by HP pwplus--don't use.
1965
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1978
if test "${ac_cv_path_install+set}" = set; then
1979
INSTALL=$ac_cv_path_install
1981
# As a last resort, use the slow shell script. Don't cache a
1982
# value for INSTALL within a source directory, because that will
1983
# break other packages using the cache if that directory is
1984
# removed, or if the value is a relative name.
1985
INSTALL=$ac_install_sh
1988
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1989
echo "${ECHO_T}$INSTALL" >&6; }
1991
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1992
# It thinks the first close brace ends the variable substitution.
1993
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1995
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1997
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1999
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2000
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2003
echo timestamp > conftest.file
2004
# Do `set' in a subshell so we don't clobber the current shell's
2005
# arguments. Must try -L first in case configure is actually a
2006
# symlink; some systems play weird games with the mod time of symlinks
2007
# (eg FreeBSD returns the mod time of the symlink's containing
2010
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2011
if test "$*" = "X"; then
2013
set X `ls -t $srcdir/configure conftest.file`
2016
if test "$*" != "X $srcdir/configure conftest.file" \
2017
&& test "$*" != "X conftest.file $srcdir/configure"; then
2019
# If neither matched, then we have a broken ls. This can happen
2020
# if, for instance, CONFIG_SHELL is bash and it inherits a
2021
# broken ls alias from the environment. This has actually
2022
# happened. Such a system could not be considered "sane".
2023
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2024
alias in your environment" >&5
2025
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2026
alias in your environment" >&2;}
2027
{ (exit 1); exit 1; }; }
2030
test "$2" = conftest.file
2036
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2037
Check your system clock" >&5
2038
echo "$as_me: error: newly created file is older than distributed files!
2039
Check your system clock" >&2;}
2040
{ (exit 1); exit 1; }; }
2042
{ echo "$as_me:$LINENO: result: yes" >&5
2043
echo "${ECHO_T}yes" >&6; }
2044
test "$program_prefix" != NONE &&
2045
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2046
# Use a double $ so make ignores it.
2047
test "$program_suffix" != NONE &&
2048
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2049
# Double any \ or $. echo might interpret backslashes.
2050
# By default was `s,x,x', remove it if useless.
2051
cat <<\_ACEOF >conftest.sed
2052
s/[\\$]/&&/g;s/;s,x,x,$//
2054
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2057
# expand $ac_aux_dir to an absolute path
2058
am_aux_dir=`cd $ac_aux_dir && pwd`
2060
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2061
# Use eval to expand $SHELL
2062
if eval "$MISSING --run true"; then
2063
am_missing_run="$MISSING --run "
2066
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2067
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2070
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2071
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2072
if test -z "$MKDIR_P"; then
2073
if test "${ac_cv_path_mkdir+set}" = set; then
2074
echo $ECHO_N "(cached) $ECHO_C" >&6
2076
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2080
test -z "$as_dir" && as_dir=.
2081
for ac_prog in mkdir gmkdir; do
2082
for ac_exec_ext in '' $ac_executable_extensions; do
2083
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2084
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2085
'mkdir (GNU coreutils) '* | \
2086
'mkdir (coreutils) '* | \
2087
'mkdir (fileutils) '4.1*)
2088
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2098
if test "${ac_cv_path_mkdir+set}" = set; then
2099
MKDIR_P="$ac_cv_path_mkdir -p"
2101
# As a last resort, use the slow shell script. Don't cache a
2102
# value for MKDIR_P within a source directory, because that will
2103
# break other packages using the cache if that directory is
2104
# removed, or if the value is a relative name.
2105
test -d ./--version && rmdir ./--version
2106
MKDIR_P="$ac_install_sh -d"
2109
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2110
echo "${ECHO_T}$MKDIR_P" >&6; }
2114
[\\/$]* | ?:[\\/]*) ;;
2115
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2118
for ac_prog in gawk mawk nawk awk
2120
# Extract the first word of "$ac_prog", so it can be a program name with args.
2121
set dummy $ac_prog; ac_word=$2
2122
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2123
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2124
if test "${ac_cv_prog_AWK+set}" = set; then
2125
echo $ECHO_N "(cached) $ECHO_C" >&6
2127
if test -n "$AWK"; then
2128
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134
test -z "$as_dir" && as_dir=.
2135
for ac_exec_ext in '' $ac_executable_extensions; do
2136
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2137
ac_cv_prog_AWK="$ac_prog"
2138
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2148
if test -n "$AWK"; then
2149
{ echo "$as_me:$LINENO: result: $AWK" >&5
2150
echo "${ECHO_T}$AWK" >&6; }
2152
{ echo "$as_me:$LINENO: result: no" >&5
2153
echo "${ECHO_T}no" >&6; }
2157
test -n "$AWK" && break
2160
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2161
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2162
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2163
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2164
echo $ECHO_N "(cached) $ECHO_C" >&6
2166
cat >conftest.make <<\_ACEOF
2169
@echo '@@@%%%=$(MAKE)=@@@%%%'
2171
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2172
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2174
eval ac_cv_prog_make_${ac_make}_set=yes;;
2176
eval ac_cv_prog_make_${ac_make}_set=no;;
2180
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2181
{ echo "$as_me:$LINENO: result: yes" >&5
2182
echo "${ECHO_T}yes" >&6; }
2185
{ echo "$as_me:$LINENO: result: no" >&5
2186
echo "${ECHO_T}no" >&6; }
2187
SET_MAKE="MAKE=${MAKE-make}"
2190
rm -rf .tst 2>/dev/null
2191
mkdir .tst 2>/dev/null
2192
if test -d .tst; then
2197
rmdir .tst 2>/dev/null
2199
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2200
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2201
# is not polluted with repeated "-I."
2202
am__isrc=' -I$(srcdir)'
2203
# test to see if srcdir already configured
2204
if test -f $srcdir/config.status; then
2205
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2206
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2207
{ (exit 1); exit 1; }; }
2211
# test whether we have cygpath
2212
if test -z "$CYGPATH_W"; then
2213
if (cygpath --version) >/dev/null 2>/dev/null; then
2214
CYGPATH_W='cygpath -w'
2221
# Define the identity of the package.
2226
# Some tools Automake needs.
2228
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2231
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2234
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2237
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2240
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2242
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2244
# Installed binaries are usually stripped using `strip' when the user
2245
# run `make install-strip'. However `strip' might not be the right
2246
# tool to use in cross-compilation environments, therefore Automake
2247
# will honor the `STRIP' environment variable to overrule this program.
2248
if test "$cross_compiling" != no; then
2249
if test -n "$ac_tool_prefix"; then
2250
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2251
set dummy ${ac_tool_prefix}strip; ac_word=$2
2252
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2253
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2254
if test "${ac_cv_prog_STRIP+set}" = set; then
2255
echo $ECHO_N "(cached) $ECHO_C" >&6
2257
if test -n "$STRIP"; then
2258
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2260
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264
test -z "$as_dir" && as_dir=.
2265
for ac_exec_ext in '' $ac_executable_extensions; do
2266
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2267
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2268
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277
STRIP=$ac_cv_prog_STRIP
2278
if test -n "$STRIP"; then
2279
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2280
echo "${ECHO_T}$STRIP" >&6; }
2282
{ echo "$as_me:$LINENO: result: no" >&5
2283
echo "${ECHO_T}no" >&6; }
2288
if test -z "$ac_cv_prog_STRIP"; then
2290
# Extract the first word of "strip", so it can be a program name with args.
2291
set dummy strip; ac_word=$2
2292
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2293
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2294
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2295
echo $ECHO_N "(cached) $ECHO_C" >&6
2297
if test -n "$ac_ct_STRIP"; then
2298
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2300
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304
test -z "$as_dir" && as_dir=.
2305
for ac_exec_ext in '' $ac_executable_extensions; do
2306
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307
ac_cv_prog_ac_ct_STRIP="strip"
2308
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2318
if test -n "$ac_ct_STRIP"; then
2319
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2320
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2322
{ echo "$as_me:$LINENO: result: no" >&5
2323
echo "${ECHO_T}no" >&6; }
2326
if test "x$ac_ct_STRIP" = x; then
2329
case $cross_compiling:$ac_tool_warned in
2331
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2332
whose name does not start with the host triplet. If you think this
2333
configuration is useful to you, please write to autoconf@gnu.org." >&5
2334
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2335
whose name does not start with the host triplet. If you think this
2336
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2337
ac_tool_warned=yes ;;
2342
STRIP="$ac_cv_prog_STRIP"
2346
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2348
# We need awk for the "check" target. The system "awk" is bad on
2350
# Always define AMTAR for backward compatibility.
2352
AMTAR=${AMTAR-"${am_missing_run}tar"}
2355
{ echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2356
echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6; }
2357
# Loop over all known methods to create a tar archive until one works.
2358
_am_tools='gnutar plaintar pax cpio none'
2359
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2360
# Do not fold the above two line into one, because Tru64 sh and
2361
# Solaris sh will not grok spaces in the rhs of `-'.
2362
for _am_tool in $_am_tools
2366
for _am_tar in tar gnutar gtar;
2368
{ echo "$as_me:$LINENO: $_am_tar --version" >&5
2369
($_am_tar --version) >&5 2>&5
2371
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372
(exit $ac_status); } && break
2374
am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2375
am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2376
am__untar="$_am_tar -xf -"
2379
# Must skip GNU tar: if it does not support --format= it doesn't create
2380
# ustar tarball either.
2381
(tar --version) >/dev/null 2>&1 && continue
2382
am__tar='tar chf - "$$tardir"'
2383
am__tar_='tar chf - "$tardir"'
2384
am__untar='tar xf -'
2387
am__tar='pax -L -x ustar -w "$$tardir"'
2388
am__tar_='pax -L -x ustar -w "$tardir"'
2392
am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2393
am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2394
am__untar='cpio -i -H ustar -d'
2403
# If the value was cached, stop now. We just wanted to have am__tar
2404
# and am__untar set.
2405
test -n "${am_cv_prog_tar_ustar}" && break
2407
# tar/untar a dummy directory, and stop if the command works
2410
echo GrepMe > conftest.dir/file
2411
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2412
(tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2414
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415
(exit $ac_status); }
2417
if test -s conftest.tar; then
2418
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2419
($am__untar <conftest.tar) >&5 2>&5
2421
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422
(exit $ac_status); }
2423
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2428
if test "${am_cv_prog_tar_ustar+set}" = set; then
2429
echo $ECHO_N "(cached) $ECHO_C" >&6
2431
am_cv_prog_tar_ustar=$_am_tool
2434
{ echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2435
echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6; }
2442
# Specify required version of autoconf.
2446
# ------------------------------------------------------------------------
2447
# Checks for programs
2448
# ------------------------------------------------------------------------
2451
#AC_PROG_CXX(CC g++ gcc c++ cxx)
2452
#AC_PROG_F77(f77 g77 f90 xlf90)
2455
# ------------------------------------------------------------------------
2456
# Checks for extra flags
2457
# #np# - You can pull flag checks for languages not used in package. Please
2458
# note that if you use F77_FUNC to determine Fortran name mangling,
2459
# you should not remove the Fortran compiler check or the check for
2460
# Fortran flags. Doing so will prevent the detection of the proper
2461
# name mangling in some cases.
2462
# ------------------------------------------------------------------------
2463
# Check if --with-flags present, prepend any specs to FLAGS
2465
#TAC_ARG_WITH_FLAGS(ccflags, CCFLAGS)
2466
#TAC_ARG_WITH_FLAGS(cxxflags, CXXFLAGS)
2467
#TAC_ARG_WITH_FLAGS(cflags, CFLAGS)
2468
#TAC_ARG_WITH_FLAGS(fflags, FFLAGS)
2470
#TAC_ARG_WITH_FLAGS(ldflags, LDFLAGS)
2472
# ------------------------------------------------------------------------
2473
# Alternate archiver
2474
# ------------------------------------------------------------------------
2478
# ------------------------------------------------------------------------
2479
# Checks for header files - used in Epetra_ConfigDefs.h
2480
# ------------------------------------------------------------------------
2482
#AC_CHECK_HEADERS([cstdlib stdlib.h], [break],)
2484
#if test "X$ac_cv_header_cstdlib" != "Xyes" && test "X$ac_cv_header_stdlib_h" != "Xyes"; then
2485
# AC_MSG_ERROR([[Cannot find cstdlib or stdlib.h. New_Package requires at least one or the other.]])
2488
# Checks for typedefs, structures, and compiler characteristics.
2491
# ------------------------------------------------------------------------
2492
# Checks for compiler characteristics - Epetra_ConfigDefs.h uses these,
2493
# so it makes sense to leave them in - see PORTABILITY in this directory
2494
# ------------------------------------------------------------------------
2499
# ---------------------------------------------------------------------
2500
# These are pretty obscure
2501
# ---------------------------------------------------------------------
2502
#AC_CXX_NEW_FOR_SCOPING
2503
#AC_CXX_STD_IOS_BASE_FMTFLAGS
2506
# ------------------------------------------------------------------------
2507
# Checks for Makefile.export related systems
2508
# ------------------------------------------------------------------------
2509
#TAC_ARG_ENABLE_EXPORT_MAKEFILES(yes)
2511
# ------------------------------------------------------------------------
2512
# Checks if tests and examples should be built
2513
# ------------------------------------------------------------------------
2515
# #np# - These options can disable the tests and examples of a package.
2516
# #np# - Packages that do not have tests or examples should #-out the
2517
# #np# - option(s) that does (do) not apply.
2519
#TAC_ARG_ENABLE_FEATURE(tests, [Make tests for all Trilinos packages buildable with 'make tests'], TESTS, yes)
2520
#TAC_ARG_ENABLE_FEATURE_SUB_CHECK( new_package, tests, [Make New_Package tests buildable with 'make tests'], NEW_PACKAGE_TESTS)
2521
#AM_CONDITIONAL(BUILD_TESTS, test "X$ac_cv_use_new_package_tests" != "Xno")
2523
#TAC_ARG_ENABLE_FEATURE(examples, [Make examples for all Trilinos packages buildable with 'make examples'], EXAMPLES, yes)
2524
#TAC_ARG_ENABLE_FEATURE_SUB_CHECK( new_package, examples, [Make New_Package examples buildable with 'make examples'], NEW_PACKAGE_EXAMPLES)
2526
#We now build tests and examples through separate make targets, rather than
2527
#during "make". We still need to conditionally include the test and example
2528
#in SUBDIRS, even though SUB_TEST and SUB_EXAMPLE will never be
2529
#defined, so that the tests and examples are included in the distribution
2531
#AM_CONDITIONAL(SUB_TEST, test "X$ac_cv_use_sub_test" = "Xyes")
2532
#AM_CONDITIONAL(SUB_EXAMPLE, test "X$ac_cv_use_sub_example" = "Xyes")
2534
# #np# - Yet another opportunity to remove code if you aren't
2536
# Define F77_FUNC that will be used to link with Fortran subroutines.
2539
# ------------------------------------------------------------------------
2540
# Checks for libraries
2541
# ------------------------------------------------------------------------
2543
# #np# These lines can be removed if the math lib is not needed.
2544
#AC_SEARCH_LIBS(pow,[m],,AC_MSG_ERROR(Cannot find math library))
2545
#AC_SEARCH_LIBS(sqrt,[m],,AC_MSG_ERROR(Cannot find math library))
2548
# end of the list of libraries that don't need to be checked for if
2549
# tests and examples are disabled.
2551
# ------------------------------------------------------------------------
2552
# Checks for linker characteristics
2553
# ------------------------------------------------------------------------
2555
# Determine libraries needed for linking with Fortran
2556
#AC_F77_LIBRARY_LDFLAGS
2558
# ------------------------------------------------------------------------
2559
# Perform substitutions in output files
2560
# ------------------------------------------------------------------------
2564
# ------------------------------------------------------------------------
2566
# ------------------------------------------------------------------------
2568
ac_config_files="$ac_config_files Makefile"
2571
cat >confcache <<\_ACEOF
2572
# This file is a shell script that caches the results of configure
2573
# tests run on this system so they can be shared between configure
2574
# scripts and configure runs, see configure's option --config-cache.
2575
# It is not useful on other systems. If it contains results you don't
2576
# want to keep, you may remove or edit it.
2578
# config.status only pays attention to the cache file if you give it
2579
# the --recheck option to rerun configure.
2581
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2582
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2587
# The following way of writing the cache mishandles newlines in values,
2588
# but we know of no workaround that is simple, portable, and efficient.
2589
# So, we kill variables containing newlines.
2590
# Ultrix sh set writes to stderr and can't be redirected directly,
2591
# and sets the high bit in the cache file unless we assign to the vars.
2593
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2594
eval ac_val=\$$ac_var
2598
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2599
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2602
_ | IFS | as_nl) ;; #(
2603
*) $as_unset $ac_var ;;
2609
case $as_nl`(ac_space=' '; set) 2>&1` in #(
2610
*${as_nl}ac_space=\ *)
2611
# `set' does not quote correctly, so add quotes (double-quote
2612
# substitution turns \\\\ into \\, and sed turns \\ into \).
2615
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2618
# `set' quotes correctly as required by POSIX, so do not add quotes.
2619
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2628
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2630
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2632
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2633
if test -w "$cache_file"; then
2634
test "x$cache_file" != "x/dev/null" &&
2635
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
2636
echo "$as_me: updating cache $cache_file" >&6;}
2637
cat confcache >$cache_file
2639
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2640
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2645
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2646
# Let make expand exec_prefix.
2647
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2649
# Transform confdefs.h into DEFS.
2650
# Protect against shell expansion while executing Makefile rules.
2651
# Protect against Makefile macro expansion.
2653
# If the first sed substitution is executed (which looks for macros that
2654
# take arguments), then branch to the quote section. Otherwise,
2655
# look for a macro that doesn't take arguments.
2659
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2661
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2665
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2678
DEFS=`sed -n "$ac_script" confdefs.h`
2683
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2684
# 1. Remove the extension, and $U if already installed.
2685
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2686
ac_i=`echo "$ac_i" | sed "$ac_script"`
2687
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2688
# will be set to the directory where LIBOBJS objects are built.
2689
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2690
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2694
LTLIBOBJS=$ac_ltlibobjs
2697
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2698
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
2699
Usually this means the macro was only invoked conditionally." >&5
2700
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
2701
Usually this means the macro was only invoked conditionally." >&2;}
2702
{ (exit 1); exit 1; }; }
2705
: ${CONFIG_STATUS=./config.status}
2706
ac_clean_files_save=$ac_clean_files
2707
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2708
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2709
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2710
cat >$CONFIG_STATUS <<_ACEOF
2712
# Generated by $as_me.
2713
# Run this file to recreate the current configuration.
2714
# Compiler output produced by configure, useful for debugging
2715
# configure, is in config.log if it exists.
2720
SHELL=\${CONFIG_SHELL-$SHELL}
2723
cat >>$CONFIG_STATUS <<\_ACEOF
2724
## --------------------- ##
2725
## M4sh Initialization. ##
2726
## --------------------- ##
2728
# Be more Bourne compatible
2729
DUALCASE=1; export DUALCASE # for MKS sh
2730
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2733
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2734
# is contrary to our usage. Disable this feature.
2735
alias -g '${1+"$@"}'='"$@"'
2736
setopt NO_GLOB_SUBST
2738
case `(set -o) 2>/dev/null` in
2739
*posix*) set -o posix ;;
2748
# Avoid depending upon Character Ranges.
2749
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2750
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2751
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2752
as_cr_digits='0123456789'
2753
as_cr_alnum=$as_cr_Letters$as_cr_digits
2755
# The user is always right.
2756
if test "${PATH_SEPARATOR+set}" != set; then
2757
echo "#! /bin/sh" >conf$$.sh
2758
echo "exit 0" >>conf$$.sh
2760
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2768
# Support unset when possible.
2769
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2777
# We need space, tab and new line, in precisely that order. Quoting is
2778
# there to prevent editors from complaining about space-tab.
2779
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2780
# splitting by setting IFS to empty value.)
2785
# Find who we are. Look in the path if we contain no directory separator.
2787
*[\\/]* ) as_myself=$0 ;;
2788
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792
test -z "$as_dir" && as_dir=.
2793
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2799
# We did not find ourselves, most probably we were run as `sh COMMAND'
2800
# in which case we are not to be found in the path.
2801
if test "x$as_myself" = x; then
2804
if test ! -f "$as_myself"; then
2805
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2806
{ (exit 1); exit 1; }
2809
# Work around bugs in pre-3.0 UWIN ksh.
2810
for as_var in ENV MAIL MAILPATH
2811
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2819
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2820
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2821
LC_TELEPHONE LC_TIME
2823
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2824
eval $as_var=C; export $as_var
2826
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2830
# Required to use basename.
2831
if expr a : '\(a\)' >/dev/null 2>&1 &&
2832
test "X`expr 00001 : '.*\(...\)'`" = X001; then
2838
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2839
as_basename=basename
2845
# Name of the executable.
2846
as_me=`$as_basename -- "$0" ||
2847
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2848
X"$0" : 'X\(//\)$' \| \
2849
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2851
sed '/^.*\/\([^/][^/]*\)\/*$/{
2872
test "x$as_lineno_1" != "x$as_lineno_2" &&
2873
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2875
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2876
# uniformly replaced by the line number. The first 'sed' inserts a
2877
# line-number line after each line using $LINENO; the second 'sed'
2878
# does the real work. The second script uses 'N' to pair each
2879
# line-number line with the line containing $LINENO, and appends
2880
# trailing '-' during substitution so that $LINENO is not a special
2882
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2883
# scripts with optimization help from Paolo Bonzini. Blame Lee
2884
# E. McMahon (1931-1989) for sed's syntax. :-)
2896
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2900
chmod +x "$as_me.lineno" ||
2901
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2902
{ (exit 1); exit 1; }; }
2904
# Don't try to exec as it changes $[0], causing all sort of problems
2905
# (the dirname of $[0] is not the place where we might find the
2906
# original and so on. Autoconf is especially sensitive to this).
2908
# Exit status is that of the last command.
2913
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2919
ECHO_C= ECHO_N= ECHO_T=
2922
case `echo 'x\c'` in
2923
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
2930
if expr a : '\(a\)' >/dev/null 2>&1 &&
2931
test "X`expr 00001 : '.*\(...\)'`" = X001; then
2937
rm -f conf$$ conf$$.exe conf$$.file
2938
if test -d conf$$.dir; then
2939
rm -f conf$$.dir/conf$$.file
2945
if ln -s conf$$.file conf$$ 2>/dev/null; then
2947
# ... but there are two gotchas:
2948
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2949
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2950
# In both cases, we have to default to `cp -p'.
2951
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2953
elif ln conf$$.file conf$$ 2>/dev/null; then
2958
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2959
rmdir conf$$.dir 2>/dev/null
2961
if mkdir -p . 2>/dev/null; then
2964
test -d ./-p && rmdir ./-p
2968
if test -x / >/dev/null 2>&1; then
2971
if ls -dL / >/dev/null 2>&1; then
2978
if test -d "$1"; then
2984
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2985
???[sx]*):;;*)false;;esac;fi
2989
as_executable_p=$as_test_x
2991
# Sed expression to map a string onto a valid CPP name.
2992
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2994
# Sed expression to map a string onto a valid variable name.
2995
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3000
# Save the log message, to keep $[0] and so on meaningful, and to
3001
# report actual input values of CONFIG_FILES etc. instead of their
3002
# values after options handling.
3004
This file was extended by sample $as_me 1.0d, which was
3005
generated by GNU Autoconf 2.61. Invocation command line was
3007
CONFIG_FILES = $CONFIG_FILES
3008
CONFIG_HEADERS = $CONFIG_HEADERS
3009
CONFIG_LINKS = $CONFIG_LINKS
3010
CONFIG_COMMANDS = $CONFIG_COMMANDS
3013
on `(hostname || uname -n) 2>/dev/null | sed 1q`
3018
cat >>$CONFIG_STATUS <<_ACEOF
3019
# Files that config.status was made for.
3020
config_files="$ac_config_files"
3024
cat >>$CONFIG_STATUS <<\_ACEOF
3026
\`$as_me' instantiates files from templates according to the
3027
current configuration.
3029
Usage: $0 [OPTIONS] [FILE]...
3031
-h, --help print this help, then exit
3032
-V, --version print version number and configuration settings, then exit
3033
-q, --quiet do not print progress messages
3034
-d, --debug don't remove temporary files
3035
--recheck update $as_me by reconfiguring in the same conditions
3036
--file=FILE[:TEMPLATE]
3037
instantiate the configuration file FILE
3039
Configuration files:
3042
Report bugs to <bug-autoconf@gnu.org>."
3045
cat >>$CONFIG_STATUS <<_ACEOF
3047
sample config.status 1.0d
3048
configured by $0, generated by GNU Autoconf 2.61,
3049
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3051
Copyright (C) 2006 Free Software Foundation, Inc.
3052
This config.status script is free software; the Free Software Foundation
3053
gives unlimited permission to copy, distribute and modify it."
3061
cat >>$CONFIG_STATUS <<\_ACEOF
3062
# If no file are specified by the user, then we need to provide default
3063
# value. By we need to know if files were specified by the user.
3069
ac_option=`expr "X$1" : 'X\([^=]*\)='`
3070
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3081
# Handling of the options.
3082
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3084
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3085
echo "$ac_cs_version"; exit ;;
3086
--debug | --debu | --deb | --de | --d | -d )
3088
--file | --fil | --fi | --f )
3090
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3091
ac_need_defaults=false;;
3092
--he | --h | --help | --hel | -h )
3093
echo "$ac_cs_usage"; exit ;;
3094
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
3095
| -silent | --silent | --silen | --sile | --sil | --si | --s)
3099
-*) { echo "$as_me: error: unrecognized option: $1
3100
Try \`$0 --help' for more information." >&2
3101
{ (exit 1); exit 1; }; } ;;
3103
*) ac_config_targets="$ac_config_targets $1"
3104
ac_need_defaults=false ;;
3110
ac_configure_extra_args=
3112
if $ac_cs_silent; then
3114
ac_configure_extra_args="$ac_configure_extra_args --silent"
3118
cat >>$CONFIG_STATUS <<_ACEOF
3119
if \$ac_cs_recheck; then
3120
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3123
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3127
cat >>$CONFIG_STATUS <<\_ACEOF
3131
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3132
## Running $as_me. ##
3138
cat >>$CONFIG_STATUS <<_ACEOF
3141
cat >>$CONFIG_STATUS <<\_ACEOF
3143
# Handling of arguments.
3144
for ac_config_target in $ac_config_targets
3146
case $ac_config_target in
3147
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3149
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3150
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3151
{ (exit 1); exit 1; }; };;
3156
# If the user did not use the arguments to specify the items to instantiate,
3157
# then the envvar interface is used. Set only those that are not.
3158
# We use the long form for the default assignment because of an extremely
3159
# bizarre bug on SunOS 4.1.3.
3160
if $ac_need_defaults; then
3161
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3164
# Have a temporary directory for convenience. Make it in the build tree
3165
# simply because there is no reason against having it here, and in addition,
3166
# creating and moving files from /tmp can sometimes cause problems.
3167
# Hook for its removal unless debugging.
3168
# Note that there is a small window in which the directory will not be cleaned:
3169
# after its creation but before its name has been assigned to `$tmp'.
3173
trap 'exit_status=$?
3174
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3176
trap '{ (exit 1); exit 1; }' 1 2 13 15
3178
# Create a (secure) tmp directory for tmp files.
3181
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3182
test -n "$tmp" && test -d "$tmp"
3185
tmp=./conf$$-$RANDOM
3186
(umask 077 && mkdir "$tmp")
3189
echo "$me: cannot create a temporary directory in ." >&2
3190
{ (exit 1); exit 1; }
3194
# Set up the sed scripts for CONFIG_FILES section.
3197
# No need to generate the scripts if there are no CONFIG_FILES.
3198
# This happens for instance when ./config.status config.h
3199
if test -n "$CONFIG_FILES"; then
3206
for ac_last_try in false false false false false :; do
3207
cat >conf$$subs.sed <<_ACEOF
3208
SHELL!$SHELL$ac_delim
3209
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3210
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3211
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3212
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3213
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3214
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3215
exec_prefix!$exec_prefix$ac_delim
3216
prefix!$prefix$ac_delim
3217
program_transform_name!$program_transform_name$ac_delim
3218
bindir!$bindir$ac_delim
3219
sbindir!$sbindir$ac_delim
3220
libexecdir!$libexecdir$ac_delim
3221
datarootdir!$datarootdir$ac_delim
3222
datadir!$datadir$ac_delim
3223
sysconfdir!$sysconfdir$ac_delim
3224
sharedstatedir!$sharedstatedir$ac_delim
3225
localstatedir!$localstatedir$ac_delim
3226
includedir!$includedir$ac_delim
3227
oldincludedir!$oldincludedir$ac_delim
3228
docdir!$docdir$ac_delim
3229
infodir!$infodir$ac_delim
3230
htmldir!$htmldir$ac_delim
3231
dvidir!$dvidir$ac_delim
3232
pdfdir!$pdfdir$ac_delim
3233
psdir!$psdir$ac_delim
3234
libdir!$libdir$ac_delim
3235
localedir!$localedir$ac_delim
3236
mandir!$mandir$ac_delim
3238
ECHO_C!$ECHO_C$ac_delim
3239
ECHO_N!$ECHO_N$ac_delim
3240
ECHO_T!$ECHO_T$ac_delim
3242
build_alias!$build_alias$ac_delim
3243
host_alias!$host_alias$ac_delim
3244
target_alias!$target_alias$ac_delim
3245
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
3246
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
3247
MAINT!$MAINT$ac_delim
3248
build!$build$ac_delim
3249
build_cpu!$build_cpu$ac_delim
3250
build_vendor!$build_vendor$ac_delim
3251
build_os!$build_os$ac_delim
3253
host_cpu!$host_cpu$ac_delim
3254
host_vendor!$host_vendor$ac_delim
3255
host_os!$host_os$ac_delim
3256
target!$target$ac_delim
3257
target_cpu!$target_cpu$ac_delim
3258
target_vendor!$target_vendor$ac_delim
3259
target_os!$target_os$ac_delim
3260
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3261
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3262
INSTALL_DATA!$INSTALL_DATA$ac_delim
3263
am__isrc!$am__isrc$ac_delim
3264
CYGPATH_W!$CYGPATH_W$ac_delim
3265
PACKAGE!$PACKAGE$ac_delim
3266
VERSION!$VERSION$ac_delim
3267
ACLOCAL!$ACLOCAL$ac_delim
3268
AUTOCONF!$AUTOCONF$ac_delim
3269
AUTOMAKE!$AUTOMAKE$ac_delim
3270
AUTOHEADER!$AUTOHEADER$ac_delim
3271
MAKEINFO!$MAKEINFO$ac_delim
3272
install_sh!$install_sh$ac_delim
3273
STRIP!$STRIP$ac_delim
3274
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3275
mkdir_p!$mkdir_p$ac_delim
3277
SET_MAKE!$SET_MAKE$ac_delim
3278
am__leading_dot!$am__leading_dot$ac_delim
3279
AMTAR!$AMTAR$ac_delim
3280
am__tar!$am__tar$ac_delim
3281
am__untar!$am__untar$ac_delim
3282
ac_aux_dir!$ac_aux_dir$ac_delim
3283
LIBOBJS!$LIBOBJS$ac_delim
3284
LTLIBOBJS!$LTLIBOBJS$ac_delim
3287
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
3289
elif $ac_last_try; then
3290
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3291
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3292
{ (exit 1); exit 1; }; }
3294
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3298
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3299
if test -n "$ac_eof"; then
3300
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3301
ac_eof=`expr $ac_eof + 1`
3304
cat >>$CONFIG_STATUS <<_ACEOF
3305
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3306
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3309
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3310
s/^/s,@/; s/!/@,|#_!!_#|/
3313
s/'"$ac_delim"'$/,g/; t
3315
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3316
' >>$CONFIG_STATUS <conf$$subs.sed
3317
rm -f conf$$subs.sed
3318
cat >>$CONFIG_STATUS <<_ACEOF
3325
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3326
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3327
# trailing colons and then remove the whole line if VPATH becomes empty
3328
# (actually we leave an empty line to preserve line numbers).
3329
if test "x$srcdir" = x.; then
3330
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3334
s/^\([^=]*=[ ]*\):*/\1/
3340
cat >>$CONFIG_STATUS <<\_ACEOF
3341
fi # test -n "$CONFIG_FILES"
3344
for ac_tag in :F $CONFIG_FILES
3347
:[FHLC]) ac_mode=$ac_tag; continue;;
3349
case $ac_mode$ac_tag in
3351
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3352
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3353
{ (exit 1); exit 1; }; };;
3354
:[FH]-) ac_tag=-:-;;
3355
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3372
-) ac_f="$tmp/stdin";;
3373
*) # Look for the file first in the build tree, then in the source tree
3374
# (if the path is not absolute). The absolute path cannot be DOS-style,
3375
# because $ac_f cannot contain `:'.
3379
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3381
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3382
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3383
{ (exit 1); exit 1; }; };;
3385
ac_file_inputs="$ac_file_inputs $ac_f"
3388
# Let's still pretend it is `configure' which instantiates (i.e., don't
3389
# use $as_me), people would be surprised to read:
3390
# /* config.h. Generated by config.status. */
3391
configure_input="Generated from "`IFS=:
3392
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3393
if test x"$ac_file" != x-; then
3394
configure_input="$ac_file. $configure_input"
3395
{ echo "$as_me:$LINENO: creating $ac_file" >&5
3396
echo "$as_me: creating $ac_file" >&6;}
3400
*:-:* | *:-) cat >"$tmp/stdin";;
3405
ac_dir=`$as_dirname -- "$ac_file" ||
3406
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3407
X"$ac_file" : 'X\(//\)[^/]' \| \
3408
X"$ac_file" : 'X\(//\)$' \| \
3409
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3411
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3430
-*) as_dir=./$as_dir;;
3432
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3436
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3437
*) as_qdir=$as_dir;;
3439
as_dirs="'$as_qdir' $as_dirs"
3440
as_dir=`$as_dirname -- "$as_dir" ||
3441
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3442
X"$as_dir" : 'X\(//\)[^/]' \| \
3443
X"$as_dir" : 'X\(//\)$' \| \
3444
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3446
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3463
test -d "$as_dir" && break
3465
test -z "$as_dirs" || eval "mkdir $as_dirs"
3466
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3467
echo "$as_me: error: cannot create directory $as_dir" >&2;}
3468
{ (exit 1); exit 1; }; }; }
3472
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3474
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3475
# A ".." for each directory in $ac_dir_suffix.
3476
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3477
case $ac_top_builddir_sub in
3478
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3479
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3482
ac_abs_top_builddir=$ac_pwd
3483
ac_abs_builddir=$ac_pwd$ac_dir_suffix
3484
# for backward compatibility:
3485
ac_top_builddir=$ac_top_build_prefix
3488
.) # We are building in place.
3490
ac_top_srcdir=$ac_top_builddir_sub
3491
ac_abs_top_srcdir=$ac_pwd ;;
3492
[\\/]* | ?:[\\/]* ) # Absolute name.
3493
ac_srcdir=$srcdir$ac_dir_suffix;
3494
ac_top_srcdir=$srcdir
3495
ac_abs_top_srcdir=$srcdir ;;
3497
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3498
ac_top_srcdir=$ac_top_build_prefix$srcdir
3499
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3501
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3511
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3512
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3516
[\\/$]* | ?:[\\/]* ) ;;
3517
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3521
cat >>$CONFIG_STATUS <<\_ACEOF
3522
# If the template does not know about datarootdir, expand it.
3523
# FIXME: This hack should be removed a few years after 2.60.
3524
ac_datarootdir_hack=; ac_datarootdir_seen=
3526
case `sed -n '/datarootdir/ {
3535
' $ac_file_inputs` in
3536
*datarootdir*) ac_datarootdir_seen=yes;;
3537
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3538
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3539
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3541
cat >>$CONFIG_STATUS <<_ACEOF
3542
ac_datarootdir_hack='
3543
s&@datadir@&$datadir&g
3544
s&@docdir@&$docdir&g
3545
s&@infodir@&$infodir&g
3546
s&@localedir@&$localedir&g
3547
s&@mandir@&$mandir&g
3548
s&\\\${datarootdir}&$datarootdir&g' ;;
3552
# Neutralize VPATH when `$srcdir' = `.'.
3553
# Shell code in configure.ac might set extrasub.
3554
# FIXME: do we really want to maintain this feature?
3555
cat >>$CONFIG_STATUS <<_ACEOF
3559
cat >>$CONFIG_STATUS <<\_ACEOF
3561
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3562
s&@configure_input@&$configure_input&;t t
3563
s&@top_builddir@&$ac_top_builddir_sub&;t t
3564
s&@srcdir@&$ac_srcdir&;t t
3565
s&@abs_srcdir@&$ac_abs_srcdir&;t t
3566
s&@top_srcdir@&$ac_top_srcdir&;t t
3567
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3568
s&@builddir@&$ac_builddir&;t t
3569
s&@abs_builddir@&$ac_abs_builddir&;t t
3570
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3571
s&@INSTALL@&$ac_INSTALL&;t t
3572
s&@MKDIR_P@&$ac_MKDIR_P&;t t
3573
$ac_datarootdir_hack
3574
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3576
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3577
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3578
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3579
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3580
which seems to be undefined. Please make sure it is defined." >&5
3581
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3582
which seems to be undefined. Please make sure it is defined." >&2;}
3586
-) cat "$tmp/out"; rm -f "$tmp/out";;
3587
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3598
{ (exit 0); exit 0; }
3600
chmod +x $CONFIG_STATUS
3601
ac_clean_files=$ac_clean_files_save
3604
# configure is writing to config.log, and then calls config.status.
3605
# config.status does its own redirection, appending to config.log.
3606
# Unfortunately, on DOS this fails, as config.log is still kept open
3607
# by configure, so config.status won't be able to write to it; its
3608
# output is simply discarded. So we exec the FD to /dev/null,
3609
# effectively closing config.log, so it can be properly (re)opened and
3610
# appended to by config.status. When coming back to configure, we
3611
# need to make the FD available again.
3612
if test "$no_create" != yes; then
3614
ac_config_status_args=
3615
test "$silent" = yes &&
3616
ac_config_status_args="$ac_config_status_args --quiet"
3618
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3620
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
3621
# would make configure fail if this is the last instruction.
3622
$ac_cs_success || { (exit 1); exit 1; }
3627
echo "----------------------------------------"
3628
echo "Finished Running sample Configure Script"
3629
echo "----------------------------------------"