blob: f82166835b4248e50a9d9e936d3bea06e457bdc4 [file] [log] [blame]
NightStrike748174d2010-02-24 17:55:02 +00001#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003# Generated by GNU Autoconf 2.68 for mingw-w64 3.0b.
NightStrike748174d2010-02-24 17:55:02 +00004#
5# Report bugs to <mingw-w64-public@lists.sourceforge.net>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
Jonathan Yong4906b262011-08-10 11:39:25 +00009# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
NightStrike748174d2010-02-24 17:55:02 +000011#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order. Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" "" $as_nl"
92
93# Find who we are. Look in the path if we contain no directory separator.
Ozkan Sezer9e09a802011-11-17 07:42:03 +000094as_myself=
NightStrike748174d2010-02-24 17:55:02 +000095case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104IFS=$as_save_IFS
105
106 ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111 as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there. '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153esac
154fi
155"
156 as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170 exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes
179else
180 as_have_required=no
181fi
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
193 /*)
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 break 2
202fi
203fi
204 done;;
205 esac
206 as_found=false
207done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS
213
214
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
Ozkan Sezer9e09a802011-11-17 07:42:03 +0000219 # Preserve -v and -x to the replacement shell.
NightStrike748174d2010-02-24 17:55:02 +0000220 BASH_ENV=/dev/null
221 ENV=/dev/null
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 export CONFIG_SHELL
Ozkan Sezer9e09a802011-11-17 07:42:03 +0000224 case $- in # ((((
225 *v*x* | *x*v* ) as_opts=-vx ;;
226 *v* ) as_opts=-v ;;
227 *x* ) as_opts=-x ;;
228 * ) as_opts= ;;
229 esac
230 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
NightStrike748174d2010-02-24 17:55:02 +0000231fi
232
233 if test x$as_have_required = xno; then :
234 $as_echo "$0: This script requires a shell more modern than all"
235 $as_echo "$0: the shells that I found on your system."
236 if test x${ZSH_VERSION+set} = xset ; then
237 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
238 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 else
240 $as_echo "$0: Please tell bug-autoconf@gnu.org and
241$0: mingw-w64-public@lists.sourceforge.net about your
242$0: system, including any error possibly output before this
243$0: message. Then install a modern shell, or manually run
244$0: the script under such a shell if you do have one."
245 fi
246 exit 1
247fi
248fi
249fi
250SHELL=${CONFIG_SHELL-/bin/sh}
251export SHELL
252# Unset more variables known to interfere with behavior of common tools.
253CLICOLOR_FORCE= GREP_OPTIONS=
254unset CLICOLOR_FORCE GREP_OPTIONS
255
256## --------------------- ##
257## M4sh Shell Functions. ##
258## --------------------- ##
259# as_fn_unset VAR
260# ---------------
261# Portably unset VAR.
262as_fn_unset ()
263{
264 { eval $1=; unset $1;}
265}
266as_unset=as_fn_unset
267
268# as_fn_set_status STATUS
269# -----------------------
270# Set $? to STATUS, without forking.
271as_fn_set_status ()
272{
273 return $1
274} # as_fn_set_status
275
276# as_fn_exit STATUS
277# -----------------
278# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279as_fn_exit ()
280{
281 set +e
282 as_fn_set_status $1
283 exit $1
284} # as_fn_exit
285
286# as_fn_mkdir_p
287# -------------
288# Create "$as_dir" as a directory, including parents if necessary.
289as_fn_mkdir_p ()
290{
291
292 case $as_dir in #(
293 -*) as_dir=./$as_dir;;
294 esac
295 test -d "$as_dir" || eval $as_mkdir_p || {
296 as_dirs=
297 while :; do
298 case $as_dir in #(
299 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 *) as_qdir=$as_dir;;
301 esac
302 as_dirs="'$as_qdir' $as_dirs"
303 as_dir=`$as_dirname -- "$as_dir" ||
304$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
305 X"$as_dir" : 'X\(//\)[^/]' \| \
306 X"$as_dir" : 'X\(//\)$' \| \
307 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
308$as_echo X"$as_dir" |
309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)[^/].*/{
314 s//\1/
315 q
316 }
317 /^X\(\/\/\)$/{
318 s//\1/
319 q
320 }
321 /^X\(\/\).*/{
322 s//\1/
323 q
324 }
325 s/.*/./; q'`
326 test -d "$as_dir" && break
327 done
328 test -z "$as_dirs" || eval "mkdir $as_dirs"
Jonathan Yong4906b262011-08-10 11:39:25 +0000329 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
NightStrike748174d2010-02-24 17:55:02 +0000330
331
332} # as_fn_mkdir_p
333# as_fn_append VAR VALUE
334# ----------------------
335# Append the text in VALUE to the end of the definition contained in VAR. Take
336# advantage of any shell optimizations that allow amortized linear growth over
337# repeated appends, instead of the typical quadratic growth present in naive
338# implementations.
339if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
340 eval 'as_fn_append ()
341 {
342 eval $1+=\$2
343 }'
344else
345 as_fn_append ()
346 {
347 eval $1=\$$1\$2
348 }
349fi # as_fn_append
350
351# as_fn_arith ARG...
352# ------------------
353# Perform arithmetic evaluation on the ARGs, and store the result in the
354# global $as_val. Take advantage of shells that can avoid forks. The arguments
355# must be portable across $(()) and expr.
356if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 eval 'as_fn_arith ()
358 {
359 as_val=$(( $* ))
360 }'
361else
362 as_fn_arith ()
363 {
364 as_val=`expr "$@" || test $? -eq 1`
365 }
366fi # as_fn_arith
367
368
Jonathan Yong4906b262011-08-10 11:39:25 +0000369# as_fn_error STATUS ERROR [LINENO LOG_FD]
370# ----------------------------------------
NightStrike748174d2010-02-24 17:55:02 +0000371# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
372# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
Jonathan Yong4906b262011-08-10 11:39:25 +0000373# script with STATUS, using 1 if that was 0.
NightStrike748174d2010-02-24 17:55:02 +0000374as_fn_error ()
375{
Jonathan Yong4906b262011-08-10 11:39:25 +0000376 as_status=$1; test $as_status -eq 0 && as_status=1
377 if test "$4"; then
378 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
379 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
NightStrike748174d2010-02-24 17:55:02 +0000380 fi
Jonathan Yong4906b262011-08-10 11:39:25 +0000381 $as_echo "$as_me: error: $2" >&2
NightStrike748174d2010-02-24 17:55:02 +0000382 as_fn_exit $as_status
383} # as_fn_error
384
385if expr a : '\(a\)' >/dev/null 2>&1 &&
386 test "X`expr 00001 : '.*\(...\)'`" = X001; then
387 as_expr=expr
388else
389 as_expr=false
390fi
391
392if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
393 as_basename=basename
394else
395 as_basename=false
396fi
397
398if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
399 as_dirname=dirname
400else
401 as_dirname=false
402fi
403
404as_me=`$as_basename -- "$0" ||
405$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
406 X"$0" : 'X\(//\)$' \| \
407 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
408$as_echo X/"$0" |
409 sed '/^.*\/\([^/][^/]*\)\/*$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\/\)$/{
414 s//\1/
415 q
416 }
417 /^X\/\(\/\).*/{
418 s//\1/
419 q
420 }
421 s/.*/./; q'`
422
423# Avoid depending upon Character Ranges.
424as_cr_letters='abcdefghijklmnopqrstuvwxyz'
425as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
426as_cr_Letters=$as_cr_letters$as_cr_LETTERS
427as_cr_digits='0123456789'
428as_cr_alnum=$as_cr_Letters$as_cr_digits
429
430
431 as_lineno_1=$LINENO as_lineno_1a=$LINENO
432 as_lineno_2=$LINENO as_lineno_2a=$LINENO
433 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
434 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
435 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
436 sed -n '
437 p
438 /[$]LINENO/=
439 ' <$as_myself |
440 sed '
441 s/[$]LINENO.*/&-/
442 t lineno
443 b
444 :lineno
445 N
446 :loop
447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
448 t loop
449 s/-\n.*//
450 ' >$as_me.lineno &&
451 chmod +x "$as_me.lineno" ||
452 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
453
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
457 . "./$as_me.lineno"
458 # Exit status is that of the last command.
459 exit
460}
461
462ECHO_C= ECHO_N= ECHO_T=
463case `echo -n x` in #(((((
464-n*)
465 case `echo 'xy\c'` in
466 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
467 xy) ECHO_C='\c';;
468 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 ECHO_T=' ';;
470 esac;;
471*)
472 ECHO_N='-n';;
473esac
474
475rm -f conf$$ conf$$.exe conf$$.file
476if test -d conf$$.dir; then
477 rm -f conf$$.dir/conf$$.file
478else
479 rm -f conf$$.dir
480 mkdir conf$$.dir 2>/dev/null
481fi
482if (echo >conf$$.file) 2>/dev/null; then
483 if ln -s conf$$.file conf$$ 2>/dev/null; then
484 as_ln_s='ln -s'
485 # ... but there are two gotchas:
486 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
487 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
488 # In both cases, we have to default to `cp -p'.
489 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
490 as_ln_s='cp -p'
491 elif ln conf$$.file conf$$ 2>/dev/null; then
492 as_ln_s=ln
493 else
494 as_ln_s='cp -p'
495 fi
496else
497 as_ln_s='cp -p'
498fi
499rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
500rmdir conf$$.dir 2>/dev/null
501
502if mkdir -p . 2>/dev/null; then
503 as_mkdir_p='mkdir -p "$as_dir"'
504else
505 test -d ./-p && rmdir ./-p
506 as_mkdir_p=false
507fi
508
509if test -x / >/dev/null 2>&1; then
510 as_test_x='test -x'
511else
512 if ls -dL / >/dev/null 2>&1; then
513 as_ls_L_option=L
514 else
515 as_ls_L_option=
516 fi
517 as_test_x='
518 eval sh -c '\''
519 if test -d "$1"; then
520 test -d "$1/.";
521 else
522 case $1 in #(
523 -*)set "./$1";;
524 esac;
525 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
526 ???[sx]*):;;*)false;;esac;fi
527 '\'' sh
528 '
529fi
530as_executable_p=$as_test_x
531
532# Sed expression to map a string onto a valid CPP name.
533as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534
535# Sed expression to map a string onto a valid variable name.
536as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537
538
539test -n "$DJDIR" || exec 7<&0 </dev/null
540exec 6>&1
541
542# Name of the host.
Jonathan Yong4906b262011-08-10 11:39:25 +0000543# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
NightStrike748174d2010-02-24 17:55:02 +0000544# so uname gets run too.
545ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
546
547#
548# Initializations.
549#
550ac_default_prefix=/usr/local
551ac_clean_files=
552ac_config_libobj_dir=.
553LIBOBJS=
554cross_compiling=no
555subdirs=
556MFLAGS=
557MAKEFLAGS=
558
559# Identity of this package.
560PACKAGE_NAME='mingw-w64'
561PACKAGE_TARNAME='mingw-w64'
Jonathan Yong4906b262011-08-10 11:39:25 +0000562PACKAGE_VERSION='3.0b'
563PACKAGE_STRING='mingw-w64 3.0b'
NightStrike748174d2010-02-24 17:55:02 +0000564PACKAGE_BUGREPORT='mingw-w64-public@lists.sourceforge.net'
565PACKAGE_URL=''
566
567ac_unique_file="AUTHORS"
568enable_option_checking=no
569ac_subst_vars='LTLIBOBJS
570LIBOBJS
NightStrikeadb344b2010-02-26 14:13:00 +0000571TOOLS_GENIDL_FALSE
572TOOLS_GENIDL_TRUE
NightStrike748174d2010-02-24 17:55:02 +0000573TOOLS_GENDEF_FALSE
574TOOLS_GENDEF_TRUE
575LIBRARIES_PSEH_FALSE
576LIBRARIES_PSEH_TRUE
577LIBRARIES_MANGLE_FALSE
578LIBRARIES_MANGLE_TRUE
579CRT_FALSE
580CRT_TRUE
581HEADER_FALSE
582HEADER_TRUE
583subdirs
584host_os
585host_vendor
586host_cpu
587host
588build_os
589build_vendor
590build_cpu
591build
592am__untar
593am__tar
594AMTAR
595am__leading_dot
596SET_MAKE
597AWK
598mkdir_p
599MKDIR_P
600INSTALL_STRIP_PROGRAM
601STRIP
602install_sh
603MAKEINFO
604AUTOHEADER
605AUTOMAKE
606AUTOCONF
607ACLOCAL
608VERSION
609PACKAGE
610CYGPATH_W
611am__isrc
612INSTALL_DATA
613INSTALL_SCRIPT
614INSTALL_PROGRAM
615MAINT
616MAINTAINER_MODE_FALSE
617MAINTAINER_MODE_TRUE
618target_alias
619host_alias
620build_alias
621LIBS
622ECHO_T
623ECHO_N
624ECHO_C
625DEFS
626mandir
627localedir
628libdir
629psdir
630pdfdir
631dvidir
632htmldir
633infodir
634docdir
635oldincludedir
636includedir
637localstatedir
638sharedstatedir
639sysconfdir
640datadir
641datarootdir
642libexecdir
643sbindir
644bindir
645program_transform_name
646prefix
647exec_prefix
648PACKAGE_URL
649PACKAGE_BUGREPORT
650PACKAGE_STRING
651PACKAGE_VERSION
652PACKAGE_TARNAME
653PACKAGE_NAME
654PATH_SEPARATOR
655SHELL'
656ac_subst_files=''
657ac_user_opts='
658enable_option_checking
659enable_maintainer_mode
660with_headers
661with_crt
662with_libraries
663with_tools
664'
665 ac_precious_vars='build_alias
666host_alias
667target_alias'
668ac_subdirs_all='mingw-w64-headers
669mingw-w64-crt
670mingw-w64-libraries/libmangle
671mingw-w64-libraries/pseh
NightStrikeadb344b2010-02-26 14:13:00 +0000672mingw-w64-tools/gendef
673mingw-w64-tools/genidl'
NightStrike748174d2010-02-24 17:55:02 +0000674
675# Initialize some variables set by options.
676ac_init_help=
677ac_init_version=false
678ac_unrecognized_opts=
679ac_unrecognized_sep=
680# The variables have the same names as the options, with
681# dashes changed to underlines.
682cache_file=/dev/null
683exec_prefix=NONE
684no_create=
685no_recursion=
686prefix=NONE
687program_prefix=NONE
688program_suffix=NONE
689program_transform_name=s,x,x,
690silent=
691site=
692srcdir=
693verbose=
694x_includes=NONE
695x_libraries=NONE
696
697# Installation directory options.
698# These are left unexpanded so users can "make install exec_prefix=/foo"
699# and all the variables that are supposed to be based on exec_prefix
700# by default will actually change.
701# Use braces instead of parens because sh, perl, etc. also accept them.
702# (The list follows the same order as the GNU Coding Standards.)
703bindir='${exec_prefix}/bin'
704sbindir='${exec_prefix}/sbin'
705libexecdir='${exec_prefix}/libexec'
706datarootdir='${prefix}/share'
707datadir='${datarootdir}'
708sysconfdir='${prefix}/etc'
709sharedstatedir='${prefix}/com'
710localstatedir='${prefix}/var'
711includedir='${prefix}/include'
712oldincludedir='/usr/include'
713docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
714infodir='${datarootdir}/info'
715htmldir='${docdir}'
716dvidir='${docdir}'
717pdfdir='${docdir}'
718psdir='${docdir}'
719libdir='${exec_prefix}/lib'
720localedir='${datarootdir}/locale'
721mandir='${datarootdir}/man'
722
723ac_prev=
724ac_dashdash=
725for ac_option
726do
727 # If the previous option needs an argument, assign it.
728 if test -n "$ac_prev"; then
729 eval $ac_prev=\$ac_option
730 ac_prev=
731 continue
732 fi
733
734 case $ac_option in
Jonathan Yong4906b262011-08-10 11:39:25 +0000735 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
736 *=) ac_optarg= ;;
737 *) ac_optarg=yes ;;
NightStrike748174d2010-02-24 17:55:02 +0000738 esac
739
740 # Accept the important Cygnus configure options, so we can diagnose typos.
741
742 case $ac_dashdash$ac_option in
743 --)
744 ac_dashdash=yes ;;
745
746 -bindir | --bindir | --bindi | --bind | --bin | --bi)
747 ac_prev=bindir ;;
748 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
749 bindir=$ac_optarg ;;
750
751 -build | --build | --buil | --bui | --bu)
752 ac_prev=build_alias ;;
753 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
754 build_alias=$ac_optarg ;;
755
756 -cache-file | --cache-file | --cache-fil | --cache-fi \
757 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
758 ac_prev=cache_file ;;
759 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
760 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
761 cache_file=$ac_optarg ;;
762
763 --config-cache | -C)
764 cache_file=config.cache ;;
765
766 -datadir | --datadir | --datadi | --datad)
767 ac_prev=datadir ;;
768 -datadir=* | --datadir=* | --datadi=* | --datad=*)
769 datadir=$ac_optarg ;;
770
771 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
772 | --dataroo | --dataro | --datar)
773 ac_prev=datarootdir ;;
774 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
775 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
776 datarootdir=$ac_optarg ;;
777
778 -disable-* | --disable-*)
779 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
780 # Reject names that are not valid shell variable names.
781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
Jonathan Yong4906b262011-08-10 11:39:25 +0000782 as_fn_error $? "invalid feature name: $ac_useropt"
NightStrike748174d2010-02-24 17:55:02 +0000783 ac_useropt_orig=$ac_useropt
784 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
785 case $ac_user_opts in
786 *"
787"enable_$ac_useropt"
788"*) ;;
789 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
790 ac_unrecognized_sep=', ';;
791 esac
792 eval enable_$ac_useropt=no ;;
793
794 -docdir | --docdir | --docdi | --doc | --do)
795 ac_prev=docdir ;;
796 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
797 docdir=$ac_optarg ;;
798
799 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
800 ac_prev=dvidir ;;
801 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
802 dvidir=$ac_optarg ;;
803
804 -enable-* | --enable-*)
805 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
Jonathan Yong4906b262011-08-10 11:39:25 +0000808 as_fn_error $? "invalid feature name: $ac_useropt"
NightStrike748174d2010-02-24 17:55:02 +0000809 ac_useropt_orig=$ac_useropt
810 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
812 *"
813"enable_$ac_useropt"
814"*) ;;
815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
816 ac_unrecognized_sep=', ';;
817 esac
818 eval enable_$ac_useropt=\$ac_optarg ;;
819
820 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
821 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
822 | --exec | --exe | --ex)
823 ac_prev=exec_prefix ;;
824 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
825 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
826 | --exec=* | --exe=* | --ex=*)
827 exec_prefix=$ac_optarg ;;
828
829 -gas | --gas | --ga | --g)
830 # Obsolete; use --with-gas.
831 with_gas=yes ;;
832
833 -help | --help | --hel | --he | -h)
834 ac_init_help=long ;;
835 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
836 ac_init_help=recursive ;;
837 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
838 ac_init_help=short ;;
839
840 -host | --host | --hos | --ho)
841 ac_prev=host_alias ;;
842 -host=* | --host=* | --hos=* | --ho=*)
843 host_alias=$ac_optarg ;;
844
845 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
846 ac_prev=htmldir ;;
847 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
848 | --ht=*)
849 htmldir=$ac_optarg ;;
850
851 -includedir | --includedir | --includedi | --included | --include \
852 | --includ | --inclu | --incl | --inc)
853 ac_prev=includedir ;;
854 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
855 | --includ=* | --inclu=* | --incl=* | --inc=*)
856 includedir=$ac_optarg ;;
857
858 -infodir | --infodir | --infodi | --infod | --info | --inf)
859 ac_prev=infodir ;;
860 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
861 infodir=$ac_optarg ;;
862
863 -libdir | --libdir | --libdi | --libd)
864 ac_prev=libdir ;;
865 -libdir=* | --libdir=* | --libdi=* | --libd=*)
866 libdir=$ac_optarg ;;
867
868 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
869 | --libexe | --libex | --libe)
870 ac_prev=libexecdir ;;
871 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
872 | --libexe=* | --libex=* | --libe=*)
873 libexecdir=$ac_optarg ;;
874
875 -localedir | --localedir | --localedi | --localed | --locale)
876 ac_prev=localedir ;;
877 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
878 localedir=$ac_optarg ;;
879
880 -localstatedir | --localstatedir | --localstatedi | --localstated \
881 | --localstate | --localstat | --localsta | --localst | --locals)
882 ac_prev=localstatedir ;;
883 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
884 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
885 localstatedir=$ac_optarg ;;
886
887 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
888 ac_prev=mandir ;;
889 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
890 mandir=$ac_optarg ;;
891
892 -nfp | --nfp | --nf)
893 # Obsolete; use --without-fp.
894 with_fp=no ;;
895
896 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
897 | --no-cr | --no-c | -n)
898 no_create=yes ;;
899
900 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
901 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
902 no_recursion=yes ;;
903
904 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
905 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
906 | --oldin | --oldi | --old | --ol | --o)
907 ac_prev=oldincludedir ;;
908 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
909 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
910 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
911 oldincludedir=$ac_optarg ;;
912
913 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
914 ac_prev=prefix ;;
915 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
916 prefix=$ac_optarg ;;
917
918 -program-prefix | --program-prefix | --program-prefi | --program-pref \
919 | --program-pre | --program-pr | --program-p)
920 ac_prev=program_prefix ;;
921 -program-prefix=* | --program-prefix=* | --program-prefi=* \
922 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
923 program_prefix=$ac_optarg ;;
924
925 -program-suffix | --program-suffix | --program-suffi | --program-suff \
926 | --program-suf | --program-su | --program-s)
927 ac_prev=program_suffix ;;
928 -program-suffix=* | --program-suffix=* | --program-suffi=* \
929 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
930 program_suffix=$ac_optarg ;;
931
932 -program-transform-name | --program-transform-name \
933 | --program-transform-nam | --program-transform-na \
934 | --program-transform-n | --program-transform- \
935 | --program-transform | --program-transfor \
936 | --program-transfo | --program-transf \
937 | --program-trans | --program-tran \
938 | --progr-tra | --program-tr | --program-t)
939 ac_prev=program_transform_name ;;
940 -program-transform-name=* | --program-transform-name=* \
941 | --program-transform-nam=* | --program-transform-na=* \
942 | --program-transform-n=* | --program-transform-=* \
943 | --program-transform=* | --program-transfor=* \
944 | --program-transfo=* | --program-transf=* \
945 | --program-trans=* | --program-tran=* \
946 | --progr-tra=* | --program-tr=* | --program-t=*)
947 program_transform_name=$ac_optarg ;;
948
949 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
950 ac_prev=pdfdir ;;
951 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
952 pdfdir=$ac_optarg ;;
953
954 -psdir | --psdir | --psdi | --psd | --ps)
955 ac_prev=psdir ;;
956 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
957 psdir=$ac_optarg ;;
958
959 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
960 | -silent | --silent | --silen | --sile | --sil)
961 silent=yes ;;
962
963 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
964 ac_prev=sbindir ;;
965 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
966 | --sbi=* | --sb=*)
967 sbindir=$ac_optarg ;;
968
969 -sharedstatedir | --sharedstatedir | --sharedstatedi \
970 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
971 | --sharedst | --shareds | --shared | --share | --shar \
972 | --sha | --sh)
973 ac_prev=sharedstatedir ;;
974 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
975 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
976 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
977 | --sha=* | --sh=*)
978 sharedstatedir=$ac_optarg ;;
979
980 -site | --site | --sit)
981 ac_prev=site ;;
982 -site=* | --site=* | --sit=*)
983 site=$ac_optarg ;;
984
985 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
986 ac_prev=srcdir ;;
987 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
988 srcdir=$ac_optarg ;;
989
990 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
991 | --syscon | --sysco | --sysc | --sys | --sy)
992 ac_prev=sysconfdir ;;
993 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
994 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
995 sysconfdir=$ac_optarg ;;
996
997 -target | --target | --targe | --targ | --tar | --ta | --t)
998 ac_prev=target_alias ;;
999 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1000 target_alias=$ac_optarg ;;
1001
1002 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1003 verbose=yes ;;
1004
1005 -version | --version | --versio | --versi | --vers | -V)
1006 ac_init_version=: ;;
1007
1008 -with-* | --with-*)
1009 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
Jonathan Yong4906b262011-08-10 11:39:25 +00001012 as_fn_error $? "invalid package name: $ac_useropt"
NightStrike748174d2010-02-24 17:55:02 +00001013 ac_useropt_orig=$ac_useropt
1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1016 *"
1017"with_$ac_useropt"
1018"*) ;;
1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1020 ac_unrecognized_sep=', ';;
1021 esac
1022 eval with_$ac_useropt=\$ac_optarg ;;
1023
1024 -without-* | --without-*)
1025 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
Jonathan Yong4906b262011-08-10 11:39:25 +00001028 as_fn_error $? "invalid package name: $ac_useropt"
NightStrike748174d2010-02-24 17:55:02 +00001029 ac_useropt_orig=$ac_useropt
1030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1032 *"
1033"with_$ac_useropt"
1034"*) ;;
1035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1036 ac_unrecognized_sep=', ';;
1037 esac
1038 eval with_$ac_useropt=no ;;
1039
1040 --x)
1041 # Obsolete; use --with-x.
1042 with_x=yes ;;
1043
1044 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1045 | --x-incl | --x-inc | --x-in | --x-i)
1046 ac_prev=x_includes ;;
1047 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1048 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1049 x_includes=$ac_optarg ;;
1050
1051 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1052 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1053 ac_prev=x_libraries ;;
1054 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1055 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1056 x_libraries=$ac_optarg ;;
1057
Jonathan Yong4906b262011-08-10 11:39:25 +00001058 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1059Try \`$0 --help' for more information"
NightStrike748174d2010-02-24 17:55:02 +00001060 ;;
1061
1062 *=*)
1063 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1064 # Reject names that are not valid shell variable names.
1065 case $ac_envvar in #(
1066 '' | [0-9]* | *[!_$as_cr_alnum]* )
Jonathan Yong4906b262011-08-10 11:39:25 +00001067 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
NightStrike748174d2010-02-24 17:55:02 +00001068 esac
1069 eval $ac_envvar=\$ac_optarg
1070 export $ac_envvar ;;
1071
1072 *)
1073 # FIXME: should be removed in autoconf 3.0.
1074 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1075 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1076 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
Ozkan Sezer9e09a802011-11-17 07:42:03 +00001077 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
NightStrike748174d2010-02-24 17:55:02 +00001078 ;;
1079
1080 esac
1081done
1082
1083if test -n "$ac_prev"; then
1084 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
Jonathan Yong4906b262011-08-10 11:39:25 +00001085 as_fn_error $? "missing argument to $ac_option"
NightStrike748174d2010-02-24 17:55:02 +00001086fi
1087
1088if test -n "$ac_unrecognized_opts"; then
1089 case $enable_option_checking in
1090 no) ;;
Jonathan Yong4906b262011-08-10 11:39:25 +00001091 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
NightStrike748174d2010-02-24 17:55:02 +00001092 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1093 esac
1094fi
1095
1096# Check all directory arguments for consistency.
1097for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1098 datadir sysconfdir sharedstatedir localstatedir includedir \
1099 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1100 libdir localedir mandir
1101do
1102 eval ac_val=\$$ac_var
1103 # Remove trailing slashes.
1104 case $ac_val in
1105 */ )
1106 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1107 eval $ac_var=\$ac_val;;
1108 esac
1109 # Be sure to have absolute directory names.
1110 case $ac_val in
1111 [\\/$]* | ?:[\\/]* ) continue;;
1112 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1113 esac
Jonathan Yong4906b262011-08-10 11:39:25 +00001114 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
NightStrike748174d2010-02-24 17:55:02 +00001115done
1116
1117# There might be people who depend on the old broken behavior: `$host'
1118# used to hold the argument of --host etc.
1119# FIXME: To remove some day.
1120build=$build_alias
1121host=$host_alias
1122target=$target_alias
1123
1124# FIXME: To remove some day.
1125if test "x$host_alias" != x; then
1126 if test "x$build_alias" = x; then
1127 cross_compiling=maybe
Jonathan Yong4906b262011-08-10 11:39:25 +00001128 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1129 If a cross compiler is detected then cross compile mode will be used" >&2
NightStrike748174d2010-02-24 17:55:02 +00001130 elif test "x$build_alias" != "x$host_alias"; then
1131 cross_compiling=yes
1132 fi
1133fi
1134
1135ac_tool_prefix=
1136test -n "$host_alias" && ac_tool_prefix=$host_alias-
1137
1138test "$silent" = yes && exec 6>/dev/null
1139
1140
1141ac_pwd=`pwd` && test -n "$ac_pwd" &&
1142ac_ls_di=`ls -di .` &&
1143ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
Jonathan Yong4906b262011-08-10 11:39:25 +00001144 as_fn_error $? "working directory cannot be determined"
NightStrike748174d2010-02-24 17:55:02 +00001145test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
Jonathan Yong4906b262011-08-10 11:39:25 +00001146 as_fn_error $? "pwd does not report name of working directory"
NightStrike748174d2010-02-24 17:55:02 +00001147
1148
1149# Find the source files, if location was not specified.
1150if test -z "$srcdir"; then
1151 ac_srcdir_defaulted=yes
1152 # Try the directory containing this script, then the parent directory.
1153 ac_confdir=`$as_dirname -- "$as_myself" ||
1154$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1155 X"$as_myself" : 'X\(//\)[^/]' \| \
1156 X"$as_myself" : 'X\(//\)$' \| \
1157 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1158$as_echo X"$as_myself" |
1159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1160 s//\1/
1161 q
1162 }
1163 /^X\(\/\/\)[^/].*/{
1164 s//\1/
1165 q
1166 }
1167 /^X\(\/\/\)$/{
1168 s//\1/
1169 q
1170 }
1171 /^X\(\/\).*/{
1172 s//\1/
1173 q
1174 }
1175 s/.*/./; q'`
1176 srcdir=$ac_confdir
1177 if test ! -r "$srcdir/$ac_unique_file"; then
1178 srcdir=..
1179 fi
1180else
1181 ac_srcdir_defaulted=no
1182fi
1183if test ! -r "$srcdir/$ac_unique_file"; then
1184 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
Jonathan Yong4906b262011-08-10 11:39:25 +00001185 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
NightStrike748174d2010-02-24 17:55:02 +00001186fi
1187ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1188ac_abs_confdir=`(
Jonathan Yong4906b262011-08-10 11:39:25 +00001189 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
NightStrike748174d2010-02-24 17:55:02 +00001190 pwd)`
1191# When building in place, set srcdir=.
1192if test "$ac_abs_confdir" = "$ac_pwd"; then
1193 srcdir=.
1194fi
1195# Remove unnecessary trailing slashes from srcdir.
1196# Double slashes in file names in object file debugging info
1197# mess up M-x gdb in Emacs.
1198case $srcdir in
1199*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1200esac
1201for ac_var in $ac_precious_vars; do
1202 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1203 eval ac_env_${ac_var}_value=\$${ac_var}
1204 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1205 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1206done
1207
1208#
1209# Report the --help message.
1210#
1211if test "$ac_init_help" = "long"; then
1212 # Omit some internal or obsolete options to make the list less imposing.
1213 # This message is too long to be a string in the A/UX 3.1 sh.
1214 cat <<_ACEOF
Jonathan Yong4906b262011-08-10 11:39:25 +00001215\`configure' configures mingw-w64 3.0b to adapt to many kinds of systems.
NightStrike748174d2010-02-24 17:55:02 +00001216
1217Usage: $0 [OPTION]... [VAR=VALUE]...
1218
1219To assign environment variables (e.g., CC, CFLAGS...), specify them as
1220VAR=VALUE. See below for descriptions of some of the useful variables.
1221
1222Defaults for the options are specified in brackets.
1223
1224Configuration:
1225 -h, --help display this help and exit
1226 --help=short display options specific to this package
1227 --help=recursive display the short help of all the included packages
1228 -V, --version display version information and exit
Jonathan Yong4906b262011-08-10 11:39:25 +00001229 -q, --quiet, --silent do not print \`checking ...' messages
NightStrike748174d2010-02-24 17:55:02 +00001230 --cache-file=FILE cache test results in FILE [disabled]
1231 -C, --config-cache alias for \`--cache-file=config.cache'
1232 -n, --no-create do not create output files
1233 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1234
1235Installation directories:
1236 --prefix=PREFIX install architecture-independent files in PREFIX
1237 [$ac_default_prefix]
1238 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1239 [PREFIX]
1240
1241By default, \`make install' will install all the files in
1242\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1243an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1244for instance \`--prefix=\$HOME'.
1245
1246For better control, use the options below.
1247
1248Fine tuning of the installation directories:
1249 --bindir=DIR user executables [EPREFIX/bin]
1250 --sbindir=DIR system admin executables [EPREFIX/sbin]
1251 --libexecdir=DIR program executables [EPREFIX/libexec]
1252 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1253 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1254 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1255 --libdir=DIR object code libraries [EPREFIX/lib]
1256 --includedir=DIR C header files [PREFIX/include]
1257 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1258 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1259 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1260 --infodir=DIR info documentation [DATAROOTDIR/info]
1261 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1262 --mandir=DIR man documentation [DATAROOTDIR/man]
1263 --docdir=DIR documentation root [DATAROOTDIR/doc/mingw-w64]
1264 --htmldir=DIR html documentation [DOCDIR]
1265 --dvidir=DIR dvi documentation [DOCDIR]
1266 --pdfdir=DIR pdf documentation [DOCDIR]
1267 --psdir=DIR ps documentation [DOCDIR]
1268_ACEOF
1269
1270 cat <<\_ACEOF
1271
1272Program names:
1273 --program-prefix=PREFIX prepend PREFIX to installed program names
1274 --program-suffix=SUFFIX append SUFFIX to installed program names
1275 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1276
1277System types:
1278 --build=BUILD configure for building on BUILD [guessed]
1279 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1280_ACEOF
1281fi
1282
1283if test -n "$ac_init_help"; then
1284 case $ac_init_help in
Jonathan Yong4906b262011-08-10 11:39:25 +00001285 short | recursive ) echo "Configuration of mingw-w64 3.0b:";;
NightStrike748174d2010-02-24 17:55:02 +00001286 esac
1287 cat <<\_ACEOF
1288
1289Optional Features:
1290 --disable-option-checking ignore unrecognized --enable/--with options
1291 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1292 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1293 --enable-maintainer-mode enable make rules and dependencies not useful
1294 (and sometimes confusing) to the casual installer
1295
1296Optional Packages:
1297 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1298 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1299 --without-headers Skip building the mingw-w64 headers
1300 --without-crt Skip building the mingw-w64 crt
1301 --with-libraries=ARG Build the extra mingw-w64 libs, where ARG is one of
1302 libmangle, pseh, or all
1303 --with-tools=ARG Build the extra mingw-w64 tools, where ARG is one of
NightStrikeadb344b2010-02-26 14:13:00 +00001304 gendef, genidl, or all
NightStrike748174d2010-02-24 17:55:02 +00001305
1306Report bugs to <mingw-w64-public@lists.sourceforge.net>.
1307_ACEOF
1308ac_status=$?
1309fi
1310
1311if test "$ac_init_help" = "recursive"; then
1312 # If there are subdirs, report their specific --help.
1313 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1314 test -d "$ac_dir" ||
1315 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1316 continue
1317 ac_builddir=.
1318
1319case "$ac_dir" in
1320.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1321*)
1322 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1323 # A ".." for each directory in $ac_dir_suffix.
1324 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1325 case $ac_top_builddir_sub in
1326 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1327 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1328 esac ;;
1329esac
1330ac_abs_top_builddir=$ac_pwd
1331ac_abs_builddir=$ac_pwd$ac_dir_suffix
1332# for backward compatibility:
1333ac_top_builddir=$ac_top_build_prefix
1334
1335case $srcdir in
1336 .) # We are building in place.
1337 ac_srcdir=.
1338 ac_top_srcdir=$ac_top_builddir_sub
1339 ac_abs_top_srcdir=$ac_pwd ;;
1340 [\\/]* | ?:[\\/]* ) # Absolute name.
1341 ac_srcdir=$srcdir$ac_dir_suffix;
1342 ac_top_srcdir=$srcdir
1343 ac_abs_top_srcdir=$srcdir ;;
1344 *) # Relative name.
1345 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1346 ac_top_srcdir=$ac_top_build_prefix$srcdir
1347 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1348esac
1349ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1350
1351 cd "$ac_dir" || { ac_status=$?; continue; }
1352 # Check for guested configure.
1353 if test -f "$ac_srcdir/configure.gnu"; then
1354 echo &&
1355 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1356 elif test -f "$ac_srcdir/configure"; then
1357 echo &&
1358 $SHELL "$ac_srcdir/configure" --help=recursive
1359 else
1360 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1361 fi || ac_status=$?
1362 cd "$ac_pwd" || { ac_status=$?; break; }
1363 done
1364fi
1365
1366test -n "$ac_init_help" && exit $ac_status
1367if $ac_init_version; then
1368 cat <<\_ACEOF
Jonathan Yong4906b262011-08-10 11:39:25 +00001369mingw-w64 configure 3.0b
Ozkan Sezer9e09a802011-11-17 07:42:03 +00001370generated by GNU Autoconf 2.68
NightStrike748174d2010-02-24 17:55:02 +00001371
Jonathan Yong4906b262011-08-10 11:39:25 +00001372Copyright (C) 2010 Free Software Foundation, Inc.
NightStrike748174d2010-02-24 17:55:02 +00001373This configure script is free software; the Free Software Foundation
1374gives unlimited permission to copy, distribute and modify it.
1375_ACEOF
1376 exit
1377fi
1378
1379## ------------------------ ##
1380## Autoconf initialization. ##
1381## ------------------------ ##
1382cat >config.log <<_ACEOF
1383This file contains any messages produced by compilers while
1384running configure, to aid debugging if configure makes a mistake.
1385
Jonathan Yong4906b262011-08-10 11:39:25 +00001386It was created by mingw-w64 $as_me 3.0b, which was
Ozkan Sezer9e09a802011-11-17 07:42:03 +00001387generated by GNU Autoconf 2.68. Invocation command line was
NightStrike748174d2010-02-24 17:55:02 +00001388
1389 $ $0 $@
1390
1391_ACEOF
1392exec 5>>config.log
1393{
1394cat <<_ASUNAME
1395## --------- ##
1396## Platform. ##
1397## --------- ##
1398
1399hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1400uname -m = `(uname -m) 2>/dev/null || echo unknown`
1401uname -r = `(uname -r) 2>/dev/null || echo unknown`
1402uname -s = `(uname -s) 2>/dev/null || echo unknown`
1403uname -v = `(uname -v) 2>/dev/null || echo unknown`
1404
1405/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1406/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1407
1408/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1409/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1410/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1411/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1412/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1413/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1414/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1415
1416_ASUNAME
1417
1418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1419for as_dir in $PATH
1420do
1421 IFS=$as_save_IFS
1422 test -z "$as_dir" && as_dir=.
1423 $as_echo "PATH: $as_dir"
1424 done
1425IFS=$as_save_IFS
1426
1427} >&5
1428
1429cat >&5 <<_ACEOF
1430
1431
1432## ----------- ##
1433## Core tests. ##
1434## ----------- ##
1435
1436_ACEOF
1437
1438
1439# Keep a trace of the command line.
1440# Strip out --no-create and --no-recursion so they do not pile up.
1441# Strip out --silent because we don't want to record it for future runs.
1442# Also quote any args containing shell meta-characters.
1443# Make two passes to allow for proper duplicate-argument suppression.
1444ac_configure_args=
1445ac_configure_args0=
1446ac_configure_args1=
1447ac_must_keep_next=false
1448for ac_pass in 1 2
1449do
1450 for ac_arg
1451 do
1452 case $ac_arg in
1453 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1454 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1455 | -silent | --silent | --silen | --sile | --sil)
1456 continue ;;
1457 *\'*)
1458 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1459 esac
1460 case $ac_pass in
1461 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1462 2)
1463 as_fn_append ac_configure_args1 " '$ac_arg'"
1464 if test $ac_must_keep_next = true; then
1465 ac_must_keep_next=false # Got value, back to normal.
1466 else
1467 case $ac_arg in
1468 *=* | --config-cache | -C | -disable-* | --disable-* \
1469 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1470 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1471 | -with-* | --with-* | -without-* | --without-* | --x)
1472 case "$ac_configure_args0 " in
1473 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1474 esac
1475 ;;
1476 -* ) ac_must_keep_next=true ;;
1477 esac
1478 fi
1479 as_fn_append ac_configure_args " '$ac_arg'"
1480 ;;
1481 esac
1482 done
1483done
1484{ ac_configure_args0=; unset ac_configure_args0;}
1485{ ac_configure_args1=; unset ac_configure_args1;}
1486
1487# When interrupted or exit'd, cleanup temporary files, and complete
1488# config.log. We remove comments because anyway the quotes in there
1489# would cause problems or look ugly.
1490# WARNING: Use '\'' to represent an apostrophe within the trap.
1491# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1492trap 'exit_status=$?
1493 # Save into config.log some information that might help in debugging.
1494 {
1495 echo
1496
Jonathan Yong4906b262011-08-10 11:39:25 +00001497 $as_echo "## ---------------- ##
NightStrike748174d2010-02-24 17:55:02 +00001498## Cache variables. ##
Jonathan Yong4906b262011-08-10 11:39:25 +00001499## ---------------- ##"
NightStrike748174d2010-02-24 17:55:02 +00001500 echo
1501 # The following way of writing the cache mishandles newlines in values,
1502(
1503 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1504 eval ac_val=\$$ac_var
1505 case $ac_val in #(
1506 *${as_nl}*)
1507 case $ac_var in #(
1508 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1509$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1510 esac
1511 case $ac_var in #(
1512 _ | IFS | as_nl) ;; #(
1513 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1514 *) { eval $ac_var=; unset $ac_var;} ;;
1515 esac ;;
1516 esac
1517 done
1518 (set) 2>&1 |
1519 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1520 *${as_nl}ac_space=\ *)
1521 sed -n \
1522 "s/'\''/'\''\\\\'\'''\''/g;
1523 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1524 ;; #(
1525 *)
1526 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1527 ;;
1528 esac |
1529 sort
1530)
1531 echo
1532
Jonathan Yong4906b262011-08-10 11:39:25 +00001533 $as_echo "## ----------------- ##
NightStrike748174d2010-02-24 17:55:02 +00001534## Output variables. ##
Jonathan Yong4906b262011-08-10 11:39:25 +00001535## ----------------- ##"
NightStrike748174d2010-02-24 17:55:02 +00001536 echo
1537 for ac_var in $ac_subst_vars
1538 do
1539 eval ac_val=\$$ac_var
1540 case $ac_val in
1541 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1542 esac
1543 $as_echo "$ac_var='\''$ac_val'\''"
1544 done | sort
1545 echo
1546
1547 if test -n "$ac_subst_files"; then
Jonathan Yong4906b262011-08-10 11:39:25 +00001548 $as_echo "## ------------------- ##
NightStrike748174d2010-02-24 17:55:02 +00001549## File substitutions. ##
Jonathan Yong4906b262011-08-10 11:39:25 +00001550## ------------------- ##"
NightStrike748174d2010-02-24 17:55:02 +00001551 echo
1552 for ac_var in $ac_subst_files
1553 do
1554 eval ac_val=\$$ac_var
1555 case $ac_val in
1556 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1557 esac
1558 $as_echo "$ac_var='\''$ac_val'\''"
1559 done | sort
1560 echo
1561 fi
1562
1563 if test -s confdefs.h; then
Jonathan Yong4906b262011-08-10 11:39:25 +00001564 $as_echo "## ----------- ##
NightStrike748174d2010-02-24 17:55:02 +00001565## confdefs.h. ##
Jonathan Yong4906b262011-08-10 11:39:25 +00001566## ----------- ##"
NightStrike748174d2010-02-24 17:55:02 +00001567 echo
1568 cat confdefs.h
1569 echo
1570 fi
1571 test "$ac_signal" != 0 &&
1572 $as_echo "$as_me: caught signal $ac_signal"
1573 $as_echo "$as_me: exit $exit_status"
1574 } >&5
1575 rm -f core *.core core.conftest.* &&
1576 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1577 exit $exit_status
1578' 0
1579for ac_signal in 1 2 13 15; do
1580 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1581done
1582ac_signal=0
1583
1584# confdefs.h avoids OS command line length limits that DEFS can exceed.
1585rm -f -r conftest* confdefs.h
1586
1587$as_echo "/* confdefs.h */" > confdefs.h
1588
1589# Predefined preprocessor variables.
1590
1591cat >>confdefs.h <<_ACEOF
1592#define PACKAGE_NAME "$PACKAGE_NAME"
1593_ACEOF
1594
1595cat >>confdefs.h <<_ACEOF
1596#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1597_ACEOF
1598
1599cat >>confdefs.h <<_ACEOF
1600#define PACKAGE_VERSION "$PACKAGE_VERSION"
1601_ACEOF
1602
1603cat >>confdefs.h <<_ACEOF
1604#define PACKAGE_STRING "$PACKAGE_STRING"
1605_ACEOF
1606
1607cat >>confdefs.h <<_ACEOF
1608#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1609_ACEOF
1610
1611cat >>confdefs.h <<_ACEOF
1612#define PACKAGE_URL "$PACKAGE_URL"
1613_ACEOF
1614
1615
1616# Let the site file select an alternate cache file if it wants to.
1617# Prefer an explicitly selected file to automatically selected ones.
1618ac_site_file1=NONE
1619ac_site_file2=NONE
1620if test -n "$CONFIG_SITE"; then
Jonathan Yong4906b262011-08-10 11:39:25 +00001621 # We do not want a PATH search for config.site.
1622 case $CONFIG_SITE in #((
1623 -*) ac_site_file1=./$CONFIG_SITE;;
1624 */*) ac_site_file1=$CONFIG_SITE;;
1625 *) ac_site_file1=./$CONFIG_SITE;;
1626 esac
NightStrike748174d2010-02-24 17:55:02 +00001627elif test "x$prefix" != xNONE; then
1628 ac_site_file1=$prefix/share/config.site
1629 ac_site_file2=$prefix/etc/config.site
1630else
1631 ac_site_file1=$ac_default_prefix/share/config.site
1632 ac_site_file2=$ac_default_prefix/etc/config.site
1633fi
1634for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1635do
1636 test "x$ac_site_file" = xNONE && continue
1637 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1639$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1640 sed 's/^/| /' "$ac_site_file" >&5
Jonathan Yong4906b262011-08-10 11:39:25 +00001641 . "$ac_site_file" \
1642 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1643$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1644as_fn_error $? "failed to load site script $ac_site_file
1645See \`config.log' for more details" "$LINENO" 5; }
NightStrike748174d2010-02-24 17:55:02 +00001646 fi
1647done
1648
1649if test -r "$cache_file"; then
1650 # Some versions of bash will fail to source /dev/null (special files
1651 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1652 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1654$as_echo "$as_me: loading cache $cache_file" >&6;}
1655 case $cache_file in
1656 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1657 *) . "./$cache_file";;
1658 esac
1659 fi
1660else
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1662$as_echo "$as_me: creating cache $cache_file" >&6;}
1663 >$cache_file
1664fi
1665
1666# Check that the precious variables saved in the cache have kept the same
1667# value.
1668ac_cache_corrupted=false
1669for ac_var in $ac_precious_vars; do
1670 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1671 eval ac_new_set=\$ac_env_${ac_var}_set
1672 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1673 eval ac_new_val=\$ac_env_${ac_var}_value
1674 case $ac_old_set,$ac_new_set in
1675 set,)
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1677$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1678 ac_cache_corrupted=: ;;
1679 ,set)
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1681$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1682 ac_cache_corrupted=: ;;
1683 ,);;
1684 *)
1685 if test "x$ac_old_val" != "x$ac_new_val"; then
1686 # differences in whitespace do not lead to failure.
1687 ac_old_val_w=`echo x $ac_old_val`
1688 ac_new_val_w=`echo x $ac_new_val`
1689 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1691$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1692 ac_cache_corrupted=:
1693 else
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1695$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1696 eval $ac_var=\$ac_old_val
1697 fi
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1699$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1701$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1702 fi;;
1703 esac
1704 # Pass precious variables to config.status.
1705 if test "$ac_new_set" = set; then
1706 case $ac_new_val in
1707 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1708 *) ac_arg=$ac_var=$ac_new_val ;;
1709 esac
1710 case " $ac_configure_args " in
1711 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1712 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1713 esac
1714 fi
1715done
1716if $ac_cache_corrupted; then
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1718$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1720$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
Jonathan Yong4906b262011-08-10 11:39:25 +00001721 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00001722fi
1723## -------------------- ##
1724## Main body of script. ##
1725## -------------------- ##
1726
1727ac_ext=c
1728ac_cpp='$CPP $CPPFLAGS'
1729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1731ac_compiler_gnu=$ac_cv_c_compiler_gnu
1732
1733
1734ac_aux_dir=
1735for ac_dir in build-aux "$srcdir"/build-aux; do
Jonathan Yong4906b262011-08-10 11:39:25 +00001736 if test -f "$ac_dir/install-sh"; then
1737 ac_aux_dir=$ac_dir
1738 ac_install_sh="$ac_aux_dir/install-sh -c"
1739 break
1740 elif test -f "$ac_dir/install.sh"; then
1741 ac_aux_dir=$ac_dir
1742 ac_install_sh="$ac_aux_dir/install.sh -c"
1743 break
1744 elif test -f "$ac_dir/shtool"; then
1745 ac_aux_dir=$ac_dir
1746 ac_install_sh="$ac_aux_dir/shtool install -c"
1747 break
1748 fi
NightStrike748174d2010-02-24 17:55:02 +00001749done
1750if test -z "$ac_aux_dir"; then
Jonathan Yong4906b262011-08-10 11:39:25 +00001751 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00001752fi
1753
1754# These three variables are undocumented and unsupported,
1755# and are intended to be withdrawn in a future Autoconf release.
1756# They can cause serious problems if a builder's source tree is in a directory
1757# whose full name contains unusual characters.
1758ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1759ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1760ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1761
1762
1763
1764ac_config_headers="$ac_config_headers config.h"
1765
1766
1767
1768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
1769$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
1770 # Check whether --enable-maintainer-mode was given.
1771if test "${enable_maintainer_mode+set}" = set; then :
1772 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1773else
1774 USE_MAINTAINER_MODE=no
1775fi
1776
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
1778$as_echo "$USE_MAINTAINER_MODE" >&6; }
1779 if test $USE_MAINTAINER_MODE = yes; then
1780 MAINTAINER_MODE_TRUE=
1781 MAINTAINER_MODE_FALSE='#'
1782else
1783 MAINTAINER_MODE_TRUE='#'
1784 MAINTAINER_MODE_FALSE=
1785fi
1786
1787 MAINT=$MAINTAINER_MODE_TRUE
1788
1789
1790am__api_version='1.11'
1791
1792# Find a good install program. We prefer a C program (faster),
1793# so one script is as good as another. But avoid the broken or
1794# incompatible versions:
1795# SysV /etc/install, /usr/sbin/install
1796# SunOS /usr/etc/install
1797# IRIX /sbin/install
1798# AIX /bin/install
1799# AmigaOS /C/install, which installs bootblocks on floppy discs
1800# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1801# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1802# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1803# OS/2's system install, which has a completely different semantic
1804# ./install, which can be erroneously created by make from ./install.sh.
1805# Reject install programs that cannot install multiple files.
1806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1807$as_echo_n "checking for a BSD-compatible install... " >&6; }
1808if test -z "$INSTALL"; then
Ozkan Sezer9e09a802011-11-17 07:42:03 +00001809if ${ac_cv_path_install+:} false; then :
NightStrike748174d2010-02-24 17:55:02 +00001810 $as_echo_n "(cached) " >&6
1811else
1812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1813for as_dir in $PATH
1814do
1815 IFS=$as_save_IFS
1816 test -z "$as_dir" && as_dir=.
1817 # Account for people who put trailing slashes in PATH elements.
1818case $as_dir/ in #((
1819 ./ | .// | /[cC]/* | \
1820 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1821 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1822 /usr/ucb/* ) ;;
1823 *)
1824 # OSF1 and SCO ODT 3.0 have their own names for install.
1825 # Don't use installbsd from OSF since it installs stuff as root
1826 # by default.
1827 for ac_prog in ginstall scoinst install; do
1828 for ac_exec_ext in '' $ac_executable_extensions; do
1829 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1830 if test $ac_prog = install &&
1831 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1832 # AIX install. It has an incompatible calling convention.
1833 :
1834 elif test $ac_prog = install &&
1835 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1836 # program-specific install script used by HP pwplus--don't use.
1837 :
1838 else
1839 rm -rf conftest.one conftest.two conftest.dir
1840 echo one > conftest.one
1841 echo two > conftest.two
1842 mkdir conftest.dir
1843 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1844 test -s conftest.one && test -s conftest.two &&
1845 test -s conftest.dir/conftest.one &&
1846 test -s conftest.dir/conftest.two
1847 then
1848 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1849 break 3
1850 fi
1851 fi
1852 fi
1853 done
1854 done
1855 ;;
1856esac
1857
1858 done
1859IFS=$as_save_IFS
1860
1861rm -rf conftest.one conftest.two conftest.dir
1862
1863fi
1864 if test "${ac_cv_path_install+set}" = set; then
1865 INSTALL=$ac_cv_path_install
1866 else
1867 # As a last resort, use the slow shell script. Don't cache a
1868 # value for INSTALL within a source directory, because that will
1869 # break other packages using the cache if that directory is
1870 # removed, or if the value is a relative name.
1871 INSTALL=$ac_install_sh
1872 fi
1873fi
1874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1875$as_echo "$INSTALL" >&6; }
1876
1877# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1878# It thinks the first close brace ends the variable substitution.
1879test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1880
1881test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1882
1883test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1884
1885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1886$as_echo_n "checking whether build environment is sane... " >&6; }
1887# Just in case
1888sleep 1
1889echo timestamp > conftest.file
1890# Reject unsafe characters in $srcdir or the absolute working directory
1891# name. Accept space and tab only in the latter.
1892am_lf='
1893'
1894case `pwd` in
1895 *[\\\"\#\$\&\'\`$am_lf]*)
Jonathan Yong4906b262011-08-10 11:39:25 +00001896 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
NightStrike748174d2010-02-24 17:55:02 +00001897esac
1898case $srcdir in
1899 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
Jonathan Yong4906b262011-08-10 11:39:25 +00001900 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
NightStrike748174d2010-02-24 17:55:02 +00001901esac
1902
1903# Do `set' in a subshell so we don't clobber the current shell's
1904# arguments. Must try -L first in case configure is actually a
1905# symlink; some systems play weird games with the mod time of symlinks
1906# (eg FreeBSD returns the mod time of the symlink's containing
1907# directory).
1908if (
1909 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1910 if test "$*" = "X"; then
1911 # -L didn't work.
1912 set X `ls -t "$srcdir/configure" conftest.file`
1913 fi
1914 rm -f conftest.file
1915 if test "$*" != "X $srcdir/configure conftest.file" \
1916 && test "$*" != "X conftest.file $srcdir/configure"; then
1917
1918 # If neither matched, then we have a broken ls. This can happen
1919 # if, for instance, CONFIG_SHELL is bash and it inherits a
1920 # broken ls alias from the environment. This has actually
1921 # happened. Such a system could not be considered "sane".
Jonathan Yong4906b262011-08-10 11:39:25 +00001922 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
NightStrike748174d2010-02-24 17:55:02 +00001923alias in your environment" "$LINENO" 5
1924 fi
1925
1926 test "$2" = conftest.file
1927 )
1928then
1929 # Ok.
1930 :
1931else
Jonathan Yong4906b262011-08-10 11:39:25 +00001932 as_fn_error $? "newly created file is older than distributed files!
NightStrike748174d2010-02-24 17:55:02 +00001933Check your system clock" "$LINENO" 5
1934fi
1935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1936$as_echo "yes" >&6; }
1937test "$program_prefix" != NONE &&
1938 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1939# Use a double $ so make ignores it.
1940test "$program_suffix" != NONE &&
1941 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1942# Double any \ or $.
1943# By default was `s,x,x', remove it if useless.
1944ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1945program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1946
1947# expand $ac_aux_dir to an absolute path
1948am_aux_dir=`cd $ac_aux_dir && pwd`
1949
1950if test x"${MISSING+set}" != xset; then
1951 case $am_aux_dir in
1952 *\ * | *\ *)
1953 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1954 *)
1955 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1956 esac
1957fi
1958# Use eval to expand $SHELL
1959if eval "$MISSING --run true"; then
1960 am_missing_run="$MISSING --run "
1961else
1962 am_missing_run=
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1964$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1965fi
1966
1967if test x"${install_sh}" != xset; then
1968 case $am_aux_dir in
1969 *\ * | *\ *)
1970 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1971 *)
1972 install_sh="\${SHELL} $am_aux_dir/install-sh"
1973 esac
1974fi
1975
1976# Installed binaries are usually stripped using `strip' when the user
1977# run `make install-strip'. However `strip' might not be the right
1978# tool to use in cross-compilation environments, therefore Automake
1979# will honor the `STRIP' environment variable to overrule this program.
1980if test "$cross_compiling" != no; then
1981 if test -n "$ac_tool_prefix"; then
1982 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1983set dummy ${ac_tool_prefix}strip; ac_word=$2
1984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1985$as_echo_n "checking for $ac_word... " >&6; }
Ozkan Sezer9e09a802011-11-17 07:42:03 +00001986if ${ac_cv_prog_STRIP+:} false; then :
NightStrike748174d2010-02-24 17:55:02 +00001987 $as_echo_n "(cached) " >&6
1988else
1989 if test -n "$STRIP"; then
1990 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1991else
1992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993for as_dir in $PATH
1994do
1995 IFS=$as_save_IFS
1996 test -z "$as_dir" && as_dir=.
1997 for ac_exec_ext in '' $ac_executable_extensions; do
1998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1999 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2001 break 2
2002 fi
2003done
2004 done
2005IFS=$as_save_IFS
2006
2007fi
2008fi
2009STRIP=$ac_cv_prog_STRIP
2010if test -n "$STRIP"; then
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2012$as_echo "$STRIP" >&6; }
2013else
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2015$as_echo "no" >&6; }
2016fi
2017
2018
2019fi
2020if test -z "$ac_cv_prog_STRIP"; then
2021 ac_ct_STRIP=$STRIP
2022 # Extract the first word of "strip", so it can be a program name with args.
2023set dummy strip; ac_word=$2
2024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2025$as_echo_n "checking for $ac_word... " >&6; }
Ozkan Sezer9e09a802011-11-17 07:42:03 +00002026if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
NightStrike748174d2010-02-24 17:55:02 +00002027 $as_echo_n "(cached) " >&6
2028else
2029 if test -n "$ac_ct_STRIP"; then
2030 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2031else
2032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2033for as_dir in $PATH
2034do
2035 IFS=$as_save_IFS
2036 test -z "$as_dir" && as_dir=.
2037 for ac_exec_ext in '' $ac_executable_extensions; do
2038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2039 ac_cv_prog_ac_ct_STRIP="strip"
2040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2041 break 2
2042 fi
2043done
2044 done
2045IFS=$as_save_IFS
2046
2047fi
2048fi
2049ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2050if test -n "$ac_ct_STRIP"; then
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2052$as_echo "$ac_ct_STRIP" >&6; }
2053else
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2055$as_echo "no" >&6; }
2056fi
2057
2058 if test "x$ac_ct_STRIP" = x; then
2059 STRIP=":"
2060 else
2061 case $cross_compiling:$ac_tool_warned in
2062yes:)
2063{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2064$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2065ac_tool_warned=yes ;;
2066esac
2067 STRIP=$ac_ct_STRIP
2068 fi
2069else
2070 STRIP="$ac_cv_prog_STRIP"
2071fi
2072
2073fi
2074INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2075
2076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2077$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2078if test -z "$MKDIR_P"; then
Ozkan Sezer9e09a802011-11-17 07:42:03 +00002079 if ${ac_cv_path_mkdir+:} false; then :
NightStrike748174d2010-02-24 17:55:02 +00002080 $as_echo_n "(cached) " >&6
2081else
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2083for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2084do
2085 IFS=$as_save_IFS
2086 test -z "$as_dir" && as_dir=.
2087 for ac_prog in mkdir gmkdir; do
2088 for ac_exec_ext in '' $ac_executable_extensions; do
2089 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2090 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2091 'mkdir (GNU coreutils) '* | \
2092 'mkdir (coreutils) '* | \
2093 'mkdir (fileutils) '4.1*)
2094 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2095 break 3;;
2096 esac
2097 done
2098 done
2099 done
2100IFS=$as_save_IFS
2101
2102fi
2103
2104 test -d ./--version && rmdir ./--version
2105 if test "${ac_cv_path_mkdir+set}" = set; then
2106 MKDIR_P="$ac_cv_path_mkdir -p"
2107 else
2108 # As a last resort, use the slow shell script. Don't cache a
2109 # value for MKDIR_P within a source directory, because that will
2110 # break other packages using the cache if that directory is
2111 # removed, or if the value is a relative name.
2112 MKDIR_P="$ac_install_sh -d"
2113 fi
2114fi
2115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2116$as_echo "$MKDIR_P" >&6; }
2117
2118mkdir_p="$MKDIR_P"
2119case $mkdir_p in
2120 [\\/$]* | ?:[\\/]*) ;;
2121 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2122esac
2123
2124for ac_prog in gawk mawk nawk awk
2125do
2126 # Extract the first word of "$ac_prog", so it can be a program name with args.
2127set dummy $ac_prog; ac_word=$2
2128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2129$as_echo_n "checking for $ac_word... " >&6; }
Ozkan Sezer9e09a802011-11-17 07:42:03 +00002130if ${ac_cv_prog_AWK+:} false; then :
NightStrike748174d2010-02-24 17:55:02 +00002131 $as_echo_n "(cached) " >&6
2132else
2133 if test -n "$AWK"; then
2134 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2135else
2136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137for as_dir in $PATH
2138do
2139 IFS=$as_save_IFS
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_AWK="$ac_prog"
2144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 break 2
2146 fi
2147done
2148 done
2149IFS=$as_save_IFS
2150
2151fi
2152fi
2153AWK=$ac_cv_prog_AWK
2154if test -n "$AWK"; then
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2156$as_echo "$AWK" >&6; }
2157else
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2159$as_echo "no" >&6; }
2160fi
2161
2162
2163 test -n "$AWK" && break
2164done
2165
2166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2167$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2168set x ${MAKE-make}
2169ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
Ozkan Sezer9e09a802011-11-17 07:42:03 +00002170if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
NightStrike748174d2010-02-24 17:55:02 +00002171 $as_echo_n "(cached) " >&6
2172else
2173 cat >conftest.make <<\_ACEOF
2174SHELL = /bin/sh
2175all:
2176 @echo '@@@%%%=$(MAKE)=@@@%%%'
2177_ACEOF
Jonathan Yong4906b262011-08-10 11:39:25 +00002178# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
NightStrike748174d2010-02-24 17:55:02 +00002179case `${MAKE-make} -f conftest.make 2>/dev/null` in
2180 *@@@%%%=?*=@@@%%%*)
2181 eval ac_cv_prog_make_${ac_make}_set=yes;;
2182 *)
2183 eval ac_cv_prog_make_${ac_make}_set=no;;
2184esac
2185rm -f conftest.make
2186fi
2187if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2189$as_echo "yes" >&6; }
2190 SET_MAKE=
2191else
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2193$as_echo "no" >&6; }
2194 SET_MAKE="MAKE=${MAKE-make}"
2195fi
2196
2197rm -rf .tst 2>/dev/null
2198mkdir .tst 2>/dev/null
2199if test -d .tst; then
2200 am__leading_dot=.
2201else
2202 am__leading_dot=_
2203fi
2204rmdir .tst 2>/dev/null
2205
2206if test "`cd $srcdir && pwd`" != "`pwd`"; then
2207 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2208 # is not polluted with repeated "-I."
2209 am__isrc=' -I$(srcdir)'
2210 # test to see if srcdir already configured
2211 if test -f $srcdir/config.status; then
Jonathan Yong4906b262011-08-10 11:39:25 +00002212 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00002213 fi
2214fi
2215
2216# test whether we have cygpath
2217if test -z "$CYGPATH_W"; then
2218 if (cygpath --version) >/dev/null 2>/dev/null; then
2219 CYGPATH_W='cygpath -w'
2220 else
2221 CYGPATH_W=echo
2222 fi
2223fi
2224
2225
2226# Define the identity of the package.
2227 PACKAGE='mingw-w64'
Jonathan Yong4906b262011-08-10 11:39:25 +00002228 VERSION='3.0b'
NightStrike748174d2010-02-24 17:55:02 +00002229
2230
2231cat >>confdefs.h <<_ACEOF
2232#define PACKAGE "$PACKAGE"
2233_ACEOF
2234
2235
2236cat >>confdefs.h <<_ACEOF
2237#define VERSION "$VERSION"
2238_ACEOF
2239
2240# Some tools Automake needs.
2241
2242ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2243
2244
2245AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2246
2247
2248AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2249
2250
2251AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2252
2253
2254MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2255
2256# We need awk for the "check" target. The system "awk" is bad on
2257# some platforms.
2258# Always define AMTAR for backward compatibility.
2259
2260AMTAR=${AMTAR-"${am_missing_run}tar"}
2261
2262am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2263
2264
2265
2266
2267
2268
2269# Make sure we can run config.sub.
2270$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
Jonathan Yong4906b262011-08-10 11:39:25 +00002271 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00002272
2273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2274$as_echo_n "checking build system type... " >&6; }
Ozkan Sezer9e09a802011-11-17 07:42:03 +00002275if ${ac_cv_build+:} false; then :
NightStrike748174d2010-02-24 17:55:02 +00002276 $as_echo_n "(cached) " >&6
2277else
2278 ac_build_alias=$build_alias
2279test "x$ac_build_alias" = x &&
2280 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2281test "x$ac_build_alias" = x &&
Jonathan Yong4906b262011-08-10 11:39:25 +00002282 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00002283ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
Jonathan Yong4906b262011-08-10 11:39:25 +00002284 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00002285
2286fi
2287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2288$as_echo "$ac_cv_build" >&6; }
2289case $ac_cv_build in
2290*-*-*) ;;
Jonathan Yong4906b262011-08-10 11:39:25 +00002291*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
NightStrike748174d2010-02-24 17:55:02 +00002292esac
2293build=$ac_cv_build
2294ac_save_IFS=$IFS; IFS='-'
2295set x $ac_cv_build
2296shift
2297build_cpu=$1
2298build_vendor=$2
2299shift; shift
2300# Remember, the first character of IFS is used to create $*,
2301# except with old shells:
2302build_os=$*
2303IFS=$ac_save_IFS
2304case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2305
2306
2307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2308$as_echo_n "checking host system type... " >&6; }
Ozkan Sezer9e09a802011-11-17 07:42:03 +00002309if ${ac_cv_host+:} false; then :
NightStrike748174d2010-02-24 17:55:02 +00002310 $as_echo_n "(cached) " >&6
2311else
2312 if test "x$host_alias" = x; then
2313 ac_cv_host=$ac_cv_build
2314else
2315 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
Jonathan Yong4906b262011-08-10 11:39:25 +00002316 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00002317fi
2318
2319fi
2320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2321$as_echo "$ac_cv_host" >&6; }
2322case $ac_cv_host in
2323*-*-*) ;;
Jonathan Yong4906b262011-08-10 11:39:25 +00002324*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
NightStrike748174d2010-02-24 17:55:02 +00002325esac
2326host=$ac_cv_host
2327ac_save_IFS=$IFS; IFS='-'
2328set x $ac_cv_host
2329shift
2330host_cpu=$1
2331host_vendor=$2
2332shift; shift
2333# Remember, the first character of IFS is used to create $*,
2334# except with old shells:
2335host_os=$*
2336IFS=$ac_save_IFS
2337case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2338
2339
2340
NightStriked6b2d4b2010-03-04 16:48:56 +00002341
2342
NightStrike748174d2010-02-24 17:55:02 +00002343# Checks for programs.
2344
2345# Checks for libraries.
2346
2347# Checks for header files.
2348
2349# Checks for typedefs, structures, and compiler characteristics.
2350
2351# Checks for library functions.
2352
2353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the headers" >&5
2354$as_echo_n "checking whether to build the headers... " >&6; }
2355
2356# Check whether --with-headers was given.
2357if test "${with_headers+set}" = set; then :
2358 withval=$with_headers;
2359else
2360 with_headers=yes
2361fi
2362
2363
2364
2365case $with_headers in #(
2366 yes) :
2367 subdirs="$subdirs mingw-w64-headers"
2368 ;; #(
2369 no) :
2370 ;; #(
2371 *) :
Jonathan Yong4906b262011-08-10 11:39:25 +00002372 as_fn_error $? "Invalid argument to --with-headers: $with_headers" "$LINENO" 5 ;;
NightStrike748174d2010-02-24 17:55:02 +00002373esac
2374 if test "x$with_headers" = xyes; then
2375 HEADER_TRUE=
2376 HEADER_FALSE='#'
2377else
2378 HEADER_TRUE='#'
2379 HEADER_FALSE=
2380fi
2381
2382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_headers" >&5
2383$as_echo "$with_headers" >&6; }
2384
2385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the crt" >&5
2386$as_echo_n "checking whether to build the crt... " >&6; }
2387
2388# Check whether --with-crt was given.
2389if test "${with_crt+set}" = set; then :
2390 withval=$with_crt;
2391else
2392 with_crt=yes
2393fi
2394
2395case $with_crt in #(
2396 yes) :
2397 subdirs="$subdirs mingw-w64-crt"
2398 ;; #(
2399 no) :
2400 ;; #(
2401 *) :
Jonathan Yong4906b262011-08-10 11:39:25 +00002402 as_fn_error $? "Invalid argument to --with-crt: $with_crt" "$LINENO" 5 ;;
NightStrike748174d2010-02-24 17:55:02 +00002403esac
2404 if test "x$with_crt" = xyes; then
2405 CRT_TRUE=
2406 CRT_FALSE='#'
2407else
2408 CRT_TRUE='#'
2409 CRT_FALSE=
2410fi
2411
2412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_crt" >&5
2413$as_echo "$with_crt" >&6; }
2414
2415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the optional libraries" >&5
2416$as_echo_n "checking whether to build the optional libraries... " >&6; }
2417
2418# Check whether --with-libraries was given.
2419if test "${with_libraries+set}" = set; then :
2420 withval=$with_libraries;
2421else
2422 with_libraries=no
2423fi
2424
2425case $with_libraries in #(
2426 yes|all) :
2427
2428 with_libraries="libmangle,pseh"
2429 with_libraries_mangle=yes
2430 with_libraries_pseh=yes ;; #(
2431 libmangle) :
2432
2433 with_libraries="libmangle"
2434 with_libraries_mangle=yes
2435 with_libraries_pseh=no ;; #(
2436 pseh) :
2437
2438 with_libraries="pseh"
2439 with_libraries_mangle=no
2440 with_libraries_pseh=yes ;; #(
2441 no) :
2442
2443 with_libraries_mangle=no
2444 with_libraries_pseh=no ;; #(
2445 *) :
Jonathan Yong4906b262011-08-10 11:39:25 +00002446 as_fn_error $? "Invalid argument to --with-libraries: $with_libraries" "$LINENO" 5 ;;
NightStrike748174d2010-02-24 17:55:02 +00002447esac
2448 if test "x$with_libraries_mangle" = xyes; then
2449 LIBRARIES_MANGLE_TRUE=
2450 LIBRARIES_MANGLE_FALSE='#'
2451else
2452 LIBRARIES_MANGLE_TRUE='#'
2453 LIBRARIES_MANGLE_FALSE=
2454fi
2455
2456 if test "x$with_libraries_pseh" = xyes; then
2457 LIBRARIES_PSEH_TRUE=
2458 LIBRARIES_PSEH_FALSE='#'
2459else
2460 LIBRARIES_PSEH_TRUE='#'
2461 LIBRARIES_PSEH_FALSE=
2462fi
2463
2464if test "x$with_libraries_mangle" = xyes; then
2465 subdirs="$subdirs mingw-w64-libraries/libmangle"
2466
2467fi
2468if test "x$with_libraries_pseh" = xyes; then
2469 subdirs="$subdirs mingw-w64-libraries/pseh"
2470
2471fi
2472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_libraries" >&5
2473$as_echo "$with_libraries" >&6; }
2474
2475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the optional tools" >&5
2476$as_echo_n "checking whether to build the optional tools... " >&6; }
2477
2478# Check whether --with-tools was given.
2479if test "${with_tools+set}" = set; then :
2480 withval=$with_tools;
2481else
2482 with_tools=no
2483fi
2484
2485case $with_tools in #(
2486 yes|all) :
2487
NightStrikeadb344b2010-02-26 14:13:00 +00002488 with_tools="gendef,genidl"
2489 with_tools_gendef=yes
2490 with_tools_genidl=yes ;; #(
NightStrike748174d2010-02-24 17:55:02 +00002491 gendef) :
2492
2493 with_tools="gendef"
NightStrikeadb344b2010-02-26 14:13:00 +00002494 with_tools_gendef=yes
2495 with_tools_genidl=no ;; #(
2496 genidl) :
2497
2498 with_tools="genidl"
2499 with_tools_gendef=no
2500 with_tools_genidl=yes ;; #(
NightStrike748174d2010-02-24 17:55:02 +00002501 no) :
2502
NightStrikeadb344b2010-02-26 14:13:00 +00002503 with_tools_gendef=no
2504 with_tools_genidl=no ;; #(
NightStrike748174d2010-02-24 17:55:02 +00002505 *) :
Jonathan Yong4906b262011-08-10 11:39:25 +00002506 as_fn_error $? "Invalid argument to --with-tools: $with_tools" "$LINENO" 5 ;;
NightStrike748174d2010-02-24 17:55:02 +00002507esac
2508 if test "x$with_tools_gendef" = xyes; then
2509 TOOLS_GENDEF_TRUE=
2510 TOOLS_GENDEF_FALSE='#'
2511else
2512 TOOLS_GENDEF_TRUE='#'
2513 TOOLS_GENDEF_FALSE=
2514fi
2515
NightStrikeadb344b2010-02-26 14:13:00 +00002516 if test "x$with_tools_genidl" = xyes; then
2517 TOOLS_GENIDL_TRUE=
2518 TOOLS_GENIDL_FALSE='#'
2519else
2520 TOOLS_GENIDL_TRUE='#'
2521 TOOLS_GENIDL_FALSE=
2522fi
2523
NightStrike748174d2010-02-24 17:55:02 +00002524if test "x$with_tools_gendef" = xyes; then
2525 subdirs="$subdirs mingw-w64-tools/gendef"
2526
2527fi
NightStrikeadb344b2010-02-26 14:13:00 +00002528if test "x$with_tools_genidl" = xyes; then
2529 subdirs="$subdirs mingw-w64-tools/genidl"
2530
2531fi
NightStrike748174d2010-02-24 17:55:02 +00002532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_tools" >&5
2533$as_echo "$with_tools" >&6; }
2534
2535ac_config_files="$ac_config_files Makefile"
2536
2537cat >confcache <<\_ACEOF
2538# This file is a shell script that caches the results of configure
2539# tests run on this system so they can be shared between configure
2540# scripts and configure runs, see configure's option --config-cache.
2541# It is not useful on other systems. If it contains results you don't
2542# want to keep, you may remove or edit it.
2543#
2544# config.status only pays attention to the cache file if you give it
2545# the --recheck option to rerun configure.
2546#
2547# `ac_cv_env_foo' variables (set or unset) will be overridden when
2548# loading this file, other *unset* `ac_cv_foo' will be assigned the
2549# following values.
2550
2551_ACEOF
2552
2553# The following way of writing the cache mishandles newlines in values,
2554# but we know of no workaround that is simple, portable, and efficient.
2555# So, we kill variables containing newlines.
2556# Ultrix sh set writes to stderr and can't be redirected directly,
2557# and sets the high bit in the cache file unless we assign to the vars.
2558(
2559 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2560 eval ac_val=\$$ac_var
2561 case $ac_val in #(
2562 *${as_nl}*)
2563 case $ac_var in #(
2564 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2565$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2566 esac
2567 case $ac_var in #(
2568 _ | IFS | as_nl) ;; #(
2569 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2570 *) { eval $ac_var=; unset $ac_var;} ;;
2571 esac ;;
2572 esac
2573 done
2574
2575 (set) 2>&1 |
2576 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2577 *${as_nl}ac_space=\ *)
2578 # `set' does not quote correctly, so add quotes: double-quote
2579 # substitution turns \\\\ into \\, and sed turns \\ into \.
2580 sed -n \
2581 "s/'/'\\\\''/g;
2582 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2583 ;; #(
2584 *)
2585 # `set' quotes correctly as required by POSIX, so do not add quotes.
2586 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2587 ;;
2588 esac |
2589 sort
2590) |
2591 sed '
2592 /^ac_cv_env_/b end
2593 t clear
2594 :clear
2595 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2596 t end
2597 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2598 :end' >>confcache
2599if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2600 if test -w "$cache_file"; then
Ozkan Sezer9e09a802011-11-17 07:42:03 +00002601 if test "x$cache_file" != "x/dev/null"; then
NightStrike748174d2010-02-24 17:55:02 +00002602 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2603$as_echo "$as_me: updating cache $cache_file" >&6;}
Ozkan Sezer9e09a802011-11-17 07:42:03 +00002604 if test ! -f "$cache_file" || test -h "$cache_file"; then
2605 cat confcache >"$cache_file"
2606 else
2607 case $cache_file in #(
2608 */* | ?:*)
2609 mv -f confcache "$cache_file"$$ &&
2610 mv -f "$cache_file"$$ "$cache_file" ;; #(
2611 *)
2612 mv -f confcache "$cache_file" ;;
2613 esac
2614 fi
2615 fi
NightStrike748174d2010-02-24 17:55:02 +00002616 else
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2618$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2619 fi
2620fi
2621rm -f confcache
2622
2623test "x$prefix" = xNONE && prefix=$ac_default_prefix
2624# Let make expand exec_prefix.
2625test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2626
2627DEFS=-DHAVE_CONFIG_H
2628
2629ac_libobjs=
2630ac_ltlibobjs=
Jonathan Yong4906b262011-08-10 11:39:25 +00002631U=
NightStrike748174d2010-02-24 17:55:02 +00002632for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2633 # 1. Remove the extension, and $U if already installed.
2634 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2635 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2636 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2637 # will be set to the directory where LIBOBJS objects are built.
2638 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2639 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2640done
2641LIBOBJS=$ac_libobjs
2642
2643LTLIBOBJS=$ac_ltlibobjs
2644
2645
2646if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
Jonathan Yong4906b262011-08-10 11:39:25 +00002647 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
NightStrike748174d2010-02-24 17:55:02 +00002648Usually this means the macro was only invoked conditionally." "$LINENO" 5
2649fi
2650
2651if test -z "${HEADER_TRUE}" && test -z "${HEADER_FALSE}"; then
Jonathan Yong4906b262011-08-10 11:39:25 +00002652 as_fn_error $? "conditional \"HEADER\" was never defined.
NightStrike748174d2010-02-24 17:55:02 +00002653Usually this means the macro was only invoked conditionally." "$LINENO" 5
2654fi
2655if test -z "${CRT_TRUE}" && test -z "${CRT_FALSE}"; then
Jonathan Yong4906b262011-08-10 11:39:25 +00002656 as_fn_error $? "conditional \"CRT\" was never defined.
NightStrike748174d2010-02-24 17:55:02 +00002657Usually this means the macro was only invoked conditionally." "$LINENO" 5
2658fi
2659if test -z "${LIBRARIES_MANGLE_TRUE}" && test -z "${LIBRARIES_MANGLE_FALSE}"; then
Jonathan Yong4906b262011-08-10 11:39:25 +00002660 as_fn_error $? "conditional \"LIBRARIES_MANGLE\" was never defined.
NightStrike748174d2010-02-24 17:55:02 +00002661Usually this means the macro was only invoked conditionally." "$LINENO" 5
2662fi
2663if test -z "${LIBRARIES_PSEH_TRUE}" && test -z "${LIBRARIES_PSEH_FALSE}"; then
Jonathan Yong4906b262011-08-10 11:39:25 +00002664 as_fn_error $? "conditional \"LIBRARIES_PSEH\" was never defined.
NightStrike748174d2010-02-24 17:55:02 +00002665Usually this means the macro was only invoked conditionally." "$LINENO" 5
2666fi
2667if test -z "${TOOLS_GENDEF_TRUE}" && test -z "${TOOLS_GENDEF_FALSE}"; then
Jonathan Yong4906b262011-08-10 11:39:25 +00002668 as_fn_error $? "conditional \"TOOLS_GENDEF\" was never defined.
NightStrike748174d2010-02-24 17:55:02 +00002669Usually this means the macro was only invoked conditionally." "$LINENO" 5
2670fi
NightStrikeadb344b2010-02-26 14:13:00 +00002671if test -z "${TOOLS_GENIDL_TRUE}" && test -z "${TOOLS_GENIDL_FALSE}"; then
Jonathan Yong4906b262011-08-10 11:39:25 +00002672 as_fn_error $? "conditional \"TOOLS_GENIDL\" was never defined.
NightStrikeadb344b2010-02-26 14:13:00 +00002673Usually this means the macro was only invoked conditionally." "$LINENO" 5
2674fi
NightStrike748174d2010-02-24 17:55:02 +00002675
Ozkan Sezer9e09a802011-11-17 07:42:03 +00002676: "${CONFIG_STATUS=./config.status}"
NightStrike748174d2010-02-24 17:55:02 +00002677ac_write_fail=0
2678ac_clean_files_save=$ac_clean_files
2679ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2680{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2681$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2682as_write_fail=0
2683cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2684#! $SHELL
2685# Generated by $as_me.
2686# Run this file to recreate the current configuration.
2687# Compiler output produced by configure, useful for debugging
2688# configure, is in config.log if it exists.
2689
2690debug=false
2691ac_cs_recheck=false
2692ac_cs_silent=false
2693
2694SHELL=\${CONFIG_SHELL-$SHELL}
2695export SHELL
2696_ASEOF
2697cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2698## -------------------- ##
2699## M4sh Initialization. ##
2700## -------------------- ##
2701
2702# Be more Bourne compatible
2703DUALCASE=1; export DUALCASE # for MKS sh
2704if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2705 emulate sh
2706 NULLCMD=:
2707 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2708 # is contrary to our usage. Disable this feature.
2709 alias -g '${1+"$@"}'='"$@"'
2710 setopt NO_GLOB_SUBST
2711else
2712 case `(set -o) 2>/dev/null` in #(
2713 *posix*) :
2714 set -o posix ;; #(
2715 *) :
2716 ;;
2717esac
2718fi
2719
2720
2721as_nl='
2722'
2723export as_nl
2724# Printing a long string crashes Solaris 7 /usr/bin/printf.
2725as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2726as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2727as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2728# Prefer a ksh shell builtin over an external printf program on Solaris,
2729# but without wasting forks for bash or zsh.
2730if test -z "$BASH_VERSION$ZSH_VERSION" \
2731 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2732 as_echo='print -r --'
2733 as_echo_n='print -rn --'
2734elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2735 as_echo='printf %s\n'
2736 as_echo_n='printf %s'
2737else
2738 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2739 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2740 as_echo_n='/usr/ucb/echo -n'
2741 else
2742 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2743 as_echo_n_body='eval
2744 arg=$1;
2745 case $arg in #(
2746 *"$as_nl"*)
2747 expr "X$arg" : "X\\(.*\\)$as_nl";
2748 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2749 esac;
2750 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2751 '
2752 export as_echo_n_body
2753 as_echo_n='sh -c $as_echo_n_body as_echo'
2754 fi
2755 export as_echo_body
2756 as_echo='sh -c $as_echo_body as_echo'
2757fi
2758
2759# The user is always right.
2760if test "${PATH_SEPARATOR+set}" != set; then
2761 PATH_SEPARATOR=:
2762 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2763 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2764 PATH_SEPARATOR=';'
2765 }
2766fi
2767
2768
2769# IFS
2770# We need space, tab and new line, in precisely that order. Quoting is
2771# there to prevent editors from complaining about space-tab.
2772# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2773# splitting by setting IFS to empty value.)
2774IFS=" "" $as_nl"
2775
2776# Find who we are. Look in the path if we contain no directory separator.
Ozkan Sezer9e09a802011-11-17 07:42:03 +00002777as_myself=
NightStrike748174d2010-02-24 17:55:02 +00002778case $0 in #((
2779 *[\\/]* ) as_myself=$0 ;;
2780 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781for as_dir in $PATH
2782do
2783 IFS=$as_save_IFS
2784 test -z "$as_dir" && as_dir=.
2785 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2786 done
2787IFS=$as_save_IFS
2788
2789 ;;
2790esac
2791# We did not find ourselves, most probably we were run as `sh COMMAND'
2792# in which case we are not to be found in the path.
2793if test "x$as_myself" = x; then
2794 as_myself=$0
2795fi
2796if test ! -f "$as_myself"; then
2797 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2798 exit 1
2799fi
2800
2801# Unset variables that we do not need and which cause bugs (e.g. in
2802# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2803# suppresses any "Segmentation fault" message there. '((' could
2804# trigger a bug in pdksh 5.2.14.
2805for as_var in BASH_ENV ENV MAIL MAILPATH
2806do eval test x\${$as_var+set} = xset \
2807 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2808done
2809PS1='$ '
2810PS2='> '
2811PS4='+ '
2812
2813# NLS nuisances.
2814LC_ALL=C
2815export LC_ALL
2816LANGUAGE=C
2817export LANGUAGE
2818
2819# CDPATH.
2820(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2821
2822
Jonathan Yong4906b262011-08-10 11:39:25 +00002823# as_fn_error STATUS ERROR [LINENO LOG_FD]
2824# ----------------------------------------
NightStrike748174d2010-02-24 17:55:02 +00002825# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2826# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
Jonathan Yong4906b262011-08-10 11:39:25 +00002827# script with STATUS, using 1 if that was 0.
NightStrike748174d2010-02-24 17:55:02 +00002828as_fn_error ()
2829{
Jonathan Yong4906b262011-08-10 11:39:25 +00002830 as_status=$1; test $as_status -eq 0 && as_status=1
2831 if test "$4"; then
2832 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2833 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
NightStrike748174d2010-02-24 17:55:02 +00002834 fi
Jonathan Yong4906b262011-08-10 11:39:25 +00002835 $as_echo "$as_me: error: $2" >&2
NightStrike748174d2010-02-24 17:55:02 +00002836 as_fn_exit $as_status
2837} # as_fn_error
2838
2839
2840# as_fn_set_status STATUS
2841# -----------------------
2842# Set $? to STATUS, without forking.
2843as_fn_set_status ()
2844{
2845 return $1
2846} # as_fn_set_status
2847
2848# as_fn_exit STATUS
2849# -----------------
2850# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2851as_fn_exit ()
2852{
2853 set +e
2854 as_fn_set_status $1
2855 exit $1
2856} # as_fn_exit
2857
2858# as_fn_unset VAR
2859# ---------------
2860# Portably unset VAR.
2861as_fn_unset ()
2862{
2863 { eval $1=; unset $1;}
2864}
2865as_unset=as_fn_unset
2866# as_fn_append VAR VALUE
2867# ----------------------
2868# Append the text in VALUE to the end of the definition contained in VAR. Take
2869# advantage of any shell optimizations that allow amortized linear growth over
2870# repeated appends, instead of the typical quadratic growth present in naive
2871# implementations.
2872if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2873 eval 'as_fn_append ()
2874 {
2875 eval $1+=\$2
2876 }'
2877else
2878 as_fn_append ()
2879 {
2880 eval $1=\$$1\$2
2881 }
2882fi # as_fn_append
2883
2884# as_fn_arith ARG...
2885# ------------------
2886# Perform arithmetic evaluation on the ARGs, and store the result in the
2887# global $as_val. Take advantage of shells that can avoid forks. The arguments
2888# must be portable across $(()) and expr.
2889if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2890 eval 'as_fn_arith ()
2891 {
2892 as_val=$(( $* ))
2893 }'
2894else
2895 as_fn_arith ()
2896 {
2897 as_val=`expr "$@" || test $? -eq 1`
2898 }
2899fi # as_fn_arith
2900
2901
2902if expr a : '\(a\)' >/dev/null 2>&1 &&
2903 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2904 as_expr=expr
2905else
2906 as_expr=false
2907fi
2908
2909if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2910 as_basename=basename
2911else
2912 as_basename=false
2913fi
2914
2915if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2916 as_dirname=dirname
2917else
2918 as_dirname=false
2919fi
2920
2921as_me=`$as_basename -- "$0" ||
2922$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2923 X"$0" : 'X\(//\)$' \| \
2924 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2925$as_echo X/"$0" |
2926 sed '/^.*\/\([^/][^/]*\)\/*$/{
2927 s//\1/
2928 q
2929 }
2930 /^X\/\(\/\/\)$/{
2931 s//\1/
2932 q
2933 }
2934 /^X\/\(\/\).*/{
2935 s//\1/
2936 q
2937 }
2938 s/.*/./; q'`
2939
2940# Avoid depending upon Character Ranges.
2941as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2942as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2943as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2944as_cr_digits='0123456789'
2945as_cr_alnum=$as_cr_Letters$as_cr_digits
2946
2947ECHO_C= ECHO_N= ECHO_T=
2948case `echo -n x` in #(((((
2949-n*)
2950 case `echo 'xy\c'` in
2951 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2952 xy) ECHO_C='\c';;
2953 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2954 ECHO_T=' ';;
2955 esac;;
2956*)
2957 ECHO_N='-n';;
2958esac
2959
2960rm -f conf$$ conf$$.exe conf$$.file
2961if test -d conf$$.dir; then
2962 rm -f conf$$.dir/conf$$.file
2963else
2964 rm -f conf$$.dir
2965 mkdir conf$$.dir 2>/dev/null
2966fi
2967if (echo >conf$$.file) 2>/dev/null; then
2968 if ln -s conf$$.file conf$$ 2>/dev/null; then
2969 as_ln_s='ln -s'
2970 # ... but there are two gotchas:
2971 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2972 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2973 # In both cases, we have to default to `cp -p'.
2974 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2975 as_ln_s='cp -p'
2976 elif ln conf$$.file conf$$ 2>/dev/null; then
2977 as_ln_s=ln
2978 else
2979 as_ln_s='cp -p'
2980 fi
2981else
2982 as_ln_s='cp -p'
2983fi
2984rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2985rmdir conf$$.dir 2>/dev/null
2986
2987
2988# as_fn_mkdir_p
2989# -------------
2990# Create "$as_dir" as a directory, including parents if necessary.
2991as_fn_mkdir_p ()
2992{
2993
2994 case $as_dir in #(
2995 -*) as_dir=./$as_dir;;
2996 esac
2997 test -d "$as_dir" || eval $as_mkdir_p || {
2998 as_dirs=
2999 while :; do
3000 case $as_dir in #(
3001 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3002 *) as_qdir=$as_dir;;
3003 esac
3004 as_dirs="'$as_qdir' $as_dirs"
3005 as_dir=`$as_dirname -- "$as_dir" ||
3006$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3007 X"$as_dir" : 'X\(//\)[^/]' \| \
3008 X"$as_dir" : 'X\(//\)$' \| \
3009 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3010$as_echo X"$as_dir" |
3011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3012 s//\1/
3013 q
3014 }
3015 /^X\(\/\/\)[^/].*/{
3016 s//\1/
3017 q
3018 }
3019 /^X\(\/\/\)$/{
3020 s//\1/
3021 q
3022 }
3023 /^X\(\/\).*/{
3024 s//\1/
3025 q
3026 }
3027 s/.*/./; q'`
3028 test -d "$as_dir" && break
3029 done
3030 test -z "$as_dirs" || eval "mkdir $as_dirs"
Jonathan Yong4906b262011-08-10 11:39:25 +00003031 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
NightStrike748174d2010-02-24 17:55:02 +00003032
3033
3034} # as_fn_mkdir_p
3035if mkdir -p . 2>/dev/null; then
3036 as_mkdir_p='mkdir -p "$as_dir"'
3037else
3038 test -d ./-p && rmdir ./-p
3039 as_mkdir_p=false
3040fi
3041
3042if test -x / >/dev/null 2>&1; then
3043 as_test_x='test -x'
3044else
3045 if ls -dL / >/dev/null 2>&1; then
3046 as_ls_L_option=L
3047 else
3048 as_ls_L_option=
3049 fi
3050 as_test_x='
3051 eval sh -c '\''
3052 if test -d "$1"; then
3053 test -d "$1/.";
3054 else
3055 case $1 in #(
3056 -*)set "./$1";;
3057 esac;
3058 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3059 ???[sx]*):;;*)false;;esac;fi
3060 '\'' sh
3061 '
3062fi
3063as_executable_p=$as_test_x
3064
3065# Sed expression to map a string onto a valid CPP name.
3066as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3067
3068# Sed expression to map a string onto a valid variable name.
3069as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3070
3071
3072exec 6>&1
3073## ----------------------------------- ##
3074## Main body of $CONFIG_STATUS script. ##
3075## ----------------------------------- ##
3076_ASEOF
3077test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3078
3079cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3080# Save the log message, to keep $0 and so on meaningful, and to
3081# report actual input values of CONFIG_FILES etc. instead of their
3082# values after options handling.
3083ac_log="
Jonathan Yong4906b262011-08-10 11:39:25 +00003084This file was extended by mingw-w64 $as_me 3.0b, which was
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003085generated by GNU Autoconf 2.68. Invocation command line was
NightStrike748174d2010-02-24 17:55:02 +00003086
3087 CONFIG_FILES = $CONFIG_FILES
3088 CONFIG_HEADERS = $CONFIG_HEADERS
3089 CONFIG_LINKS = $CONFIG_LINKS
3090 CONFIG_COMMANDS = $CONFIG_COMMANDS
3091 $ $0 $@
3092
3093on `(hostname || uname -n) 2>/dev/null | sed 1q`
3094"
3095
3096_ACEOF
3097
3098case $ac_config_files in *"
3099"*) set x $ac_config_files; shift; ac_config_files=$*;;
3100esac
3101
3102case $ac_config_headers in *"
3103"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3104esac
3105
3106
3107cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3108# Files that config.status was made for.
3109config_files="$ac_config_files"
3110config_headers="$ac_config_headers"
3111
3112_ACEOF
3113
3114cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3115ac_cs_usage="\
3116\`$as_me' instantiates files and other configuration actions
3117from templates according to the current configuration. Unless the files
3118and actions are specified as TAGs, all are instantiated by default.
3119
3120Usage: $0 [OPTION]... [TAG]...
3121
3122 -h, --help print this help, then exit
3123 -V, --version print version number and configuration settings, then exit
3124 --config print configuration, then exit
3125 -q, --quiet, --silent
3126 do not print progress messages
3127 -d, --debug don't remove temporary files
3128 --recheck update $as_me by reconfiguring in the same conditions
3129 --file=FILE[:TEMPLATE]
3130 instantiate the configuration file FILE
3131 --header=FILE[:TEMPLATE]
3132 instantiate the configuration header FILE
3133
3134Configuration files:
3135$config_files
3136
3137Configuration headers:
3138$config_headers
3139
3140Report bugs to <mingw-w64-public@lists.sourceforge.net>."
3141
3142_ACEOF
3143cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3144ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3145ac_cs_version="\\
Jonathan Yong4906b262011-08-10 11:39:25 +00003146mingw-w64 config.status 3.0b
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003147configured by $0, generated by GNU Autoconf 2.68,
NightStrike748174d2010-02-24 17:55:02 +00003148 with options \\"\$ac_cs_config\\"
3149
Jonathan Yong4906b262011-08-10 11:39:25 +00003150Copyright (C) 2010 Free Software Foundation, Inc.
NightStrike748174d2010-02-24 17:55:02 +00003151This config.status script is free software; the Free Software Foundation
3152gives unlimited permission to copy, distribute and modify it."
3153
3154ac_pwd='$ac_pwd'
3155srcdir='$srcdir'
3156INSTALL='$INSTALL'
3157MKDIR_P='$MKDIR_P'
3158AWK='$AWK'
3159test -n "\$AWK" || AWK=awk
3160_ACEOF
3161
3162cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3163# The default lists apply if the user does not specify any file.
3164ac_need_defaults=:
3165while test $# != 0
3166do
3167 case $1 in
Jonathan Yong4906b262011-08-10 11:39:25 +00003168 --*=?*)
NightStrike748174d2010-02-24 17:55:02 +00003169 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3170 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3171 ac_shift=:
3172 ;;
Jonathan Yong4906b262011-08-10 11:39:25 +00003173 --*=)
3174 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3175 ac_optarg=
3176 ac_shift=:
3177 ;;
NightStrike748174d2010-02-24 17:55:02 +00003178 *)
3179 ac_option=$1
3180 ac_optarg=$2
3181 ac_shift=shift
3182 ;;
3183 esac
3184
3185 case $ac_option in
3186 # Handling of the options.
3187 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3188 ac_cs_recheck=: ;;
3189 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3190 $as_echo "$ac_cs_version"; exit ;;
3191 --config | --confi | --conf | --con | --co | --c )
3192 $as_echo "$ac_cs_config"; exit ;;
3193 --debug | --debu | --deb | --de | --d | -d )
3194 debug=: ;;
3195 --file | --fil | --fi | --f )
3196 $ac_shift
3197 case $ac_optarg in
3198 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
Jonathan Yong4906b262011-08-10 11:39:25 +00003199 '') as_fn_error $? "missing file argument" ;;
NightStrike748174d2010-02-24 17:55:02 +00003200 esac
3201 as_fn_append CONFIG_FILES " '$ac_optarg'"
3202 ac_need_defaults=false;;
3203 --header | --heade | --head | --hea )
3204 $ac_shift
3205 case $ac_optarg in
3206 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3207 esac
3208 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3209 ac_need_defaults=false;;
3210 --he | --h)
3211 # Conflict between --help and --header
Jonathan Yong4906b262011-08-10 11:39:25 +00003212 as_fn_error $? "ambiguous option: \`$1'
NightStrike748174d2010-02-24 17:55:02 +00003213Try \`$0 --help' for more information.";;
3214 --help | --hel | -h )
3215 $as_echo "$ac_cs_usage"; exit ;;
3216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3217 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3218 ac_cs_silent=: ;;
3219
3220 # This is an error.
Jonathan Yong4906b262011-08-10 11:39:25 +00003221 -*) as_fn_error $? "unrecognized option: \`$1'
NightStrike748174d2010-02-24 17:55:02 +00003222Try \`$0 --help' for more information." ;;
3223
3224 *) as_fn_append ac_config_targets " $1"
3225 ac_need_defaults=false ;;
3226
3227 esac
3228 shift
3229done
3230
3231ac_configure_extra_args=
3232
3233if $ac_cs_silent; then
3234 exec 6>/dev/null
3235 ac_configure_extra_args="$ac_configure_extra_args --silent"
3236fi
3237
3238_ACEOF
3239cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3240if \$ac_cs_recheck; then
3241 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3242 shift
3243 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3244 CONFIG_SHELL='$SHELL'
3245 export CONFIG_SHELL
3246 exec "\$@"
3247fi
3248
3249_ACEOF
3250cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3251exec 5>>config.log
3252{
3253 echo
3254 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3255## Running $as_me. ##
3256_ASBOX
3257 $as_echo "$ac_log"
3258} >&5
3259
3260_ACEOF
3261cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3262_ACEOF
3263
3264cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3265
3266# Handling of arguments.
3267for ac_config_target in $ac_config_targets
3268do
3269 case $ac_config_target in
3270 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3271 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3272
Jonathan Yong4906b262011-08-10 11:39:25 +00003273 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
NightStrike748174d2010-02-24 17:55:02 +00003274 esac
3275done
3276
3277
3278# If the user did not use the arguments to specify the items to instantiate,
3279# then the envvar interface is used. Set only those that are not.
3280# We use the long form for the default assignment because of an extremely
3281# bizarre bug on SunOS 4.1.3.
3282if $ac_need_defaults; then
3283 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3284 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3285fi
3286
3287# Have a temporary directory for convenience. Make it in the build tree
3288# simply because there is no reason against having it here, and in addition,
3289# creating and moving files from /tmp can sometimes cause problems.
3290# Hook for its removal unless debugging.
3291# Note that there is a small window in which the directory will not be cleaned:
3292# after its creation but before its name has been assigned to `$tmp'.
3293$debug ||
3294{
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003295 tmp= ac_tmp=
NightStrike748174d2010-02-24 17:55:02 +00003296 trap 'exit_status=$?
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003297 : "${ac_tmp:=$tmp}"
3298 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
NightStrike748174d2010-02-24 17:55:02 +00003299' 0
3300 trap 'as_fn_exit 1' 1 2 13 15
3301}
3302# Create a (secure) tmp directory for tmp files.
3303
3304{
3305 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003306 test -d "$tmp"
NightStrike748174d2010-02-24 17:55:02 +00003307} ||
3308{
3309 tmp=./conf$$-$RANDOM
3310 (umask 077 && mkdir "$tmp")
Jonathan Yong4906b262011-08-10 11:39:25 +00003311} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003312ac_tmp=$tmp
NightStrike748174d2010-02-24 17:55:02 +00003313
3314# Set up the scripts for CONFIG_FILES section.
3315# No need to generate them if there are no CONFIG_FILES.
3316# This happens for instance with `./config.status config.h'.
3317if test -n "$CONFIG_FILES"; then
3318
3319
3320ac_cr=`echo X | tr X '\015'`
3321# On cygwin, bash can eat \r inside `` if the user requested igncr.
3322# But we know of no other shell where ac_cr would be empty at this
3323# point, so we can use a bashism as a fallback.
3324if test "x$ac_cr" = x; then
3325 eval ac_cr=\$\'\\r\'
3326fi
3327ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3328if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
Jonathan Yong4906b262011-08-10 11:39:25 +00003329 ac_cs_awk_cr='\\r'
NightStrike748174d2010-02-24 17:55:02 +00003330else
3331 ac_cs_awk_cr=$ac_cr
3332fi
3333
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003334echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
NightStrike748174d2010-02-24 17:55:02 +00003335_ACEOF
3336
3337
3338{
3339 echo "cat >conf$$subs.awk <<_ACEOF" &&
3340 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3341 echo "_ACEOF"
3342} >conf$$subs.sh ||
Jonathan Yong4906b262011-08-10 11:39:25 +00003343 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3344ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
NightStrike748174d2010-02-24 17:55:02 +00003345ac_delim='%!_!# '
3346for ac_last_try in false false false false false :; do
3347 . ./conf$$subs.sh ||
Jonathan Yong4906b262011-08-10 11:39:25 +00003348 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00003349
3350 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3351 if test $ac_delim_n = $ac_delim_num; then
3352 break
3353 elif $ac_last_try; then
Jonathan Yong4906b262011-08-10 11:39:25 +00003354 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00003355 else
3356 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3357 fi
3358done
3359rm -f conf$$subs.sh
3360
3361cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003362cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
NightStrike748174d2010-02-24 17:55:02 +00003363_ACEOF
3364sed -n '
3365h
3366s/^/S["/; s/!.*/"]=/
3367p
3368g
3369s/^[^!]*!//
3370:repl
3371t repl
3372s/'"$ac_delim"'$//
3373t delim
3374:nl
3375h
3376s/\(.\{148\}\)..*/\1/
3377t more1
3378s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3379p
3380n
3381b repl
3382:more1
3383s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3384p
3385g
3386s/.\{148\}//
3387t nl
3388:delim
3389h
3390s/\(.\{148\}\)..*/\1/
3391t more2
3392s/["\\]/\\&/g; s/^/"/; s/$/"/
3393p
3394b
3395:more2
3396s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3397p
3398g
3399s/.\{148\}//
3400t delim
3401' <conf$$subs.awk | sed '
3402/^[^""]/{
3403 N
3404 s/\n//
3405}
3406' >>$CONFIG_STATUS || ac_write_fail=1
3407rm -f conf$$subs.awk
3408cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3409_ACAWK
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003410cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
NightStrike748174d2010-02-24 17:55:02 +00003411 for (key in S) S_is_set[key] = 1
3412 FS = ""
3413
3414}
3415{
3416 line = $ 0
3417 nfields = split(line, field, "@")
3418 substed = 0
3419 len = length(field[1])
3420 for (i = 2; i < nfields; i++) {
3421 key = field[i]
3422 keylen = length(key)
3423 if (S_is_set[key]) {
3424 value = S[key]
3425 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3426 len += length(value) + length(field[++i])
3427 substed = 1
3428 } else
3429 len += 1 + keylen
3430 }
3431
3432 print line
3433}
3434
3435_ACAWK
3436_ACEOF
3437cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3438if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3439 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3440else
3441 cat
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003442fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
Jonathan Yong4906b262011-08-10 11:39:25 +00003443 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00003444_ACEOF
3445
Jonathan Yong4906b262011-08-10 11:39:25 +00003446# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3447# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
NightStrike748174d2010-02-24 17:55:02 +00003448# trailing colons and then remove the whole line if VPATH becomes empty
3449# (actually we leave an empty line to preserve line numbers).
3450if test "x$srcdir" = x.; then
Jonathan Yong4906b262011-08-10 11:39:25 +00003451 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3452h
3453s///
3454s/^/:/
3455s/[ ]*$/:/
3456s/:\$(srcdir):/:/g
3457s/:\${srcdir}:/:/g
3458s/:@srcdir@:/:/g
3459s/^:*//
NightStrike748174d2010-02-24 17:55:02 +00003460s/:*$//
Jonathan Yong4906b262011-08-10 11:39:25 +00003461x
3462s/\(=[ ]*\).*/\1/
3463G
3464s/\n//
NightStrike748174d2010-02-24 17:55:02 +00003465s/^[^=]*=[ ]*$//
3466}'
3467fi
3468
3469cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3470fi # test -n "$CONFIG_FILES"
3471
3472# Set up the scripts for CONFIG_HEADERS section.
3473# No need to generate them if there are no CONFIG_HEADERS.
3474# This happens for instance with `./config.status Makefile'.
3475if test -n "$CONFIG_HEADERS"; then
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003476cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
NightStrike748174d2010-02-24 17:55:02 +00003477BEGIN {
3478_ACEOF
3479
3480# Transform confdefs.h into an awk script `defines.awk', embedded as
3481# here-document in config.status, that substitutes the proper values into
3482# config.h.in to produce config.h.
3483
3484# Create a delimiter string that does not exist in confdefs.h, to ease
3485# handling of long lines.
3486ac_delim='%!_!# '
3487for ac_last_try in false false :; do
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003488 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
3489 if test -z "$ac_tt"; then
NightStrike748174d2010-02-24 17:55:02 +00003490 break
3491 elif $ac_last_try; then
Jonathan Yong4906b262011-08-10 11:39:25 +00003492 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00003493 else
3494 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3495 fi
3496done
3497
3498# For the awk script, D is an array of macro values keyed by name,
3499# likewise P contains macro parameters if any. Preserve backslash
3500# newline sequences.
3501
3502ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3503sed -n '
3504s/.\{148\}/&'"$ac_delim"'/g
3505t rset
3506:rset
3507s/^[ ]*#[ ]*define[ ][ ]*/ /
3508t def
3509d
3510:def
3511s/\\$//
3512t bsnl
3513s/["\\]/\\&/g
3514s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3515D["\1"]=" \3"/p
3516s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
3517d
3518:bsnl
3519s/["\\]/\\&/g
3520s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3521D["\1"]=" \3\\\\\\n"\\/p
3522t cont
3523s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
3524t cont
3525d
3526:cont
3527n
3528s/.\{148\}/&'"$ac_delim"'/g
3529t clear
3530:clear
3531s/\\$//
3532t bsnlc
3533s/["\\]/\\&/g; s/^/"/; s/$/"/p
3534d
3535:bsnlc
3536s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
3537b cont
3538' <confdefs.h | sed '
3539s/'"$ac_delim"'/"\\\
3540"/g' >>$CONFIG_STATUS || ac_write_fail=1
3541
3542cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3543 for (key in D) D_is_set[key] = 1
3544 FS = ""
3545}
3546/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3547 line = \$ 0
3548 split(line, arg, " ")
3549 if (arg[1] == "#") {
3550 defundef = arg[2]
3551 mac1 = arg[3]
3552 } else {
3553 defundef = substr(arg[1], 2)
3554 mac1 = arg[2]
3555 }
3556 split(mac1, mac2, "(") #)
3557 macro = mac2[1]
3558 prefix = substr(line, 1, index(line, defundef) - 1)
3559 if (D_is_set[macro]) {
3560 # Preserve the white space surrounding the "#".
3561 print prefix "define", macro P[macro] D[macro]
3562 next
3563 } else {
3564 # Replace #undef with comments. This is necessary, for example,
3565 # in the case of _POSIX_SOURCE, which is predefined and required
3566 # on some systems where configure will not decide to define it.
3567 if (defundef == "undef") {
3568 print "/*", prefix defundef, macro, "*/"
3569 next
3570 }
3571 }
3572}
3573{ print }
3574_ACAWK
3575_ACEOF
3576cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Jonathan Yong4906b262011-08-10 11:39:25 +00003577 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00003578fi # test -n "$CONFIG_HEADERS"
3579
3580
3581eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
3582shift
3583for ac_tag
3584do
3585 case $ac_tag in
3586 :[FHLC]) ac_mode=$ac_tag; continue;;
3587 esac
3588 case $ac_mode$ac_tag in
3589 :[FHL]*:*);;
Jonathan Yong4906b262011-08-10 11:39:25 +00003590 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
NightStrike748174d2010-02-24 17:55:02 +00003591 :[FH]-) ac_tag=-:-;;
3592 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3593 esac
3594 ac_save_IFS=$IFS
3595 IFS=:
3596 set x $ac_tag
3597 IFS=$ac_save_IFS
3598 shift
3599 ac_file=$1
3600 shift
3601
3602 case $ac_mode in
3603 :L) ac_source=$1;;
3604 :[FH])
3605 ac_file_inputs=
3606 for ac_f
3607 do
3608 case $ac_f in
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003609 -) ac_f="$ac_tmp/stdin";;
NightStrike748174d2010-02-24 17:55:02 +00003610 *) # Look for the file first in the build tree, then in the source tree
3611 # (if the path is not absolute). The absolute path cannot be DOS-style,
3612 # because $ac_f cannot contain `:'.
3613 test -f "$ac_f" ||
3614 case $ac_f in
3615 [\\/$]*) false;;
3616 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3617 esac ||
Jonathan Yong4906b262011-08-10 11:39:25 +00003618 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
NightStrike748174d2010-02-24 17:55:02 +00003619 esac
3620 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3621 as_fn_append ac_file_inputs " '$ac_f'"
3622 done
3623
3624 # Let's still pretend it is `configure' which instantiates (i.e., don't
3625 # use $as_me), people would be surprised to read:
3626 # /* config.h. Generated by config.status. */
3627 configure_input='Generated from '`
3628 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3629 `' by configure.'
3630 if test x"$ac_file" != x-; then
3631 configure_input="$ac_file. $configure_input"
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3633$as_echo "$as_me: creating $ac_file" >&6;}
3634 fi
3635 # Neutralize special characters interpreted by sed in replacement strings.
3636 case $configure_input in #(
3637 *\&* | *\|* | *\\* )
3638 ac_sed_conf_input=`$as_echo "$configure_input" |
3639 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3640 *) ac_sed_conf_input=$configure_input;;
3641 esac
3642
3643 case $ac_tag in
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003644 *:-:* | *:-) cat >"$ac_tmp/stdin" \
Jonathan Yong4906b262011-08-10 11:39:25 +00003645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
NightStrike748174d2010-02-24 17:55:02 +00003646 esac
3647 ;;
3648 esac
3649
3650 ac_dir=`$as_dirname -- "$ac_file" ||
3651$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3652 X"$ac_file" : 'X\(//\)[^/]' \| \
3653 X"$ac_file" : 'X\(//\)$' \| \
3654 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3655$as_echo X"$ac_file" |
3656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3657 s//\1/
3658 q
3659 }
3660 /^X\(\/\/\)[^/].*/{
3661 s//\1/
3662 q
3663 }
3664 /^X\(\/\/\)$/{
3665 s//\1/
3666 q
3667 }
3668 /^X\(\/\).*/{
3669 s//\1/
3670 q
3671 }
3672 s/.*/./; q'`
3673 as_dir="$ac_dir"; as_fn_mkdir_p
3674 ac_builddir=.
3675
3676case "$ac_dir" in
3677.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3678*)
3679 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3680 # A ".." for each directory in $ac_dir_suffix.
3681 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3682 case $ac_top_builddir_sub in
3683 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3684 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3685 esac ;;
3686esac
3687ac_abs_top_builddir=$ac_pwd
3688ac_abs_builddir=$ac_pwd$ac_dir_suffix
3689# for backward compatibility:
3690ac_top_builddir=$ac_top_build_prefix
3691
3692case $srcdir in
3693 .) # We are building in place.
3694 ac_srcdir=.
3695 ac_top_srcdir=$ac_top_builddir_sub
3696 ac_abs_top_srcdir=$ac_pwd ;;
3697 [\\/]* | ?:[\\/]* ) # Absolute name.
3698 ac_srcdir=$srcdir$ac_dir_suffix;
3699 ac_top_srcdir=$srcdir
3700 ac_abs_top_srcdir=$srcdir ;;
3701 *) # Relative name.
3702 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3703 ac_top_srcdir=$ac_top_build_prefix$srcdir
3704 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3705esac
3706ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3707
3708
3709 case $ac_mode in
3710 :F)
3711 #
3712 # CONFIG_FILE
3713 #
3714
3715 case $INSTALL in
3716 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3717 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3718 esac
3719 ac_MKDIR_P=$MKDIR_P
3720 case $MKDIR_P in
3721 [\\/$]* | ?:[\\/]* ) ;;
3722 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3723 esac
3724_ACEOF
3725
3726cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3727# If the template does not know about datarootdir, expand it.
3728# FIXME: This hack should be removed a few years after 2.60.
3729ac_datarootdir_hack=; ac_datarootdir_seen=
3730ac_sed_dataroot='
3731/datarootdir/ {
3732 p
3733 q
3734}
3735/@datadir@/p
3736/@docdir@/p
3737/@infodir@/p
3738/@localedir@/p
3739/@mandir@/p'
3740case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3741*datarootdir*) ac_datarootdir_seen=yes;;
3742*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3744$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3745_ACEOF
3746cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3747 ac_datarootdir_hack='
3748 s&@datadir@&$datadir&g
3749 s&@docdir@&$docdir&g
3750 s&@infodir@&$infodir&g
3751 s&@localedir@&$localedir&g
3752 s&@mandir@&$mandir&g
3753 s&\\\${datarootdir}&$datarootdir&g' ;;
3754esac
3755_ACEOF
3756
3757# Neutralize VPATH when `$srcdir' = `.'.
3758# Shell code in configure.ac might set extrasub.
3759# FIXME: do we really want to maintain this feature?
3760cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3761ac_sed_extra="$ac_vpsub
3762$extrasub
3763_ACEOF
3764cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3765:t
3766/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3767s|@configure_input@|$ac_sed_conf_input|;t t
3768s&@top_builddir@&$ac_top_builddir_sub&;t t
3769s&@top_build_prefix@&$ac_top_build_prefix&;t t
3770s&@srcdir@&$ac_srcdir&;t t
3771s&@abs_srcdir@&$ac_abs_srcdir&;t t
3772s&@top_srcdir@&$ac_top_srcdir&;t t
3773s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3774s&@builddir@&$ac_builddir&;t t
3775s&@abs_builddir@&$ac_abs_builddir&;t t
3776s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3777s&@INSTALL@&$ac_INSTALL&;t t
3778s&@MKDIR_P@&$ac_MKDIR_P&;t t
3779$ac_datarootdir_hack
3780"
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003781eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3782 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00003783
3784test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003785 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3786 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3787 "$ac_tmp/out"`; test -z "$ac_out"; } &&
NightStrike748174d2010-02-24 17:55:02 +00003788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
Jonathan Yong4906b262011-08-10 11:39:25 +00003789which seems to be undefined. Please make sure it is defined" >&5
NightStrike748174d2010-02-24 17:55:02 +00003790$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
Jonathan Yong4906b262011-08-10 11:39:25 +00003791which seems to be undefined. Please make sure it is defined" >&2;}
NightStrike748174d2010-02-24 17:55:02 +00003792
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003793 rm -f "$ac_tmp/stdin"
NightStrike748174d2010-02-24 17:55:02 +00003794 case $ac_file in
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003795 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3796 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
NightStrike748174d2010-02-24 17:55:02 +00003797 esac \
Jonathan Yong4906b262011-08-10 11:39:25 +00003798 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00003799 ;;
3800 :H)
3801 #
3802 # CONFIG_HEADER
3803 #
3804 if test x"$ac_file" != x-; then
3805 {
3806 $as_echo "/* $configure_input */" \
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003807 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
3808 } >"$ac_tmp/config.h" \
Jonathan Yong4906b262011-08-10 11:39:25 +00003809 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003810 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
NightStrike748174d2010-02-24 17:55:02 +00003811 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
3812$as_echo "$as_me: $ac_file is unchanged" >&6;}
3813 else
3814 rm -f "$ac_file"
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003815 mv "$ac_tmp/config.h" "$ac_file" \
Jonathan Yong4906b262011-08-10 11:39:25 +00003816 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00003817 fi
3818 else
3819 $as_echo "/* $configure_input */" \
Ozkan Sezer9e09a802011-11-17 07:42:03 +00003820 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
Jonathan Yong4906b262011-08-10 11:39:25 +00003821 || as_fn_error $? "could not create -" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00003822 fi
3823# Compute "$ac_file"'s index in $config_headers.
3824_am_arg="$ac_file"
3825_am_stamp_count=1
3826for _am_header in $config_headers :; do
3827 case $_am_header in
3828 $_am_arg | $_am_arg:* )
3829 break ;;
3830 * )
3831 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
3832 esac
3833done
3834echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
3835$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3836 X"$_am_arg" : 'X\(//\)[^/]' \| \
3837 X"$_am_arg" : 'X\(//\)$' \| \
3838 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
3839$as_echo X"$_am_arg" |
3840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3841 s//\1/
3842 q
3843 }
3844 /^X\(\/\/\)[^/].*/{
3845 s//\1/
3846 q
3847 }
3848 /^X\(\/\/\)$/{
3849 s//\1/
3850 q
3851 }
3852 /^X\(\/\).*/{
3853 s//\1/
3854 q
3855 }
3856 s/.*/./; q'`/stamp-h$_am_stamp_count
3857 ;;
3858
3859
3860 esac
3861
3862done # for ac_tag
3863
3864
3865as_fn_exit 0
3866_ACEOF
3867ac_clean_files=$ac_clean_files_save
3868
3869test $ac_write_fail = 0 ||
Jonathan Yong4906b262011-08-10 11:39:25 +00003870 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00003871
3872
3873# configure is writing to config.log, and then calls config.status.
3874# config.status does its own redirection, appending to config.log.
3875# Unfortunately, on DOS this fails, as config.log is still kept open
3876# by configure, so config.status won't be able to write to it; its
3877# output is simply discarded. So we exec the FD to /dev/null,
3878# effectively closing config.log, so it can be properly (re)opened and
3879# appended to by config.status. When coming back to configure, we
3880# need to make the FD available again.
3881if test "$no_create" != yes; then
3882 ac_cs_success=:
3883 ac_config_status_args=
3884 test "$silent" = yes &&
3885 ac_config_status_args="$ac_config_status_args --quiet"
3886 exec 5>/dev/null
3887 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3888 exec 5>>config.log
3889 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3890 # would make configure fail if this is the last instruction.
Jonathan Yong4906b262011-08-10 11:39:25 +00003891 $ac_cs_success || as_fn_exit 1
NightStrike748174d2010-02-24 17:55:02 +00003892fi
3893
3894#
3895# CONFIG_SUBDIRS section.
3896#
3897if test "$no_recursion" != yes; then
3898
3899 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
3900 # so they do not pile up.
3901 ac_sub_configure_args=
3902 ac_prev=
3903 eval "set x $ac_configure_args"
3904 shift
3905 for ac_arg
3906 do
3907 if test -n "$ac_prev"; then
3908 ac_prev=
3909 continue
3910 fi
3911 case $ac_arg in
3912 -cache-file | --cache-file | --cache-fil | --cache-fi \
3913 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3914 ac_prev=cache_file ;;
3915 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3916 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3917 | --c=*)
3918 ;;
3919 --config-cache | -C)
3920 ;;
3921 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3922 ac_prev=srcdir ;;
3923 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3924 ;;
3925 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3926 ac_prev=prefix ;;
3927 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3928 ;;
3929 --disable-option-checking)
3930 ;;
3931 *)
3932 case $ac_arg in
3933 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3934 esac
3935 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
3936 esac
3937 done
3938
3939 # Always prepend --prefix to ensure using the same prefix
3940 # in subdir configurations.
3941 ac_arg="--prefix=$prefix"
3942 case $ac_arg in
3943 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3944 esac
3945 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3946
3947 # Pass --silent
3948 if test "$silent" = yes; then
3949 ac_sub_configure_args="--silent $ac_sub_configure_args"
3950 fi
3951
3952 # Always prepend --disable-option-checking to silence warnings, since
3953 # different subdirs can have different --enable and --with options.
3954 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
3955
3956 ac_popdir=`pwd`
3957 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3958
3959 # Do not complain, so a configure script can configure whichever
3960 # parts of a large source tree are present.
3961 test -d "$srcdir/$ac_dir" || continue
3962
3963 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3964 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
3965 $as_echo "$ac_msg" >&6
3966 as_dir="$ac_dir"; as_fn_mkdir_p
3967 ac_builddir=.
3968
3969case "$ac_dir" in
3970.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3971*)
3972 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3973 # A ".." for each directory in $ac_dir_suffix.
3974 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3975 case $ac_top_builddir_sub in
3976 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3977 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3978 esac ;;
3979esac
3980ac_abs_top_builddir=$ac_pwd
3981ac_abs_builddir=$ac_pwd$ac_dir_suffix
3982# for backward compatibility:
3983ac_top_builddir=$ac_top_build_prefix
3984
3985case $srcdir in
3986 .) # We are building in place.
3987 ac_srcdir=.
3988 ac_top_srcdir=$ac_top_builddir_sub
3989 ac_abs_top_srcdir=$ac_pwd ;;
3990 [\\/]* | ?:[\\/]* ) # Absolute name.
3991 ac_srcdir=$srcdir$ac_dir_suffix;
3992 ac_top_srcdir=$srcdir
3993 ac_abs_top_srcdir=$srcdir ;;
3994 *) # Relative name.
3995 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3996 ac_top_srcdir=$ac_top_build_prefix$srcdir
3997 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3998esac
3999ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4000
4001
4002 cd "$ac_dir"
4003
4004 # Check for guested configure; otherwise get Cygnus style configure.
4005 if test -f "$ac_srcdir/configure.gnu"; then
4006 ac_sub_configure=$ac_srcdir/configure.gnu
4007 elif test -f "$ac_srcdir/configure"; then
4008 ac_sub_configure=$ac_srcdir/configure
4009 elif test -f "$ac_srcdir/configure.in"; then
4010 # This should be Cygnus configure.
4011 ac_sub_configure=$ac_aux_dir/configure
4012 else
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4014$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4015 ac_sub_configure=
4016 fi
4017
4018 # The recursion is here.
4019 if test -n "$ac_sub_configure"; then
4020 # Make the cache file name correct relative to the subdirectory.
4021 case $cache_file in
4022 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4023 *) # Relative name.
4024 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
4025 esac
4026
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4028$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4029 # The eval makes quoting arguments work.
4030 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4031 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
Jonathan Yong4906b262011-08-10 11:39:25 +00004032 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
NightStrike748174d2010-02-24 17:55:02 +00004033 fi
4034
4035 cd "$ac_popdir"
4036 done
4037fi
4038if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4040$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4041fi
4042
NightStrikeadb344b2010-02-26 14:13:00 +00004043