blob: 2efb85397b7caac4953c89742738885af612140a [file] [log] [blame]
John Criswell451f67f2003-10-16 01:45:35 +00001#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
Dan Gohman324f6082009-03-25 00:52:11 +00003# Generated by GNU Autoconf 2.59 for [SAMPLE] [x.xx].
John Criswell451f67f2003-10-16 01:45:35 +00004#
5# Report bugs to <bugs@yourdomain>.
6#
Dan Gohman324f6082009-03-25 00:52:11 +00007# Copyright (C) 2003 Free Software Foundation, Inc.
John Criswell451f67f2003-10-16 01:45:35 +00008# This configure script is free software; the Free Software Foundation
9# gives unlimited permission to copy, distribute and modify it.
10## --------------------- ##
11## M4sh Initialization. ##
12## --------------------- ##
13
Dan Gohman324f6082009-03-25 00:52:11 +000014# Be Bourne compatible
John Criswell451f67f2003-10-16 01:45:35 +000015if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
Dan Gohman324f6082009-03-25 00:52:11 +000021elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23fi
24DUALCASE=1; export DUALCASE # for MKS sh
Dan Gohmand02a2812009-03-24 23:47:11 +000025
Dan Gohman324f6082009-03-25 00:52:11 +000026# Support unset when possible.
27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29else
30 as_unset=false
John Criswell451f67f2003-10-16 01:45:35 +000031fi
32
33
Dan Gohman324f6082009-03-25 00:52:11 +000034# Work around bugs in pre-3.0 UWIN ksh.
35$as_unset ENV MAIL MAILPATH
36PS1='$ '
37PS2='> '
38PS4='+ '
39
40# NLS nuisances.
41for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51done
52
53# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56else
57 as_expr=false
58fi
59
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62else
63 as_basename=false
64fi
John Criswell451f67f2003-10-16 01:45:35 +000065
66
Dan Gohman324f6082009-03-25 00:52:11 +000067# Name of the executable.
68as_me=`$as_basename "$0" ||
69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80# PATH needs CR, and LINENO needs CR and PATH.
John Criswell451f67f2003-10-16 01:45:35 +000081# Avoid depending upon Character Ranges.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789'
86as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88# The user is always right.
89if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99fi
100
101
Dan Gohman324f6082009-03-25 00:52:11 +0000102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
John Criswell451f67f2003-10-16 01:45:35 +0000112for as_dir in $PATH
113do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done
118
Dan Gohman324f6082009-03-25 00:52:11 +0000119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
John Criswell451f67f2003-10-16 01:45:35 +0000125 fi
Dan Gohman324f6082009-03-25 00:52:11 +0000126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
John Criswell451f67f2003-10-16 01:45:35 +0000132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
Dan Gohman324f6082009-03-25 00:52:11 +0000137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
John Criswell451f67f2003-10-16 01:45:35 +0000139 /*)
Dan Gohman324f6082009-03-25 00:52:11 +0000140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
Dan Gohmand02a2812009-03-24 23:47:11 +0000154done
Dan Gohman324f6082009-03-25 00:52:11 +0000155;;
156 esac
John Criswell451f67f2003-10-16 01:45:35 +0000157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
Dan Gohman324f6082009-03-25 00:52:11 +0000160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
John Criswell451f67f2003-10-16 01:45:35 +0000164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
Dan Gohman324f6082009-03-25 00:52:11 +0000165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
John Criswell451f67f2003-10-16 01:45:35 +0000167 sed '
168 N
Dan Gohman324f6082009-03-25 00:52:11 +0000169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
John Criswell451f67f2003-10-16 01:45:35 +0000172 t loop
Dan Gohman324f6082009-03-25 00:52:11 +0000173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
John Criswell451f67f2003-10-16 01:45:35 +0000175 ' >$as_me.lineno &&
Dan Gohman324f6082009-03-25 00:52:11 +0000176 chmod +x $as_me.lineno ||
John Criswell451f67f2003-10-16 01:45:35 +0000177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
Dan Gohman324f6082009-03-25 00:52:11 +0000182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
John Criswell451f67f2003-10-16 01:45:35 +0000184 # Exit status is that of the last command.
185 exit
186}
187
188
Dan Gohman324f6082009-03-25 00:52:11 +0000189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
John Criswell451f67f2003-10-16 01:45:35 +0000194esac
195
Dan Gohman324f6082009-03-25 00:52:11 +0000196if expr a : '\(a\)' >/dev/null 2>&1; then
John Criswell451f67f2003-10-16 01:45:35 +0000197 as_expr=expr
198else
199 as_expr=false
200fi
201
202rm -f conf$$ conf$$.exe conf$$.file
203echo >conf$$.file
204if ln -s conf$$.file conf$$ 2>/dev/null; then
Dan Gohman324f6082009-03-25 00:52:11 +0000205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
John Criswell451f67f2003-10-16 01:45:35 +0000209 as_ln_s='cp -p'
Dan Gohman324f6082009-03-25 00:52:11 +0000210 else
211 as_ln_s='ln -s'
212 fi
John Criswell451f67f2003-10-16 01:45:35 +0000213elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215else
216 as_ln_s='cp -p'
217fi
Dan Gohman324f6082009-03-25 00:52:11 +0000218rm -f conf$$ conf$$.exe conf$$.file
John Criswell451f67f2003-10-16 01:45:35 +0000219
220if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222else
Reid Spencer9964cd82005-01-01 09:26:55 +0000223 test -d ./-p && rmdir ./-p
John Criswell451f67f2003-10-16 01:45:35 +0000224 as_mkdir_p=false
225fi
226
Dan Gohman324f6082009-03-25 00:52:11 +0000227as_executable_p="test -f"
John Criswell451f67f2003-10-16 01:45:35 +0000228
229# Sed expression to map a string onto a valid CPP name.
Reid Spencer9964cd82005-01-01 09:26:55 +0000230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
John Criswell451f67f2003-10-16 01:45:35 +0000231
232# Sed expression to map a string onto a valid variable name.
Reid Spencer9964cd82005-01-01 09:26:55 +0000233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
John Criswell451f67f2003-10-16 01:45:35 +0000234
235
Dan Gohman324f6082009-03-25 00:52:11 +0000236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" $as_nl"
John Criswell451f67f2003-10-16 01:45:35 +0000241
Dan Gohman324f6082009-03-25 00:52:11 +0000242# CDPATH.
243$as_unset CDPATH
244
John Criswell451f67f2003-10-16 01:45:35 +0000245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
Dan Gohman324f6082009-03-25 00:52:11 +0000251exec 6>&1
252
John Criswell451f67f2003-10-16 01:45:35 +0000253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
Dan Gohman324f6082009-03-25 00:52:11 +0000264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete. It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
John Criswell451f67f2003-10-16 01:45:35 +0000269# Identity of this package.
270PACKAGE_NAME='[SAMPLE]'
271PACKAGE_TARNAME='--sample--'
272PACKAGE_VERSION='[x.xx]'
273PACKAGE_STRING='[SAMPLE] [x.xx]'
274PACKAGE_BUGREPORT='bugs@yourdomain'
275
276ac_unique_file=""Makefile.common.in""
Dan Gohman324f6082009-03-25 00:52:11 +0000277ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LLVM_SRC LLVM_OBJ LIBOBJS LTLIBOBJS'
John Criswell451f67f2003-10-16 01:45:35 +0000278ac_subst_files=''
279
280# Initialize some variables set by options.
281ac_init_help=
282ac_init_version=false
283# The variables have the same names as the options, with
284# dashes changed to underlines.
285cache_file=/dev/null
286exec_prefix=NONE
287no_create=
288no_recursion=
289prefix=NONE
290program_prefix=NONE
291program_suffix=NONE
292program_transform_name=s,x,x,
293silent=
294site=
295srcdir=
296verbose=
297x_includes=NONE
298x_libraries=NONE
299
300# Installation directory options.
301# These are left unexpanded so users can "make install exec_prefix=/foo"
302# and all the variables that are supposed to be based on exec_prefix
303# by default will actually change.
304# Use braces instead of parens because sh, perl, etc. also accept them.
305bindir='${exec_prefix}/bin'
306sbindir='${exec_prefix}/sbin'
307libexecdir='${exec_prefix}/libexec'
Dan Gohman324f6082009-03-25 00:52:11 +0000308datadir='${prefix}/share'
John Criswell451f67f2003-10-16 01:45:35 +0000309sysconfdir='${prefix}/etc'
310sharedstatedir='${prefix}/com'
311localstatedir='${prefix}/var'
Dan Gohman324f6082009-03-25 00:52:11 +0000312libdir='${exec_prefix}/lib'
John Criswell451f67f2003-10-16 01:45:35 +0000313includedir='${prefix}/include'
314oldincludedir='/usr/include'
Dan Gohman324f6082009-03-25 00:52:11 +0000315infodir='${prefix}/info'
316mandir='${prefix}/man'
John Criswell451f67f2003-10-16 01:45:35 +0000317
318ac_prev=
319for ac_option
320do
321 # If the previous option needs an argument, assign it.
322 if test -n "$ac_prev"; then
Dan Gohman324f6082009-03-25 00:52:11 +0000323 eval "$ac_prev=\$ac_option"
John Criswell451f67f2003-10-16 01:45:35 +0000324 ac_prev=
325 continue
326 fi
327
Dan Gohman324f6082009-03-25 00:52:11 +0000328 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
John Criswell451f67f2003-10-16 01:45:35 +0000329
330 # Accept the important Cygnus configure options, so we can diagnose typos.
331
Dan Gohman324f6082009-03-25 00:52:11 +0000332 case $ac_option in
John Criswell451f67f2003-10-16 01:45:35 +0000333
334 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 ac_prev=bindir ;;
336 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 bindir=$ac_optarg ;;
338
339 -build | --build | --buil | --bui | --bu)
340 ac_prev=build_alias ;;
341 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342 build_alias=$ac_optarg ;;
343
344 -cache-file | --cache-file | --cache-fil | --cache-fi \
345 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346 ac_prev=cache_file ;;
347 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349 cache_file=$ac_optarg ;;
350
351 --config-cache | -C)
352 cache_file=config.cache ;;
353
Dan Gohman324f6082009-03-25 00:52:11 +0000354 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
John Criswell451f67f2003-10-16 01:45:35 +0000355 ac_prev=datadir ;;
Dan Gohman324f6082009-03-25 00:52:11 +0000356 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 | --da=*)
John Criswell451f67f2003-10-16 01:45:35 +0000358 datadir=$ac_optarg ;;
359
360 -disable-* | --disable-*)
361 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362 # Reject names that are not valid shell variable names.
Dan Gohman324f6082009-03-25 00:52:11 +0000363 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
John Criswell451f67f2003-10-16 01:45:35 +0000364 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365 { (exit 1); exit 1; }; }
Dan Gohman324f6082009-03-25 00:52:11 +0000366 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367 eval "enable_$ac_feature=no" ;;
John Criswell451f67f2003-10-16 01:45:35 +0000368
369 -enable-* | --enable-*)
370 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371 # Reject names that are not valid shell variable names.
Dan Gohman324f6082009-03-25 00:52:11 +0000372 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
John Criswell451f67f2003-10-16 01:45:35 +0000373 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374 { (exit 1); exit 1; }; }
Dan Gohman324f6082009-03-25 00:52:11 +0000375 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 case $ac_option in
377 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 *) ac_optarg=yes ;;
379 esac
380 eval "enable_$ac_feature='$ac_optarg'" ;;
John Criswell451f67f2003-10-16 01:45:35 +0000381
382 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384 | --exec | --exe | --ex)
385 ac_prev=exec_prefix ;;
386 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388 | --exec=* | --exe=* | --ex=*)
389 exec_prefix=$ac_optarg ;;
390
391 -gas | --gas | --ga | --g)
392 # Obsolete; use --with-gas.
393 with_gas=yes ;;
394
395 -help | --help | --hel | --he | -h)
396 ac_init_help=long ;;
397 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398 ac_init_help=recursive ;;
399 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400 ac_init_help=short ;;
401
402 -host | --host | --hos | --ho)
403 ac_prev=host_alias ;;
404 -host=* | --host=* | --hos=* | --ho=*)
405 host_alias=$ac_optarg ;;
406
407 -includedir | --includedir | --includedi | --included | --include \
408 | --includ | --inclu | --incl | --inc)
409 ac_prev=includedir ;;
410 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411 | --includ=* | --inclu=* | --incl=* | --inc=*)
412 includedir=$ac_optarg ;;
413
414 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 ac_prev=infodir ;;
416 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417 infodir=$ac_optarg ;;
418
419 -libdir | --libdir | --libdi | --libd)
420 ac_prev=libdir ;;
421 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 libdir=$ac_optarg ;;
423
424 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425 | --libexe | --libex | --libe)
426 ac_prev=libexecdir ;;
427 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428 | --libexe=* | --libex=* | --libe=*)
429 libexecdir=$ac_optarg ;;
430
431 -localstatedir | --localstatedir | --localstatedi | --localstated \
Dan Gohman324f6082009-03-25 00:52:11 +0000432 | --localstate | --localstat | --localsta | --localst \
433 | --locals | --local | --loca | --loc | --lo)
John Criswell451f67f2003-10-16 01:45:35 +0000434 ac_prev=localstatedir ;;
435 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
Dan Gohman324f6082009-03-25 00:52:11 +0000436 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
John Criswell451f67f2003-10-16 01:45:35 +0000438 localstatedir=$ac_optarg ;;
439
440 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 ac_prev=mandir ;;
442 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443 mandir=$ac_optarg ;;
444
445 -nfp | --nfp | --nf)
446 # Obsolete; use --without-fp.
447 with_fp=no ;;
448
449 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450 | --no-cr | --no-c | -n)
451 no_create=yes ;;
452
453 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 no_recursion=yes ;;
456
457 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459 | --oldin | --oldi | --old | --ol | --o)
460 ac_prev=oldincludedir ;;
461 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464 oldincludedir=$ac_optarg ;;
465
466 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 ac_prev=prefix ;;
468 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 prefix=$ac_optarg ;;
470
471 -program-prefix | --program-prefix | --program-prefi | --program-pref \
472 | --program-pre | --program-pr | --program-p)
473 ac_prev=program_prefix ;;
474 -program-prefix=* | --program-prefix=* | --program-prefi=* \
475 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476 program_prefix=$ac_optarg ;;
477
478 -program-suffix | --program-suffix | --program-suffi | --program-suff \
479 | --program-suf | --program-su | --program-s)
480 ac_prev=program_suffix ;;
481 -program-suffix=* | --program-suffix=* | --program-suffi=* \
482 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483 program_suffix=$ac_optarg ;;
484
485 -program-transform-name | --program-transform-name \
486 | --program-transform-nam | --program-transform-na \
487 | --program-transform-n | --program-transform- \
488 | --program-transform | --program-transfor \
489 | --program-transfo | --program-transf \
490 | --program-trans | --program-tran \
491 | --progr-tra | --program-tr | --program-t)
492 ac_prev=program_transform_name ;;
493 -program-transform-name=* | --program-transform-name=* \
494 | --program-transform-nam=* | --program-transform-na=* \
495 | --program-transform-n=* | --program-transform-=* \
496 | --program-transform=* | --program-transfor=* \
497 | --program-transfo=* | --program-transf=* \
498 | --program-trans=* | --program-tran=* \
499 | --progr-tra=* | --program-tr=* | --program-t=*)
500 program_transform_name=$ac_optarg ;;
501
502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503 | -silent | --silent | --silen | --sile | --sil)
504 silent=yes ;;
505
506 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 ac_prev=sbindir ;;
508 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 | --sbi=* | --sb=*)
510 sbindir=$ac_optarg ;;
511
512 -sharedstatedir | --sharedstatedir | --sharedstatedi \
513 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514 | --sharedst | --shareds | --shared | --share | --shar \
515 | --sha | --sh)
516 ac_prev=sharedstatedir ;;
517 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 | --sha=* | --sh=*)
521 sharedstatedir=$ac_optarg ;;
522
523 -site | --site | --sit)
524 ac_prev=site ;;
525 -site=* | --site=* | --sit=*)
526 site=$ac_optarg ;;
527
528 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 ac_prev=srcdir ;;
530 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 srcdir=$ac_optarg ;;
532
533 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534 | --syscon | --sysco | --sysc | --sys | --sy)
535 ac_prev=sysconfdir ;;
536 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538 sysconfdir=$ac_optarg ;;
539
540 -target | --target | --targe | --targ | --tar | --ta | --t)
541 ac_prev=target_alias ;;
542 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543 target_alias=$ac_optarg ;;
544
545 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 verbose=yes ;;
547
548 -version | --version | --versio | --versi | --vers | -V)
549 ac_init_version=: ;;
550
551 -with-* | --with-*)
552 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553 # Reject names that are not valid shell variable names.
Dan Gohman324f6082009-03-25 00:52:11 +0000554 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
John Criswell451f67f2003-10-16 01:45:35 +0000555 { echo "$as_me: error: invalid package name: $ac_package" >&2
556 { (exit 1); exit 1; }; }
Dan Gohman324f6082009-03-25 00:52:11 +0000557 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 case $ac_option in
559 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 *) ac_optarg=yes ;;
561 esac
562 eval "with_$ac_package='$ac_optarg'" ;;
John Criswell451f67f2003-10-16 01:45:35 +0000563
564 -without-* | --without-*)
565 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566 # Reject names that are not valid shell variable names.
Dan Gohman324f6082009-03-25 00:52:11 +0000567 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
John Criswell451f67f2003-10-16 01:45:35 +0000568 { echo "$as_me: error: invalid package name: $ac_package" >&2
569 { (exit 1); exit 1; }; }
Dan Gohman324f6082009-03-25 00:52:11 +0000570 ac_package=`echo $ac_package | sed 's/-/_/g'`
571 eval "with_$ac_package=no" ;;
John Criswell451f67f2003-10-16 01:45:35 +0000572
573 --x)
574 # Obsolete; use --with-x.
575 with_x=yes ;;
576
577 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578 | --x-incl | --x-inc | --x-in | --x-i)
579 ac_prev=x_includes ;;
580 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582 x_includes=$ac_optarg ;;
583
584 -x-libraries | --x-libraries | --x-librarie | --x-librari \
585 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586 ac_prev=x_libraries ;;
587 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589 x_libraries=$ac_optarg ;;
590
591 -*) { echo "$as_me: error: unrecognized option: $ac_option
592Try \`$0 --help' for more information." >&2
593 { (exit 1); exit 1; }; }
594 ;;
595
596 *=*)
597 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598 # Reject names that are not valid shell variable names.
599 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601 { (exit 1); exit 1; }; }
Dan Gohman324f6082009-03-25 00:52:11 +0000602 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603 eval "$ac_envvar='$ac_optarg'"
John Criswell451f67f2003-10-16 01:45:35 +0000604 export $ac_envvar ;;
605
606 *)
607 # FIXME: should be removed in autoconf 3.0.
608 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
612 ;;
613
614 esac
615done
616
617if test -n "$ac_prev"; then
618 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619 { echo "$as_me: error: missing argument to $ac_option" >&2
620 { (exit 1); exit 1; }; }
621fi
622
Dan Gohman324f6082009-03-25 00:52:11 +0000623# Be sure to have absolute paths.
624for ac_var in exec_prefix prefix
John Criswell451f67f2003-10-16 01:45:35 +0000625do
Dan Gohman324f6082009-03-25 00:52:11 +0000626 eval ac_val=$`echo $ac_var`
John Criswell451f67f2003-10-16 01:45:35 +0000627 case $ac_val in
Dan Gohman324f6082009-03-25 00:52:11 +0000628 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630 { (exit 1); exit 1; }; };;
John Criswell451f67f2003-10-16 01:45:35 +0000631 esac
Dan Gohman324f6082009-03-25 00:52:11 +0000632done
633
634# Be sure to have absolute paths.
635for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636 localstatedir libdir includedir oldincludedir infodir mandir
637do
638 eval ac_val=$`echo $ac_var`
639 case $ac_val in
640 [\\/$]* | ?:[\\/]* ) ;;
641 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642 { (exit 1); exit 1; }; };;
643 esac
John Criswell451f67f2003-10-16 01:45:35 +0000644done
645
646# There might be people who depend on the old broken behavior: `$host'
647# used to hold the argument of --host etc.
648# FIXME: To remove some day.
649build=$build_alias
650host=$host_alias
651target=$target_alias
652
653# FIXME: To remove some day.
654if test "x$host_alias" != x; then
655 if test "x$build_alias" = x; then
656 cross_compiling=maybe
657 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658 If a cross compiler is detected then cross compile mode will be used." >&2
659 elif test "x$build_alias" != "x$host_alias"; then
660 cross_compiling=yes
661 fi
662fi
663
664ac_tool_prefix=
665test -n "$host_alias" && ac_tool_prefix=$host_alias-
666
667test "$silent" = yes && exec 6>/dev/null
668
669
670# Find the source files, if location was not specified.
671if test -z "$srcdir"; then
672 ac_srcdir_defaulted=yes
Dan Gohman324f6082009-03-25 00:52:11 +0000673 # Try the directory containing this script, then its parent.
674 ac_confdir=`(dirname "$0") 2>/dev/null ||
John Criswell451f67f2003-10-16 01:45:35 +0000675$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
Reid Spencer9964cd82005-01-01 09:26:55 +0000676 X"$0" : 'X\(//\)[^/]' \| \
677 X"$0" : 'X\(//\)$' \| \
Dan Gohman324f6082009-03-25 00:52:11 +0000678 X"$0" : 'X\(/\)' \| \
679 . : '\(.\)' 2>/dev/null ||
John Criswell451f67f2003-10-16 01:45:35 +0000680echo X"$0" |
Dan Gohman324f6082009-03-25 00:52:11 +0000681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683 /^X\(\/\/\)$/{ s//\1/; q; }
684 /^X\(\/\).*/{ s//\1/; q; }
685 s/.*/./; q'`
John Criswell451f67f2003-10-16 01:45:35 +0000686 srcdir=$ac_confdir
Dan Gohman324f6082009-03-25 00:52:11 +0000687 if test ! -r $srcdir/$ac_unique_file; then
John Criswell451f67f2003-10-16 01:45:35 +0000688 srcdir=..
689 fi
690else
691 ac_srcdir_defaulted=no
692fi
Dan Gohman324f6082009-03-25 00:52:11 +0000693if test ! -r $srcdir/$ac_unique_file; then
694 if test "$ac_srcdir_defaulted" = yes; then
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
John Criswell451f67f2003-10-16 01:45:35 +0000696 { (exit 1); exit 1; }; }
Dan Gohman324f6082009-03-25 00:52:11 +0000697 else
698 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
John Criswell451f67f2003-10-16 01:45:35 +0000699 { (exit 1); exit 1; }; }
Dan Gohman324f6082009-03-25 00:52:11 +0000700 fi
Dan Gohmand02a2812009-03-24 23:47:11 +0000701fi
Dan Gohman324f6082009-03-25 00:52:11 +0000702(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704 { (exit 1); exit 1; }; }
705srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706ac_env_build_alias_set=${build_alias+set}
707ac_env_build_alias_value=$build_alias
708ac_cv_env_build_alias_set=${build_alias+set}
709ac_cv_env_build_alias_value=$build_alias
710ac_env_host_alias_set=${host_alias+set}
711ac_env_host_alias_value=$host_alias
712ac_cv_env_host_alias_set=${host_alias+set}
713ac_cv_env_host_alias_value=$host_alias
714ac_env_target_alias_set=${target_alias+set}
715ac_env_target_alias_value=$target_alias
716ac_cv_env_target_alias_set=${target_alias+set}
717ac_cv_env_target_alias_value=$target_alias
John Criswell451f67f2003-10-16 01:45:35 +0000718
719#
720# Report the --help message.
721#
722if test "$ac_init_help" = "long"; then
723 # Omit some internal or obsolete options to make the list less imposing.
724 # This message is too long to be a string in the A/UX 3.1 sh.
725 cat <<_ACEOF
726\`configure' configures [SAMPLE] [x.xx] to adapt to many kinds of systems.
727
728Usage: $0 [OPTION]... [VAR=VALUE]...
729
730To assign environment variables (e.g., CC, CFLAGS...), specify them as
731VAR=VALUE. See below for descriptions of some of the useful variables.
732
733Defaults for the options are specified in brackets.
734
735Configuration:
736 -h, --help display this help and exit
737 --help=short display options specific to this package
738 --help=recursive display the short help of all the included packages
739 -V, --version display version information and exit
740 -q, --quiet, --silent do not print \`checking...' messages
741 --cache-file=FILE cache test results in FILE [disabled]
742 -C, --config-cache alias for \`--cache-file=config.cache'
743 -n, --no-create do not create output files
744 --srcdir=DIR find the sources in DIR [configure dir or \`..']
745
Dan Gohman324f6082009-03-25 00:52:11 +0000746_ACEOF
747
748 cat <<_ACEOF
John Criswell451f67f2003-10-16 01:45:35 +0000749Installation directories:
750 --prefix=PREFIX install architecture-independent files in PREFIX
Reid Spencer9964cd82005-01-01 09:26:55 +0000751 [$ac_default_prefix]
John Criswell451f67f2003-10-16 01:45:35 +0000752 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
Reid Spencer9964cd82005-01-01 09:26:55 +0000753 [PREFIX]
John Criswell451f67f2003-10-16 01:45:35 +0000754
755By default, \`make install' will install all the files in
756\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
757an installation prefix other than \`$ac_default_prefix' using \`--prefix',
758for instance \`--prefix=\$HOME'.
759
760For better control, use the options below.
761
762Fine tuning of the installation directories:
763 --bindir=DIR user executables [EPREFIX/bin]
764 --sbindir=DIR system admin executables [EPREFIX/sbin]
765 --libexecdir=DIR program executables [EPREFIX/libexec]
Dan Gohman324f6082009-03-25 00:52:11 +0000766 --datadir=DIR read-only architecture-independent data [PREFIX/share]
John Criswell451f67f2003-10-16 01:45:35 +0000767 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
768 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
769 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
770 --libdir=DIR object code libraries [EPREFIX/lib]
771 --includedir=DIR C header files [PREFIX/include]
772 --oldincludedir=DIR C header files for non-gcc [/usr/include]
Dan Gohman324f6082009-03-25 00:52:11 +0000773 --infodir=DIR info documentation [PREFIX/info]
774 --mandir=DIR man documentation [PREFIX/man]
John Criswell451f67f2003-10-16 01:45:35 +0000775_ACEOF
776
777 cat <<\_ACEOF
778_ACEOF
779fi
780
781if test -n "$ac_init_help"; then
782 case $ac_init_help in
783 short | recursive ) echo "Configuration of [SAMPLE] [x.xx]:";;
784 esac
785 cat <<\_ACEOF
786
787Optional Packages:
788 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
789 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
790 --with-llvmsrc Location of LLVM Source Code
791 --with-llvmobj Location of LLVM Object Code
792
793Report bugs to <bugs@yourdomain>.
794_ACEOF
795fi
796
797if test "$ac_init_help" = "recursive"; then
798 # If there are subdirs, report their specific --help.
Dan Gohman324f6082009-03-25 00:52:11 +0000799 ac_popdir=`pwd`
John Criswell451f67f2003-10-16 01:45:35 +0000800 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
Dan Gohman324f6082009-03-25 00:52:11 +0000801 test -d $ac_dir || continue
John Criswell451f67f2003-10-16 01:45:35 +0000802 ac_builddir=.
803
Dan Gohman324f6082009-03-25 00:52:11 +0000804if test "$ac_dir" != .; then
John Criswell451f67f2003-10-16 01:45:35 +0000805 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
Dan Gohman324f6082009-03-25 00:52:11 +0000806 # A "../" for each directory in $ac_dir_suffix.
807 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
808else
809 ac_dir_suffix= ac_top_builddir=
810fi
John Criswell451f67f2003-10-16 01:45:35 +0000811
812case $srcdir in
Dan Gohman324f6082009-03-25 00:52:11 +0000813 .) # No --srcdir option. We are building in place.
John Criswell451f67f2003-10-16 01:45:35 +0000814 ac_srcdir=.
Dan Gohman324f6082009-03-25 00:52:11 +0000815 if test -z "$ac_top_builddir"; then
816 ac_top_srcdir=.
817 else
818 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
819 fi ;;
820 [\\/]* | ?:[\\/]* ) # Absolute path.
John Criswell451f67f2003-10-16 01:45:35 +0000821 ac_srcdir=$srcdir$ac_dir_suffix;
Dan Gohman324f6082009-03-25 00:52:11 +0000822 ac_top_srcdir=$srcdir ;;
823 *) # Relative path.
824 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
825 ac_top_srcdir=$ac_top_builddir$srcdir ;;
John Criswell451f67f2003-10-16 01:45:35 +0000826esac
Reid Spencer9964cd82005-01-01 09:26:55 +0000827
Dan Gohman324f6082009-03-25 00:52:11 +0000828# Do not use `cd foo && pwd` to compute absolute paths, because
829# the directories may not exist.
830case `pwd` in
831.) ac_abs_builddir="$ac_dir";;
832*)
833 case "$ac_dir" in
834 .) ac_abs_builddir=`pwd`;;
835 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
836 *) ac_abs_builddir=`pwd`/"$ac_dir";;
837 esac;;
838esac
839case $ac_abs_builddir in
840.) ac_abs_top_builddir=${ac_top_builddir}.;;
841*)
842 case ${ac_top_builddir}. in
843 .) ac_abs_top_builddir=$ac_abs_builddir;;
844 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
845 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
846 esac;;
847esac
848case $ac_abs_builddir in
849.) ac_abs_srcdir=$ac_srcdir;;
850*)
851 case $ac_srcdir in
852 .) ac_abs_srcdir=$ac_abs_builddir;;
853 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
854 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
855 esac;;
856esac
857case $ac_abs_builddir in
858.) ac_abs_top_srcdir=$ac_top_srcdir;;
859*)
860 case $ac_top_srcdir in
861 .) ac_abs_top_srcdir=$ac_abs_builddir;;
862 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
863 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
864 esac;;
865esac
866
867 cd $ac_dir
868 # Check for guested configure; otherwise get Cygnus style configure.
869 if test -f $ac_srcdir/configure.gnu; then
870 echo
871 $SHELL $ac_srcdir/configure.gnu --help=recursive
872 elif test -f $ac_srcdir/configure; then
873 echo
874 $SHELL $ac_srcdir/configure --help=recursive
875 elif test -f $ac_srcdir/configure.ac ||
876 test -f $ac_srcdir/configure.in; then
877 echo
878 $ac_configure --help
John Criswell451f67f2003-10-16 01:45:35 +0000879 else
880 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
Dan Gohman324f6082009-03-25 00:52:11 +0000881 fi
882 cd $ac_popdir
John Criswell451f67f2003-10-16 01:45:35 +0000883 done
884fi
885
Dan Gohman324f6082009-03-25 00:52:11 +0000886test -n "$ac_init_help" && exit 0
John Criswell451f67f2003-10-16 01:45:35 +0000887if $ac_init_version; then
888 cat <<\_ACEOF
889[SAMPLE] configure [x.xx]
Dan Gohman324f6082009-03-25 00:52:11 +0000890generated by GNU Autoconf 2.59
John Criswell451f67f2003-10-16 01:45:35 +0000891
Dan Gohman324f6082009-03-25 00:52:11 +0000892Copyright (C) 2003 Free Software Foundation, Inc.
John Criswell451f67f2003-10-16 01:45:35 +0000893This configure script is free software; the Free Software Foundation
894gives unlimited permission to copy, distribute and modify it.
895_ACEOF
Dan Gohman324f6082009-03-25 00:52:11 +0000896 exit 0
John Criswell451f67f2003-10-16 01:45:35 +0000897fi
Dan Gohman324f6082009-03-25 00:52:11 +0000898exec 5>config.log
899cat >&5 <<_ACEOF
John Criswell451f67f2003-10-16 01:45:35 +0000900This file contains any messages produced by compilers while
901running configure, to aid debugging if configure makes a mistake.
902
903It was created by [SAMPLE] $as_me [x.xx], which was
Dan Gohman324f6082009-03-25 00:52:11 +0000904generated by GNU Autoconf 2.59. Invocation command line was
John Criswell451f67f2003-10-16 01:45:35 +0000905
906 $ $0 $@
907
908_ACEOF
909{
910cat <<_ASUNAME
911## --------- ##
912## Platform. ##
913## --------- ##
914
915hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
916uname -m = `(uname -m) 2>/dev/null || echo unknown`
917uname -r = `(uname -r) 2>/dev/null || echo unknown`
918uname -s = `(uname -s) 2>/dev/null || echo unknown`
919uname -v = `(uname -v) 2>/dev/null || echo unknown`
920
921/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
922/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
923
924/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
925/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
926/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
Dan Gohman324f6082009-03-25 00:52:11 +0000927hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
John Criswell451f67f2003-10-16 01:45:35 +0000928/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
929/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
930/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
931
932_ASUNAME
933
934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
935for as_dir in $PATH
936do
937 IFS=$as_save_IFS
938 test -z "$as_dir" && as_dir=.
939 echo "PATH: $as_dir"
940done
941
942} >&5
943
944cat >&5 <<_ACEOF
945
946
947## ----------- ##
948## Core tests. ##
949## ----------- ##
950
951_ACEOF
952
953
954# Keep a trace of the command line.
955# Strip out --no-create and --no-recursion so they do not pile up.
956# Strip out --silent because we don't want to record it for future runs.
957# Also quote any args containing shell meta-characters.
958# Make two passes to allow for proper duplicate-argument suppression.
959ac_configure_args=
960ac_configure_args0=
961ac_configure_args1=
Dan Gohman324f6082009-03-25 00:52:11 +0000962ac_sep=
John Criswell451f67f2003-10-16 01:45:35 +0000963ac_must_keep_next=false
964for ac_pass in 1 2
965do
966 for ac_arg
967 do
968 case $ac_arg in
969 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
970 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
971 | -silent | --silent | --silen | --sile | --sil)
972 continue ;;
Dan Gohman324f6082009-03-25 00:52:11 +0000973 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
John Criswell451f67f2003-10-16 01:45:35 +0000974 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
975 esac
976 case $ac_pass in
977 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
978 2)
979 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
980 if test $ac_must_keep_next = true; then
Reid Spencer9964cd82005-01-01 09:26:55 +0000981 ac_must_keep_next=false # Got value, back to normal.
John Criswell451f67f2003-10-16 01:45:35 +0000982 else
Reid Spencer9964cd82005-01-01 09:26:55 +0000983 case $ac_arg in
984 *=* | --config-cache | -C | -disable-* | --disable-* \
985 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
986 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
987 | -with-* | --with-* | -without-* | --without-* | --x)
988 case "$ac_configure_args0 " in
989 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
990 esac
991 ;;
992 -* ) ac_must_keep_next=true ;;
993 esac
John Criswell451f67f2003-10-16 01:45:35 +0000994 fi
Dan Gohman324f6082009-03-25 00:52:11 +0000995 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
996 # Get rid of the leading space.
997 ac_sep=" "
John Criswell451f67f2003-10-16 01:45:35 +0000998 ;;
999 esac
1000 done
1001done
1002$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1003$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1004
1005# When interrupted or exit'd, cleanup temporary files, and complete
1006# config.log. We remove comments because anyway the quotes in there
1007# would cause problems or look ugly.
Dan Gohman324f6082009-03-25 00:52:11 +00001008# WARNING: Be sure not to use single quotes in there, as some shells,
1009# such as our DU 5.0 friend, will then `close' the trap.
John Criswell451f67f2003-10-16 01:45:35 +00001010trap 'exit_status=$?
1011 # Save into config.log some information that might help in debugging.
1012 {
1013 echo
1014
1015 cat <<\_ASBOX
1016## ---------------- ##
1017## Cache variables. ##
1018## ---------------- ##
1019_ASBOX
1020 echo
1021 # The following way of writing the cache mishandles newlines in values,
Dan Gohman324f6082009-03-25 00:52:11 +00001022{
John Criswell451f67f2003-10-16 01:45:35 +00001023 (set) 2>&1 |
Dan Gohman324f6082009-03-25 00:52:11 +00001024 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1025 *ac_space=\ *)
John Criswell451f67f2003-10-16 01:45:35 +00001026 sed -n \
Dan Gohman324f6082009-03-25 00:52:11 +00001027 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1028 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
John Criswell451f67f2003-10-16 01:45:35 +00001029 ;;
Dan Gohman324f6082009-03-25 00:52:11 +00001030 *)
1031 sed -n \
1032 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1033 ;;
1034 esac;
1035}
John Criswell451f67f2003-10-16 01:45:35 +00001036 echo
1037
1038 cat <<\_ASBOX
1039## ----------------- ##
1040## Output variables. ##
1041## ----------------- ##
1042_ASBOX
1043 echo
1044 for ac_var in $ac_subst_vars
1045 do
Dan Gohman324f6082009-03-25 00:52:11 +00001046 eval ac_val=$`echo $ac_var`
1047 echo "$ac_var='"'"'$ac_val'"'"'"
John Criswell451f67f2003-10-16 01:45:35 +00001048 done | sort
1049 echo
1050
1051 if test -n "$ac_subst_files"; then
1052 cat <<\_ASBOX
Dan Gohman324f6082009-03-25 00:52:11 +00001053## ------------- ##
1054## Output files. ##
1055## ------------- ##
John Criswell451f67f2003-10-16 01:45:35 +00001056_ASBOX
1057 echo
1058 for ac_var in $ac_subst_files
1059 do
Dan Gohman324f6082009-03-25 00:52:11 +00001060 eval ac_val=$`echo $ac_var`
1061 echo "$ac_var='"'"'$ac_val'"'"'"
John Criswell451f67f2003-10-16 01:45:35 +00001062 done | sort
1063 echo
1064 fi
1065
1066 if test -s confdefs.h; then
1067 cat <<\_ASBOX
1068## ----------- ##
1069## confdefs.h. ##
1070## ----------- ##
1071_ASBOX
1072 echo
Dan Gohman324f6082009-03-25 00:52:11 +00001073 sed "/^$/d" confdefs.h | sort
John Criswell451f67f2003-10-16 01:45:35 +00001074 echo
1075 fi
1076 test "$ac_signal" != 0 &&
1077 echo "$as_me: caught signal $ac_signal"
1078 echo "$as_me: exit $exit_status"
1079 } >&5
Dan Gohman324f6082009-03-25 00:52:11 +00001080 rm -f core *.core &&
1081 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
John Criswell451f67f2003-10-16 01:45:35 +00001082 exit $exit_status
Dan Gohman324f6082009-03-25 00:52:11 +00001083 ' 0
John Criswell451f67f2003-10-16 01:45:35 +00001084for ac_signal in 1 2 13 15; do
1085 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1086done
1087ac_signal=0
1088
1089# confdefs.h avoids OS command line length limits that DEFS can exceed.
Dan Gohman324f6082009-03-25 00:52:11 +00001090rm -rf conftest* confdefs.h
1091# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1092echo >confdefs.h
John Criswell451f67f2003-10-16 01:45:35 +00001093
1094# Predefined preprocessor variables.
1095
1096cat >>confdefs.h <<_ACEOF
1097#define PACKAGE_NAME "$PACKAGE_NAME"
1098_ACEOF
1099
1100
1101cat >>confdefs.h <<_ACEOF
1102#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1103_ACEOF
1104
1105
1106cat >>confdefs.h <<_ACEOF
1107#define PACKAGE_VERSION "$PACKAGE_VERSION"
1108_ACEOF
1109
1110
1111cat >>confdefs.h <<_ACEOF
1112#define PACKAGE_STRING "$PACKAGE_STRING"
1113_ACEOF
1114
1115
1116cat >>confdefs.h <<_ACEOF
1117#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1118_ACEOF
1119
1120
1121# Let the site file select an alternate cache file if it wants to.
1122# Prefer explicitly selected file to automatically selected ones.
Dan Gohman324f6082009-03-25 00:52:11 +00001123if test -z "$CONFIG_SITE"; then
1124 if test "x$prefix" != xNONE; then
1125 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1126 else
1127 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1128 fi
John Criswell451f67f2003-10-16 01:45:35 +00001129fi
Dan Gohman324f6082009-03-25 00:52:11 +00001130for ac_site_file in $CONFIG_SITE; do
John Criswell451f67f2003-10-16 01:45:35 +00001131 if test -r "$ac_site_file"; then
1132 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1133echo "$as_me: loading site script $ac_site_file" >&6;}
1134 sed 's/^/| /' "$ac_site_file" >&5
1135 . "$ac_site_file"
1136 fi
1137done
1138
1139if test -r "$cache_file"; then
1140 # Some versions of bash will fail to source /dev/null (special
1141 # files actually), so we avoid doing that.
1142 if test -f "$cache_file"; then
1143 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1144echo "$as_me: loading cache $cache_file" >&6;}
1145 case $cache_file in
Dan Gohman324f6082009-03-25 00:52:11 +00001146 [\\/]* | ?:[\\/]* ) . $cache_file;;
1147 *) . ./$cache_file;;
John Criswell451f67f2003-10-16 01:45:35 +00001148 esac
1149 fi
1150else
1151 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1152echo "$as_me: creating cache $cache_file" >&6;}
1153 >$cache_file
1154fi
1155
1156# Check that the precious variables saved in the cache have kept the same
1157# value.
1158ac_cache_corrupted=false
Dan Gohman324f6082009-03-25 00:52:11 +00001159for ac_var in `(set) 2>&1 |
1160 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
John Criswell451f67f2003-10-16 01:45:35 +00001161 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1162 eval ac_new_set=\$ac_env_${ac_var}_set
Dan Gohman324f6082009-03-25 00:52:11 +00001163 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1164 eval ac_new_val="\$ac_env_${ac_var}_value"
John Criswell451f67f2003-10-16 01:45:35 +00001165 case $ac_old_set,$ac_new_set in
1166 set,)
1167 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1168echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1169 ac_cache_corrupted=: ;;
1170 ,set)
1171 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1172echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1173 ac_cache_corrupted=: ;;
1174 ,);;
1175 *)
1176 if test "x$ac_old_val" != "x$ac_new_val"; then
Reid Spencer9964cd82005-01-01 09:26:55 +00001177 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
John Criswell451f67f2003-10-16 01:45:35 +00001178echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
Reid Spencer9964cd82005-01-01 09:26:55 +00001179 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
John Criswell451f67f2003-10-16 01:45:35 +00001180echo "$as_me: former value: $ac_old_val" >&2;}
Reid Spencer9964cd82005-01-01 09:26:55 +00001181 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
John Criswell451f67f2003-10-16 01:45:35 +00001182echo "$as_me: current value: $ac_new_val" >&2;}
Reid Spencer9964cd82005-01-01 09:26:55 +00001183 ac_cache_corrupted=:
John Criswell451f67f2003-10-16 01:45:35 +00001184 fi;;
1185 esac
1186 # Pass precious variables to config.status.
1187 if test "$ac_new_set" = set; then
1188 case $ac_new_val in
Dan Gohman324f6082009-03-25 00:52:11 +00001189 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1190 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
John Criswell451f67f2003-10-16 01:45:35 +00001191 *) ac_arg=$ac_var=$ac_new_val ;;
1192 esac
1193 case " $ac_configure_args " in
1194 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1195 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1196 esac
1197 fi
1198done
1199if $ac_cache_corrupted; then
1200 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1201echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1202 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1203echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1204 { (exit 1); exit 1; }; }
1205fi
1206
1207ac_ext=c
1208ac_cpp='$CPP $CPPFLAGS'
1209ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1210ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1211ac_compiler_gnu=$ac_cv_c_compiler_gnu
1212
1213
1214
Dan Gohman324f6082009-03-25 00:52:11 +00001215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
John Criswell451f67f2003-10-16 01:45:35 +00001240ac_aux_dir=
Dan Gohman324f6082009-03-25 00:52:11 +00001241for ac_dir in ../../autoconf $srcdir/../../autoconf; do
1242 if test -f $ac_dir/install-sh; then
John Criswell451f67f2003-10-16 01:45:35 +00001243 ac_aux_dir=$ac_dir
1244 ac_install_sh="$ac_aux_dir/install-sh -c"
1245 break
Dan Gohman324f6082009-03-25 00:52:11 +00001246 elif test -f $ac_dir/install.sh; then
John Criswell451f67f2003-10-16 01:45:35 +00001247 ac_aux_dir=$ac_dir
1248 ac_install_sh="$ac_aux_dir/install.sh -c"
1249 break
Dan Gohman324f6082009-03-25 00:52:11 +00001250 elif test -f $ac_dir/shtool; then
John Criswell451f67f2003-10-16 01:45:35 +00001251 ac_aux_dir=$ac_dir
1252 ac_install_sh="$ac_aux_dir/shtool install -c"
1253 break
1254 fi
1255done
1256if test -z "$ac_aux_dir"; then
Dan Gohman324f6082009-03-25 00:52:11 +00001257 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../autoconf $srcdir/../../autoconf" >&5
1258echo "$as_me: error: cannot find install-sh or install.sh in ../../autoconf $srcdir/../../autoconf" >&2;}
John Criswell451f67f2003-10-16 01:45:35 +00001259 { (exit 1); exit 1; }; }
1260fi
Dan Gohman324f6082009-03-25 00:52:11 +00001261ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1262ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1263ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
John Criswell451f67f2003-10-16 01:45:35 +00001264
1265
Reid Spencer9964cd82005-01-01 09:26:55 +00001266
Dan Gohman324f6082009-03-25 00:52:11 +00001267# Check whether --with-llvmsrc or --without-llvmsrc was given.
Reid Spencer421ec052005-02-24 18:53:47 +00001268if test "${with_llvmsrc+set}" = set; then
Dan Gohman324f6082009-03-25 00:52:11 +00001269 withval="$with_llvmsrc"
1270 llvm_src="$withval"
Reid Spencer421ec052005-02-24 18:53:47 +00001271else
Dan Gohman324f6082009-03-25 00:52:11 +00001272 llvm_src=`cd ${srcdir}/../..; pwd`
1273fi;
Reid Spencer421ec052005-02-24 18:53:47 +00001274 LLVM_SRC=$llvm_src
1275
1276
Dan Gohman324f6082009-03-25 00:52:11 +00001277# Check whether --with-llvmobj or --without-llvmobj was given.
Reid Spencer421ec052005-02-24 18:53:47 +00001278if test "${with_llvmobj+set}" = set; then
Dan Gohman324f6082009-03-25 00:52:11 +00001279 withval="$with_llvmobj"
1280 llvm_obj="$withval"
Reid Spencer421ec052005-02-24 18:53:47 +00001281else
Dan Gohman324f6082009-03-25 00:52:11 +00001282 llvm_obj=`cd ../..; pwd`
1283fi;
Reid Spencer421ec052005-02-24 18:53:47 +00001284 LLVM_OBJ=$llvm_obj
1285
Dan Gohman324f6082009-03-25 00:52:11 +00001286 ac_config_commands="$ac_config_commands setup"
Reid Spencer421ec052005-02-24 18:53:47 +00001287
1288
1289
1290
1291
Dan Gohman324f6082009-03-25 00:52:11 +00001292 ac_config_files="$ac_config_files Makefile.common"
John Criswell451f67f2003-10-16 01:45:35 +00001293
1294
Dan Gohman324f6082009-03-25 00:52:11 +00001295 ac_config_commands="$ac_config_commands Makefile"
John Criswell451f67f2003-10-16 01:45:35 +00001296
1297
Dan Gohman324f6082009-03-25 00:52:11 +00001298 ac_config_commands="$ac_config_commands lib/Makefile"
John Criswell451f67f2003-10-16 01:45:35 +00001299
1300
Dan Gohman324f6082009-03-25 00:52:11 +00001301 ac_config_commands="$ac_config_commands lib/sample/Makefile"
John Criswell451f67f2003-10-16 01:45:35 +00001302
1303
Dan Gohman324f6082009-03-25 00:52:11 +00001304 ac_config_commands="$ac_config_commands tools/Makefile"
John Criswell451f67f2003-10-16 01:45:35 +00001305
1306
Dan Gohman324f6082009-03-25 00:52:11 +00001307 ac_config_commands="$ac_config_commands tools/sample/Makefile"
John Criswell451f67f2003-10-16 01:45:35 +00001308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
John Criswell451f67f2003-10-16 01:45:35 +00001320cat >confcache <<\_ACEOF
1321# This file is a shell script that caches the results of configure
1322# tests run on this system so they can be shared between configure
1323# scripts and configure runs, see configure's option --config-cache.
1324# It is not useful on other systems. If it contains results you don't
1325# want to keep, you may remove or edit it.
1326#
1327# config.status only pays attention to the cache file if you give it
1328# the --recheck option to rerun configure.
1329#
1330# `ac_cv_env_foo' variables (set or unset) will be overridden when
1331# loading this file, other *unset* `ac_cv_foo' will be assigned the
1332# following values.
1333
1334_ACEOF
1335
1336# The following way of writing the cache mishandles newlines in values,
1337# but we know of no workaround that is simple, portable, and efficient.
Dan Gohman324f6082009-03-25 00:52:11 +00001338# So, don't put newlines in cache variables' values.
John Criswell451f67f2003-10-16 01:45:35 +00001339# Ultrix sh set writes to stderr and can't be redirected directly,
1340# and sets the high bit in the cache file unless we assign to the vars.
Dan Gohman324f6082009-03-25 00:52:11 +00001341{
John Criswell451f67f2003-10-16 01:45:35 +00001342 (set) 2>&1 |
Dan Gohman324f6082009-03-25 00:52:11 +00001343 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1344 *ac_space=\ *)
John Criswell451f67f2003-10-16 01:45:35 +00001345 # `set' does not quote correctly, so add quotes (double-quote
1346 # substitution turns \\\\ into \\, and sed turns \\ into \).
1347 sed -n \
Reid Spencer9964cd82005-01-01 09:26:55 +00001348 "s/'/'\\\\''/g;
1349 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
Dan Gohman324f6082009-03-25 00:52:11 +00001350 ;;
John Criswell451f67f2003-10-16 01:45:35 +00001351 *)
1352 # `set' quotes correctly as required by POSIX, so do not add quotes.
Dan Gohman324f6082009-03-25 00:52:11 +00001353 sed -n \
1354 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
John Criswell451f67f2003-10-16 01:45:35 +00001355 ;;
Dan Gohman324f6082009-03-25 00:52:11 +00001356 esac;
1357} |
John Criswell451f67f2003-10-16 01:45:35 +00001358 sed '
1359 t clear
Dan Gohman324f6082009-03-25 00:52:11 +00001360 : clear
John Criswell451f67f2003-10-16 01:45:35 +00001361 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1362 t end
Dan Gohman324f6082009-03-25 00:52:11 +00001363 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1364 : end' >>confcache
1365if diff $cache_file confcache >/dev/null 2>&1; then :; else
1366 if test -w $cache_file; then
1367 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
John Criswell451f67f2003-10-16 01:45:35 +00001368 cat confcache >$cache_file
1369 else
Dan Gohman324f6082009-03-25 00:52:11 +00001370 echo "not updating unwritable cache $cache_file"
John Criswell451f67f2003-10-16 01:45:35 +00001371 fi
1372fi
1373rm -f confcache
1374
1375test "x$prefix" = xNONE && prefix=$ac_default_prefix
1376# Let make expand exec_prefix.
1377test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1378
Dan Gohman324f6082009-03-25 00:52:11 +00001379# VPATH may cause trouble with some makes, so we remove $(srcdir),
1380# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1381# trailing colons and then remove the whole line if VPATH becomes empty
1382# (actually we leave an empty line to preserve line numbers).
1383if test "x$srcdir" = x.; then
1384 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1385s/:*\$(srcdir):*/:/;
1386s/:*\${srcdir}:*/:/;
1387s/:*@srcdir@:*/:/;
1388s/^\([^=]*=[ ]*\):*/\1/;
1389s/:*$//;
1390s/^[^=]*=[ ]*$//;
1391}'
1392fi
1393
John Criswell451f67f2003-10-16 01:45:35 +00001394# Transform confdefs.h into DEFS.
1395# Protect against shell expansion while executing Makefile rules.
1396# Protect against Makefile macro expansion.
1397#
1398# If the first sed substitution is executed (which looks for macros that
Dan Gohman324f6082009-03-25 00:52:11 +00001399# take arguments), then we branch to the quote section. Otherwise,
John Criswell451f67f2003-10-16 01:45:35 +00001400# look for a macro that doesn't take arguments.
Dan Gohman324f6082009-03-25 00:52:11 +00001401cat >confdef2opt.sed <<\_ACEOF
John Criswell451f67f2003-10-16 01:45:35 +00001402t clear
Dan Gohman324f6082009-03-25 00:52:11 +00001403: clear
1404s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
John Criswell451f67f2003-10-16 01:45:35 +00001405t quote
Dan Gohman324f6082009-03-25 00:52:11 +00001406s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
John Criswell451f67f2003-10-16 01:45:35 +00001407t quote
Dan Gohman324f6082009-03-25 00:52:11 +00001408d
1409: quote
1410s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1411s,\[,\\&,g
1412s,\],\\&,g
1413s,\$,$$,g
1414p
1415_ACEOF
1416# We use echo to avoid assuming a particular line-breaking character.
1417# The extra dot is to prevent the shell from consuming trailing
1418# line-breaks from the sub-command output. A line-break within
1419# single-quotes doesn't work because, if this script is created in a
1420# platform that uses two characters for line-breaks (e.g., DOS), tr
1421# would break.
1422ac_LF_and_DOT=`echo; echo .`
1423DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1424rm -f confdef2opt.sed
John Criswell451f67f2003-10-16 01:45:35 +00001425
1426
1427ac_libobjs=
1428ac_ltlibobjs=
1429for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1430 # 1. Remove the extension, and $U if already installed.
Dan Gohman324f6082009-03-25 00:52:11 +00001431 ac_i=`echo "$ac_i" |
1432 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1433 # 2. Add them.
1434 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1435 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
John Criswell451f67f2003-10-16 01:45:35 +00001436done
1437LIBOBJS=$ac_libobjs
1438
1439LTLIBOBJS=$ac_ltlibobjs
1440
1441
1442
1443: ${CONFIG_STATUS=./config.status}
1444ac_clean_files_save=$ac_clean_files
1445ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1446{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1447echo "$as_me: creating $CONFIG_STATUS" >&6;}
1448cat >$CONFIG_STATUS <<_ACEOF
1449#! $SHELL
1450# Generated by $as_me.
1451# Run this file to recreate the current configuration.
1452# Compiler output produced by configure, useful for debugging
1453# configure, is in config.log if it exists.
1454
1455debug=false
1456ac_cs_recheck=false
1457ac_cs_silent=false
1458SHELL=\${CONFIG_SHELL-$SHELL}
1459_ACEOF
1460
1461cat >>$CONFIG_STATUS <<\_ACEOF
1462## --------------------- ##
1463## M4sh Initialization. ##
1464## --------------------- ##
1465
Dan Gohman324f6082009-03-25 00:52:11 +00001466# Be Bourne compatible
John Criswell451f67f2003-10-16 01:45:35 +00001467if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1468 emulate sh
1469 NULLCMD=:
1470 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1471 # is contrary to our usage. Disable this feature.
1472 alias -g '${1+"$@"}'='"$@"'
Dan Gohman324f6082009-03-25 00:52:11 +00001473elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1474 set -o posix
1475fi
1476DUALCASE=1; export DUALCASE # for MKS sh
Dan Gohmand02a2812009-03-24 23:47:11 +00001477
Dan Gohman324f6082009-03-25 00:52:11 +00001478# Support unset when possible.
1479if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1480 as_unset=unset
1481else
1482 as_unset=false
John Criswell451f67f2003-10-16 01:45:35 +00001483fi
1484
1485
Dan Gohman324f6082009-03-25 00:52:11 +00001486# Work around bugs in pre-3.0 UWIN ksh.
1487$as_unset ENV MAIL MAILPATH
1488PS1='$ '
1489PS2='> '
1490PS4='+ '
1491
1492# NLS nuisances.
1493for as_var in \
1494 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1495 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1496 LC_TELEPHONE LC_TIME
1497do
1498 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1499 eval $as_var=C; export $as_var
1500 else
1501 $as_unset $as_var
1502 fi
1503done
1504
1505# Required to use basename.
1506if expr a : '\(a\)' >/dev/null 2>&1; then
1507 as_expr=expr
1508else
1509 as_expr=false
1510fi
1511
1512if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1513 as_basename=basename
1514else
1515 as_basename=false
1516fi
John Criswell451f67f2003-10-16 01:45:35 +00001517
1518
Dan Gohman324f6082009-03-25 00:52:11 +00001519# Name of the executable.
1520as_me=`$as_basename "$0" ||
1521$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1522 X"$0" : 'X\(//\)$' \| \
1523 X"$0" : 'X\(/\)$' \| \
1524 . : '\(.\)' 2>/dev/null ||
1525echo X/"$0" |
1526 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1527 /^X\/\(\/\/\)$/{ s//\1/; q; }
1528 /^X\/\(\/\).*/{ s//\1/; q; }
1529 s/.*/./; q'`
1530
1531
1532# PATH needs CR, and LINENO needs CR and PATH.
John Criswell451f67f2003-10-16 01:45:35 +00001533# Avoid depending upon Character Ranges.
1534as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1535as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1536as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1537as_cr_digits='0123456789'
1538as_cr_alnum=$as_cr_Letters$as_cr_digits
1539
1540# The user is always right.
1541if test "${PATH_SEPARATOR+set}" != set; then
1542 echo "#! /bin/sh" >conf$$.sh
1543 echo "exit 0" >>conf$$.sh
1544 chmod +x conf$$.sh
1545 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1546 PATH_SEPARATOR=';'
1547 else
1548 PATH_SEPARATOR=:
1549 fi
1550 rm -f conf$$.sh
1551fi
1552
1553
Dan Gohman324f6082009-03-25 00:52:11 +00001554 as_lineno_1=$LINENO
1555 as_lineno_2=$LINENO
1556 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1557 test "x$as_lineno_1" != "x$as_lineno_2" &&
1558 test "x$as_lineno_3" = "x$as_lineno_2" || {
1559 # Find who we are. Look in the path if we contain no path at all
1560 # relative or not.
1561 case $0 in
1562 *[\\/]* ) as_myself=$0 ;;
1563 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
John Criswell451f67f2003-10-16 01:45:35 +00001564for as_dir in $PATH
1565do
1566 IFS=$as_save_IFS
1567 test -z "$as_dir" && as_dir=.
1568 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1569done
1570
Dan Gohman324f6082009-03-25 00:52:11 +00001571 ;;
1572 esac
1573 # We did not find ourselves, most probably we were run as `sh COMMAND'
1574 # in which case we are not to be found in the path.
1575 if test "x$as_myself" = x; then
1576 as_myself=$0
Dan Gohmand02a2812009-03-24 23:47:11 +00001577 fi
Dan Gohman324f6082009-03-25 00:52:11 +00001578 if test ! -f "$as_myself"; then
1579 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1580echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1581 { (exit 1); exit 1; }; }
1582 fi
1583 case $CONFIG_SHELL in
1584 '')
1585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1586for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1587do
1588 IFS=$as_save_IFS
1589 test -z "$as_dir" && as_dir=.
1590 for as_base in sh bash ksh sh5; do
1591 case $as_dir in
1592 /*)
1593 if ("$as_dir/$as_base" -c '
John Criswell451f67f2003-10-16 01:45:35 +00001594 as_lineno_1=$LINENO
1595 as_lineno_2=$LINENO
Dan Gohman324f6082009-03-25 00:52:11 +00001596 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
John Criswell451f67f2003-10-16 01:45:35 +00001597 test "x$as_lineno_1" != "x$as_lineno_2" &&
Dan Gohman324f6082009-03-25 00:52:11 +00001598 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1599 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1600 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1601 CONFIG_SHELL=$as_dir/$as_base
1602 export CONFIG_SHELL
1603 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1604 fi;;
1605 esac
1606 done
1607done
1608;;
1609 esac
John Criswell451f67f2003-10-16 01:45:35 +00001610
1611 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1612 # uniformly replaced by the line number. The first 'sed' inserts a
Dan Gohman324f6082009-03-25 00:52:11 +00001613 # line-number line before each line; the second 'sed' does the real
1614 # work. The second script uses 'N' to pair each line-number line
1615 # with the numbered line, and appends trailing '-' during
1616 # substitution so that $LINENO is not a special case at line end.
John Criswell451f67f2003-10-16 01:45:35 +00001617 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
Dan Gohman324f6082009-03-25 00:52:11 +00001618 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1619 sed '=' <$as_myself |
John Criswell451f67f2003-10-16 01:45:35 +00001620 sed '
1621 N
Dan Gohman324f6082009-03-25 00:52:11 +00001622 s,$,-,
1623 : loop
1624 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
John Criswell451f67f2003-10-16 01:45:35 +00001625 t loop
Dan Gohman324f6082009-03-25 00:52:11 +00001626 s,-$,,
1627 s,^['$as_cr_digits']*\n,,
John Criswell451f67f2003-10-16 01:45:35 +00001628 ' >$as_me.lineno &&
Dan Gohman324f6082009-03-25 00:52:11 +00001629 chmod +x $as_me.lineno ||
1630 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1631echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
John Criswell451f67f2003-10-16 01:45:35 +00001632 { (exit 1); exit 1; }; }
1633
1634 # Don't try to exec as it changes $[0], causing all sort of problems
1635 # (the dirname of $[0] is not the place where we might find the
Dan Gohman324f6082009-03-25 00:52:11 +00001636 # original and so on. Autoconf is especially sensible to this).
1637 . ./$as_me.lineno
John Criswell451f67f2003-10-16 01:45:35 +00001638 # Exit status is that of the last command.
1639 exit
1640}
1641
1642
Dan Gohman324f6082009-03-25 00:52:11 +00001643case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1644 *c*,-n*) ECHO_N= ECHO_C='
1645' ECHO_T=' ' ;;
1646 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1647 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
John Criswell451f67f2003-10-16 01:45:35 +00001648esac
1649
Dan Gohman324f6082009-03-25 00:52:11 +00001650if expr a : '\(a\)' >/dev/null 2>&1; then
John Criswell451f67f2003-10-16 01:45:35 +00001651 as_expr=expr
1652else
1653 as_expr=false
1654fi
1655
1656rm -f conf$$ conf$$.exe conf$$.file
1657echo >conf$$.file
1658if ln -s conf$$.file conf$$ 2>/dev/null; then
Dan Gohman324f6082009-03-25 00:52:11 +00001659 # We could just check for DJGPP; but this test a) works b) is more generic
1660 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1661 if test -f conf$$.exe; then
1662 # Don't use ln at all; we don't have any links
John Criswell451f67f2003-10-16 01:45:35 +00001663 as_ln_s='cp -p'
Dan Gohman324f6082009-03-25 00:52:11 +00001664 else
1665 as_ln_s='ln -s'
1666 fi
John Criswell451f67f2003-10-16 01:45:35 +00001667elif ln conf$$.file conf$$ 2>/dev/null; then
1668 as_ln_s=ln
1669else
1670 as_ln_s='cp -p'
1671fi
Dan Gohman324f6082009-03-25 00:52:11 +00001672rm -f conf$$ conf$$.exe conf$$.file
John Criswell451f67f2003-10-16 01:45:35 +00001673
1674if mkdir -p . 2>/dev/null; then
1675 as_mkdir_p=:
1676else
Reid Spencer9964cd82005-01-01 09:26:55 +00001677 test -d ./-p && rmdir ./-p
John Criswell451f67f2003-10-16 01:45:35 +00001678 as_mkdir_p=false
1679fi
1680
Dan Gohman324f6082009-03-25 00:52:11 +00001681as_executable_p="test -f"
John Criswell451f67f2003-10-16 01:45:35 +00001682
1683# Sed expression to map a string onto a valid CPP name.
Reid Spencer9964cd82005-01-01 09:26:55 +00001684as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
John Criswell451f67f2003-10-16 01:45:35 +00001685
1686# Sed expression to map a string onto a valid variable name.
Reid Spencer9964cd82005-01-01 09:26:55 +00001687as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
John Criswell451f67f2003-10-16 01:45:35 +00001688
1689
Dan Gohman324f6082009-03-25 00:52:11 +00001690# IFS
1691# We need space, tab and new line, in precisely that order.
1692as_nl='
1693'
1694IFS=" $as_nl"
1695
1696# CDPATH.
1697$as_unset CDPATH
1698
John Criswell451f67f2003-10-16 01:45:35 +00001699exec 6>&1
1700
Dan Gohman324f6082009-03-25 00:52:11 +00001701# Open the log real soon, to keep \$[0] and so on meaningful, and to
John Criswell451f67f2003-10-16 01:45:35 +00001702# report actual input values of CONFIG_FILES etc. instead of their
Dan Gohman324f6082009-03-25 00:52:11 +00001703# values after options handling. Logging --version etc. is OK.
1704exec 5>>config.log
1705{
1706 echo
1707 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1708## Running $as_me. ##
1709_ASBOX
1710} >&5
1711cat >&5 <<_CSEOF
1712
John Criswell451f67f2003-10-16 01:45:35 +00001713This file was extended by [SAMPLE] $as_me [x.xx], which was
Dan Gohman324f6082009-03-25 00:52:11 +00001714generated by GNU Autoconf 2.59. Invocation command line was
John Criswell451f67f2003-10-16 01:45:35 +00001715
1716 CONFIG_FILES = $CONFIG_FILES
1717 CONFIG_HEADERS = $CONFIG_HEADERS
1718 CONFIG_LINKS = $CONFIG_LINKS
1719 CONFIG_COMMANDS = $CONFIG_COMMANDS
1720 $ $0 $@
1721
Dan Gohman324f6082009-03-25 00:52:11 +00001722_CSEOF
1723echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1724echo >&5
John Criswell451f67f2003-10-16 01:45:35 +00001725_ACEOF
1726
1727# Files that config.status was made for.
Dan Gohman324f6082009-03-25 00:52:11 +00001728if test -n "$ac_config_files"; then
1729 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1730fi
John Criswell451f67f2003-10-16 01:45:35 +00001731
Dan Gohman324f6082009-03-25 00:52:11 +00001732if test -n "$ac_config_headers"; then
1733 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1734fi
1735
1736if test -n "$ac_config_links"; then
1737 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1738fi
1739
1740if test -n "$ac_config_commands"; then
1741 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1742fi
John Criswell451f67f2003-10-16 01:45:35 +00001743
1744cat >>$CONFIG_STATUS <<\_ACEOF
Dan Gohman324f6082009-03-25 00:52:11 +00001745
John Criswell451f67f2003-10-16 01:45:35 +00001746ac_cs_usage="\
1747\`$as_me' instantiates files from templates according to the
1748current configuration.
1749
1750Usage: $0 [OPTIONS] [FILE]...
1751
1752 -h, --help print this help, then exit
Dan Gohman324f6082009-03-25 00:52:11 +00001753 -V, --version print version number, then exit
John Criswell451f67f2003-10-16 01:45:35 +00001754 -q, --quiet do not print progress messages
1755 -d, --debug don't remove temporary files
1756 --recheck update $as_me by reconfiguring in the same conditions
1757 --file=FILE[:TEMPLATE]
Reid Spencer9964cd82005-01-01 09:26:55 +00001758 instantiate the configuration file FILE
John Criswell451f67f2003-10-16 01:45:35 +00001759
1760Configuration files:
1761$config_files
1762
1763Configuration commands:
1764$config_commands
1765
1766Report bugs to <bug-autoconf@gnu.org>."
Dan Gohmand02a2812009-03-24 23:47:11 +00001767_ACEOF
Dan Gohman324f6082009-03-25 00:52:11 +00001768
John Criswell451f67f2003-10-16 01:45:35 +00001769cat >>$CONFIG_STATUS <<_ACEOF
1770ac_cs_version="\\
1771[SAMPLE] config.status [x.xx]
Dan Gohman324f6082009-03-25 00:52:11 +00001772configured by $0, generated by GNU Autoconf 2.59,
1773 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
John Criswell451f67f2003-10-16 01:45:35 +00001774
Dan Gohman324f6082009-03-25 00:52:11 +00001775Copyright (C) 2003 Free Software Foundation, Inc.
John Criswell451f67f2003-10-16 01:45:35 +00001776This config.status script is free software; the Free Software Foundation
1777gives unlimited permission to copy, distribute and modify it."
Dan Gohman324f6082009-03-25 00:52:11 +00001778srcdir=$srcdir
John Criswell451f67f2003-10-16 01:45:35 +00001779_ACEOF
1780
1781cat >>$CONFIG_STATUS <<\_ACEOF
1782# If no file are specified by the user, then we need to provide default
1783# value. By we need to know if files were specified by the user.
1784ac_need_defaults=:
1785while test $# != 0
1786do
1787 case $1 in
1788 --*=*)
Dan Gohman324f6082009-03-25 00:52:11 +00001789 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1790 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
John Criswell451f67f2003-10-16 01:45:35 +00001791 ac_shift=:
1792 ;;
Dan Gohman324f6082009-03-25 00:52:11 +00001793 -*)
John Criswell451f67f2003-10-16 01:45:35 +00001794 ac_option=$1
1795 ac_optarg=$2
1796 ac_shift=shift
1797 ;;
Dan Gohman324f6082009-03-25 00:52:11 +00001798 *) # This is not an option, so the user has probably given explicit
1799 # arguments.
1800 ac_option=$1
1801 ac_need_defaults=false;;
John Criswell451f67f2003-10-16 01:45:35 +00001802 esac
1803
1804 case $ac_option in
1805 # Handling of the options.
Dan Gohman324f6082009-03-25 00:52:11 +00001806_ACEOF
1807cat >>$CONFIG_STATUS <<\_ACEOF
John Criswell451f67f2003-10-16 01:45:35 +00001808 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1809 ac_cs_recheck=: ;;
Dan Gohman324f6082009-03-25 00:52:11 +00001810 --version | --vers* | -V )
1811 echo "$ac_cs_version"; exit 0 ;;
1812 --he | --h)
1813 # Conflict between --help and --header
1814 { { echo "$as_me:$LINENO: error: ambiguous option: $1
1815Try \`$0 --help' for more information." >&5
1816echo "$as_me: error: ambiguous option: $1
1817Try \`$0 --help' for more information." >&2;}
1818 { (exit 1); exit 1; }; };;
1819 --help | --hel | -h )
1820 echo "$ac_cs_usage"; exit 0 ;;
1821 --debug | --d* | -d )
John Criswell451f67f2003-10-16 01:45:35 +00001822 debug=: ;;
1823 --file | --fil | --fi | --f )
1824 $ac_shift
1825 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1826 ac_need_defaults=false;;
Dan Gohman324f6082009-03-25 00:52:11 +00001827 --header | --heade | --head | --hea )
1828 $ac_shift
1829 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1830 ac_need_defaults=false;;
John Criswell451f67f2003-10-16 01:45:35 +00001831 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1832 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1833 ac_cs_silent=: ;;
1834
1835 # This is an error.
Dan Gohman324f6082009-03-25 00:52:11 +00001836 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1837Try \`$0 --help' for more information." >&5
1838echo "$as_me: error: unrecognized option: $1
1839Try \`$0 --help' for more information." >&2;}
John Criswell451f67f2003-10-16 01:45:35 +00001840 { (exit 1); exit 1; }; } ;;
1841
Dan Gohman324f6082009-03-25 00:52:11 +00001842 *) ac_config_targets="$ac_config_targets $1" ;;
John Criswell451f67f2003-10-16 01:45:35 +00001843
1844 esac
1845 shift
1846done
1847
1848ac_configure_extra_args=
1849
1850if $ac_cs_silent; then
1851 exec 6>/dev/null
1852 ac_configure_extra_args="$ac_configure_extra_args --silent"
1853fi
1854
1855_ACEOF
1856cat >>$CONFIG_STATUS <<_ACEOF
1857if \$ac_cs_recheck; then
Dan Gohman324f6082009-03-25 00:52:11 +00001858 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1859 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
John Criswell451f67f2003-10-16 01:45:35 +00001860fi
1861
1862_ACEOF
1863
1864cat >>$CONFIG_STATUS <<_ACEOF
1865#
Dan Gohman324f6082009-03-25 00:52:11 +00001866# INIT-COMMANDS section.
John Criswell451f67f2003-10-16 01:45:35 +00001867#
Dan Gohman324f6082009-03-25 00:52:11 +00001868
Reid Spencer421ec052005-02-24 18:53:47 +00001869llvm_src="${LLVM_SRC}"
John Criswell451f67f2003-10-16 01:45:35 +00001870
1871_ACEOF
1872
Dan Gohmand02a2812009-03-24 23:47:11 +00001873
Dan Gohman324f6082009-03-25 00:52:11 +00001874
1875cat >>$CONFIG_STATUS <<\_ACEOF
John Criswell451f67f2003-10-16 01:45:35 +00001876for ac_config_target in $ac_config_targets
1877do
Dan Gohman324f6082009-03-25 00:52:11 +00001878 case "$ac_config_target" in
1879 # Handling of arguments.
1880 "Makefile.common" ) CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
1881 "setup" ) CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
1882 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
1883 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
1884 "lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/sample/Makefile" ;;
1885 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
1886 "tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/sample/Makefile" ;;
John Criswell451f67f2003-10-16 01:45:35 +00001887 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1888echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1889 { (exit 1); exit 1; }; };;
1890 esac
1891done
1892
1893# If the user did not use the arguments to specify the items to instantiate,
1894# then the envvar interface is used. Set only those that are not.
1895# We use the long form for the default assignment because of an extremely
1896# bizarre bug on SunOS 4.1.3.
1897if $ac_need_defaults; then
1898 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1899 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
1900fi
1901
1902# Have a temporary directory for convenience. Make it in the build tree
Dan Gohman324f6082009-03-25 00:52:11 +00001903# simply because there is no reason to put it here, and in addition,
John Criswell451f67f2003-10-16 01:45:35 +00001904# creating and moving files from /tmp can sometimes cause problems.
Dan Gohman324f6082009-03-25 00:52:11 +00001905# Create a temporary directory, and hook for its removal unless debugging.
John Criswell451f67f2003-10-16 01:45:35 +00001906$debug ||
1907{
Dan Gohman324f6082009-03-25 00:52:11 +00001908 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
John Criswell451f67f2003-10-16 01:45:35 +00001909 trap '{ (exit 1); exit 1; }' 1 2 13 15
1910}
Dan Gohman324f6082009-03-25 00:52:11 +00001911
John Criswell451f67f2003-10-16 01:45:35 +00001912# Create a (secure) tmp directory for tmp files.
1913
1914{
Dan Gohman324f6082009-03-25 00:52:11 +00001915 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
John Criswell451f67f2003-10-16 01:45:35 +00001916 test -n "$tmp" && test -d "$tmp"
1917} ||
1918{
Dan Gohman324f6082009-03-25 00:52:11 +00001919 tmp=./confstat$$-$RANDOM
1920 (umask 077 && mkdir $tmp)
John Criswell451f67f2003-10-16 01:45:35 +00001921} ||
1922{
1923 echo "$me: cannot create a temporary directory in ." >&2
1924 { (exit 1); exit 1; }
1925}
1926
Dan Gohman324f6082009-03-25 00:52:11 +00001927_ACEOF
1928
1929cat >>$CONFIG_STATUS <<_ACEOF
1930
John Criswell451f67f2003-10-16 01:45:35 +00001931#
Dan Gohman324f6082009-03-25 00:52:11 +00001932# CONFIG_FILES section.
John Criswell451f67f2003-10-16 01:45:35 +00001933#
1934
1935# No need to generate the scripts if there are no CONFIG_FILES.
1936# This happens for instance when ./config.status config.h
Dan Gohman324f6082009-03-25 00:52:11 +00001937if test -n "\$CONFIG_FILES"; then
1938 # Protect against being on the right side of a sed subst in config.status.
1939 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1940 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1941s,@SHELL@,$SHELL,;t t
1942s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1943s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1944s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1945s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1946s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1947s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1948s,@exec_prefix@,$exec_prefix,;t t
1949s,@prefix@,$prefix,;t t
1950s,@program_transform_name@,$program_transform_name,;t t
1951s,@bindir@,$bindir,;t t
1952s,@sbindir@,$sbindir,;t t
1953s,@libexecdir@,$libexecdir,;t t
1954s,@datadir@,$datadir,;t t
1955s,@sysconfdir@,$sysconfdir,;t t
1956s,@sharedstatedir@,$sharedstatedir,;t t
1957s,@localstatedir@,$localstatedir,;t t
1958s,@libdir@,$libdir,;t t
1959s,@includedir@,$includedir,;t t
1960s,@oldincludedir@,$oldincludedir,;t t
1961s,@infodir@,$infodir,;t t
1962s,@mandir@,$mandir,;t t
1963s,@build_alias@,$build_alias,;t t
1964s,@host_alias@,$host_alias,;t t
1965s,@target_alias@,$target_alias,;t t
1966s,@DEFS@,$DEFS,;t t
1967s,@ECHO_C@,$ECHO_C,;t t
1968s,@ECHO_N@,$ECHO_N,;t t
1969s,@ECHO_T@,$ECHO_T,;t t
1970s,@LIBS@,$LIBS,;t t
1971s,@LLVM_SRC@,$LLVM_SRC,;t t
1972s,@LLVM_OBJ@,$LLVM_OBJ,;t t
1973s,@LIBOBJS@,$LIBOBJS,;t t
1974s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1975CEOF
John Criswell451f67f2003-10-16 01:45:35 +00001976
1977_ACEOF
1978
Dan Gohman324f6082009-03-25 00:52:11 +00001979 cat >>$CONFIG_STATUS <<\_ACEOF
1980 # Split the substitutions into bite-sized pieces for seds with
1981 # small command number limits, like on Digital OSF/1 and HP-UX.
1982 ac_max_sed_lines=48
1983 ac_sed_frag=1 # Number of current file.
1984 ac_beg=1 # First line for current file.
1985 ac_end=$ac_max_sed_lines # Line after last line for current file.
1986 ac_more_lines=:
1987 ac_sed_cmds=
1988 while $ac_more_lines; do
1989 if test $ac_beg -gt 1; then
1990 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1991 else
1992 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1993 fi
1994 if test ! -s $tmp/subs.frag; then
1995 ac_more_lines=false
1996 else
1997 # The purpose of the label and of the branching condition is to
1998 # speed up the sed processing (if there are no `@' at all, there
1999 # is no need to browse any of the substitutions).
2000 # These are the two extra sed commands mentioned above.
2001 (echo ':t
2002 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2003 if test -z "$ac_sed_cmds"; then
2004 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2005 else
2006 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2007 fi
2008 ac_sed_frag=`expr $ac_sed_frag + 1`
2009 ac_beg=$ac_end
2010 ac_end=`expr $ac_end + $ac_max_sed_lines`
2011 fi
2012 done
2013 if test -z "$ac_sed_cmds"; then
2014 ac_sed_cmds=cat
John Criswell451f67f2003-10-16 01:45:35 +00002015 fi
2016fi # test -n "$CONFIG_FILES"
2017
Dan Gohman324f6082009-03-25 00:52:11 +00002018_ACEOF
2019cat >>$CONFIG_STATUS <<\_ACEOF
2020for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2021 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2022 case $ac_file in
2023 - | *:- | *:-:* ) # input from stdin
2024 cat >$tmp/stdin
2025 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2026 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2027 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2028 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2029 * ) ac_file_in=$ac_file.in ;;
John Criswell451f67f2003-10-16 01:45:35 +00002030 esac
2031
Dan Gohman324f6082009-03-25 00:52:11 +00002032 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2033 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
John Criswell451f67f2003-10-16 01:45:35 +00002034$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
Reid Spencer9964cd82005-01-01 09:26:55 +00002035 X"$ac_file" : 'X\(//\)[^/]' \| \
2036 X"$ac_file" : 'X\(//\)$' \| \
Dan Gohman324f6082009-03-25 00:52:11 +00002037 X"$ac_file" : 'X\(/\)' \| \
2038 . : '\(.\)' 2>/dev/null ||
John Criswell451f67f2003-10-16 01:45:35 +00002039echo X"$ac_file" |
Dan Gohman324f6082009-03-25 00:52:11 +00002040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2041 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2042 /^X\(\/\/\)$/{ s//\1/; q; }
2043 /^X\(\/\).*/{ s//\1/; q; }
2044 s/.*/./; q'`
2045 { if $as_mkdir_p; then
2046 mkdir -p "$ac_dir"
2047 else
2048 as_dir="$ac_dir"
John Criswell451f67f2003-10-16 01:45:35 +00002049 as_dirs=
Dan Gohman324f6082009-03-25 00:52:11 +00002050 while test ! -d "$as_dir"; do
2051 as_dirs="$as_dir $as_dirs"
2052 as_dir=`(dirname "$as_dir") 2>/dev/null ||
John Criswell451f67f2003-10-16 01:45:35 +00002053$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
Reid Spencer9964cd82005-01-01 09:26:55 +00002054 X"$as_dir" : 'X\(//\)[^/]' \| \
2055 X"$as_dir" : 'X\(//\)$' \| \
Dan Gohman324f6082009-03-25 00:52:11 +00002056 X"$as_dir" : 'X\(/\)' \| \
2057 . : '\(.\)' 2>/dev/null ||
John Criswell451f67f2003-10-16 01:45:35 +00002058echo X"$as_dir" |
Dan Gohman324f6082009-03-25 00:52:11 +00002059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2060 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2061 /^X\(\/\/\)$/{ s//\1/; q; }
2062 /^X\(\/\).*/{ s//\1/; q; }
2063 s/.*/./; q'`
John Criswell451f67f2003-10-16 01:45:35 +00002064 done
Dan Gohman324f6082009-03-25 00:52:11 +00002065 test ! -n "$as_dirs" || mkdir $as_dirs
2066 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2067echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
John Criswell451f67f2003-10-16 01:45:35 +00002068 { (exit 1); exit 1; }; }; }
Dan Gohman324f6082009-03-25 00:52:11 +00002069
John Criswell451f67f2003-10-16 01:45:35 +00002070 ac_builddir=.
2071
Dan Gohman324f6082009-03-25 00:52:11 +00002072if test "$ac_dir" != .; then
John Criswell451f67f2003-10-16 01:45:35 +00002073 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
Dan Gohman324f6082009-03-25 00:52:11 +00002074 # A "../" for each directory in $ac_dir_suffix.
2075 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2076else
2077 ac_dir_suffix= ac_top_builddir=
2078fi
John Criswell451f67f2003-10-16 01:45:35 +00002079
2080case $srcdir in
Dan Gohman324f6082009-03-25 00:52:11 +00002081 .) # No --srcdir option. We are building in place.
John Criswell451f67f2003-10-16 01:45:35 +00002082 ac_srcdir=.
Dan Gohman324f6082009-03-25 00:52:11 +00002083 if test -z "$ac_top_builddir"; then
2084 ac_top_srcdir=.
2085 else
2086 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2087 fi ;;
2088 [\\/]* | ?:[\\/]* ) # Absolute path.
John Criswell451f67f2003-10-16 01:45:35 +00002089 ac_srcdir=$srcdir$ac_dir_suffix;
Dan Gohman324f6082009-03-25 00:52:11 +00002090 ac_top_srcdir=$srcdir ;;
2091 *) # Relative path.
2092 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2093 ac_top_srcdir=$ac_top_builddir$srcdir ;;
John Criswell451f67f2003-10-16 01:45:35 +00002094esac
John Criswell451f67f2003-10-16 01:45:35 +00002095
Dan Gohman324f6082009-03-25 00:52:11 +00002096# Do not use `cd foo && pwd` to compute absolute paths, because
2097# the directories may not exist.
2098case `pwd` in
2099.) ac_abs_builddir="$ac_dir";;
2100*)
2101 case "$ac_dir" in
2102 .) ac_abs_builddir=`pwd`;;
2103 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2104 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2105 esac;;
Dan Gohmand02a2812009-03-24 23:47:11 +00002106esac
Dan Gohman324f6082009-03-25 00:52:11 +00002107case $ac_abs_builddir in
2108.) ac_abs_top_builddir=${ac_top_builddir}.;;
2109*)
2110 case ${ac_top_builddir}. in
2111 .) ac_abs_top_builddir=$ac_abs_builddir;;
2112 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2113 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2114 esac;;
2115esac
2116case $ac_abs_builddir in
2117.) ac_abs_srcdir=$ac_srcdir;;
2118*)
2119 case $ac_srcdir in
2120 .) ac_abs_srcdir=$ac_abs_builddir;;
2121 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2122 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2123 esac;;
2124esac
2125case $ac_abs_builddir in
2126.) ac_abs_top_srcdir=$ac_top_srcdir;;
2127*)
2128 case $ac_top_srcdir in
2129 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2130 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2131 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2132 esac;;
2133esac
Dan Gohmand02a2812009-03-24 23:47:11 +00002134
Dan Gohman324f6082009-03-25 00:52:11 +00002135
2136
2137 if test x"$ac_file" != x-; then
2138 { echo "$as_me:$LINENO: creating $ac_file" >&5
2139echo "$as_me: creating $ac_file" >&6;}
2140 rm -f "$ac_file"
2141 fi
2142 # Let's still pretend it is `configure' which instantiates (i.e., don't
2143 # use $as_me), people would be surprised to read:
2144 # /* config.h. Generated by config.status. */
2145 if test x"$ac_file" = x-; then
2146 configure_input=
2147 else
2148 configure_input="$ac_file. "
2149 fi
2150 configure_input=$configure_input"Generated from `echo $ac_file_in |
2151 sed 's,.*/,,'` by configure."
2152
2153 # First look for the input files in the build tree, otherwise in the
2154 # src tree.
2155 ac_file_inputs=`IFS=:
2156 for f in $ac_file_in; do
2157 case $f in
2158 -) echo $tmp/stdin ;;
2159 [\\/$]*)
2160 # Absolute (can't be DOS-style, as IFS=:)
2161 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2162echo "$as_me: error: cannot find input file: $f" >&2;}
2163 { (exit 1); exit 1; }; }
2164 echo "$f";;
2165 *) # Relative
2166 if test -f "$f"; then
2167 # Build tree
2168 echo "$f"
2169 elif test -f "$srcdir/$f"; then
2170 # Source tree
2171 echo "$srcdir/$f"
2172 else
2173 # /dev/null tree
2174 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2175echo "$as_me: error: cannot find input file: $f" >&2;}
2176 { (exit 1); exit 1; }; }
2177 fi;;
2178 esac
2179 done` || { (exit 1); exit 1; }
2180_ACEOF
John Criswell451f67f2003-10-16 01:45:35 +00002181cat >>$CONFIG_STATUS <<_ACEOF
2182 sed "$ac_vpsub
2183$extrasub
2184_ACEOF
2185cat >>$CONFIG_STATUS <<\_ACEOF
2186:t
2187/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
Dan Gohman324f6082009-03-25 00:52:11 +00002188s,@configure_input@,$configure_input,;t t
2189s,@srcdir@,$ac_srcdir,;t t
2190s,@abs_srcdir@,$ac_abs_srcdir,;t t
2191s,@top_srcdir@,$ac_top_srcdir,;t t
2192s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2193s,@builddir@,$ac_builddir,;t t
2194s,@abs_builddir@,$ac_abs_builddir,;t t
2195s,@top_builddir@,$ac_top_builddir,;t t
2196s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2197" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2198 rm -f $tmp/stdin
2199 if test x"$ac_file" != x-; then
2200 mv $tmp/out $ac_file
2201 else
2202 cat $tmp/out
2203 rm -f $tmp/out
2204 fi
John Criswell451f67f2003-10-16 01:45:35 +00002205
Dan Gohman324f6082009-03-25 00:52:11 +00002206done
2207_ACEOF
2208cat >>$CONFIG_STATUS <<\_ACEOF
John Criswell451f67f2003-10-16 01:45:35 +00002209
Dan Gohman324f6082009-03-25 00:52:11 +00002210#
2211# CONFIG_COMMANDS section.
2212#
2213for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
2214 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
2215 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
2216 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
2217$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2218 X"$ac_dest" : 'X\(//\)[^/]' \| \
2219 X"$ac_dest" : 'X\(//\)$' \| \
2220 X"$ac_dest" : 'X\(/\)' \| \
2221 . : '\(.\)' 2>/dev/null ||
2222echo X"$ac_dest" |
2223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2224 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2225 /^X\(\/\/\)$/{ s//\1/; q; }
2226 /^X\(\/\).*/{ s//\1/; q; }
2227 s/.*/./; q'`
2228 { if $as_mkdir_p; then
2229 mkdir -p "$ac_dir"
2230 else
2231 as_dir="$ac_dir"
2232 as_dirs=
2233 while test ! -d "$as_dir"; do
2234 as_dirs="$as_dir $as_dirs"
2235 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2236$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2237 X"$as_dir" : 'X\(//\)[^/]' \| \
2238 X"$as_dir" : 'X\(//\)$' \| \
2239 X"$as_dir" : 'X\(/\)' \| \
2240 . : '\(.\)' 2>/dev/null ||
2241echo X"$as_dir" |
2242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2243 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2244 /^X\(\/\/\)$/{ s//\1/; q; }
2245 /^X\(\/\).*/{ s//\1/; q; }
2246 s/.*/./; q'`
2247 done
2248 test ! -n "$as_dirs" || mkdir $as_dirs
2249 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2250echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2251 { (exit 1); exit 1; }; }; }
2252
2253 ac_builddir=.
2254
2255if test "$ac_dir" != .; then
2256 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2257 # A "../" for each directory in $ac_dir_suffix.
2258 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2259else
2260 ac_dir_suffix= ac_top_builddir=
2261fi
2262
2263case $srcdir in
2264 .) # No --srcdir option. We are building in place.
2265 ac_srcdir=.
2266 if test -z "$ac_top_builddir"; then
2267 ac_top_srcdir=.
2268 else
2269 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2270 fi ;;
2271 [\\/]* | ?:[\\/]* ) # Absolute path.
2272 ac_srcdir=$srcdir$ac_dir_suffix;
2273 ac_top_srcdir=$srcdir ;;
2274 *) # Relative path.
2275 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2276 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2277esac
2278
2279# Do not use `cd foo && pwd` to compute absolute paths, because
2280# the directories may not exist.
2281case `pwd` in
2282.) ac_abs_builddir="$ac_dir";;
2283*)
2284 case "$ac_dir" in
2285 .) ac_abs_builddir=`pwd`;;
2286 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2287 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2288 esac;;
2289esac
2290case $ac_abs_builddir in
2291.) ac_abs_top_builddir=${ac_top_builddir}.;;
2292*)
2293 case ${ac_top_builddir}. in
2294 .) ac_abs_top_builddir=$ac_abs_builddir;;
2295 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2296 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2297 esac;;
2298esac
2299case $ac_abs_builddir in
2300.) ac_abs_srcdir=$ac_srcdir;;
2301*)
2302 case $ac_srcdir in
2303 .) ac_abs_srcdir=$ac_abs_builddir;;
2304 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2305 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2306 esac;;
2307esac
2308case $ac_abs_builddir in
2309.) ac_abs_top_srcdir=$ac_top_srcdir;;
2310*)
2311 case $ac_top_srcdir in
2312 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2313 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2314 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2315 esac;;
2316esac
John Criswell451f67f2003-10-16 01:45:35 +00002317
Dan Gohmand02a2812009-03-24 23:47:11 +00002318
Dan Gohman324f6082009-03-25 00:52:11 +00002319 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
2320echo "$as_me: executing $ac_dest commands" >&6;}
2321 case $ac_dest in
2322 Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname Makefile`
Dan Gohmand02a2812009-03-24 23:47:11 +00002323 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
Dan Gohman324f6082009-03-25 00:52:11 +00002324 lib/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/Makefile`
Dan Gohmand02a2812009-03-24 23:47:11 +00002325 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
Dan Gohman324f6082009-03-25 00:52:11 +00002326 lib/sample/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/sample/Makefile`
Dan Gohmand02a2812009-03-24 23:47:11 +00002327 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib/sample/Makefile lib/sample/Makefile ;;
Dan Gohman324f6082009-03-25 00:52:11 +00002328 tools/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/Makefile`
Dan Gohmand02a2812009-03-24 23:47:11 +00002329 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
Dan Gohman324f6082009-03-25 00:52:11 +00002330 tools/sample/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/sample/Makefile`
Dan Gohmand02a2812009-03-24 23:47:11 +00002331 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools/sample/Makefile tools/sample/Makefile ;;
Dan Gohmand02a2812009-03-24 23:47:11 +00002332 esac
Dan Gohman324f6082009-03-25 00:52:11 +00002333done
2334_ACEOF
Dan Gohmand02a2812009-03-24 23:47:11 +00002335
Dan Gohman324f6082009-03-25 00:52:11 +00002336cat >>$CONFIG_STATUS <<\_ACEOF
John Criswell451f67f2003-10-16 01:45:35 +00002337
2338{ (exit 0); exit 0; }
2339_ACEOF
2340chmod +x $CONFIG_STATUS
2341ac_clean_files=$ac_clean_files_save
2342
2343
2344# configure is writing to config.log, and then calls config.status.
2345# config.status does its own redirection, appending to config.log.
2346# Unfortunately, on DOS this fails, as config.log is still kept open
2347# by configure, so config.status won't be able to write to it; its
2348# output is simply discarded. So we exec the FD to /dev/null,
2349# effectively closing config.log, so it can be properly (re)opened and
2350# appended to by config.status. When coming back to configure, we
2351# need to make the FD available again.
2352if test "$no_create" != yes; then
2353 ac_cs_success=:
2354 ac_config_status_args=
2355 test "$silent" = yes &&
2356 ac_config_status_args="$ac_config_status_args --quiet"
2357 exec 5>/dev/null
2358 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2359 exec 5>>config.log
2360 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2361 # would make configure fail if this is the last instruction.
2362 $ac_cs_success || { (exit 1); exit 1; }
2363fi
2364