Add forgotten Makefile
[polly.git] / configure
blob9341311a29b4b459a7a4dbe268f6ae0e4ceb803c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Polly 0.01.
5 # Report bugs to <polly-dev@googlegroups.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
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
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
34 esac
38 as_nl='
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (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'
54 else
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"
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if 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=';'
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.)
91 IFS=" "" $as_nl"
93 # Find who we are. Look in the path if we contain no directory separator.
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 emulate sh
141 NULLCMD=:
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146 else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
152 esac
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 else
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
177 as_have_required=yes
178 else
179 as_have_required=no
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 else
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 as_found=false
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 IFS=$as_save_IFS
189 test -z "$as_dir" && as_dir=.
190 as_found=:
191 case $as_dir in #(
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 break 2
203 done;;
204 esac
205 as_found=false
206 done
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
210 fi; }
211 IFS=$as_save_IFS
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 BASH_ENV=/dev/null
219 ENV=/dev/null
220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 export CONFIG_SHELL
222 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 if test x$as_have_required = xno; then :
226 $as_echo "$0: This script requires a shell more modern than all"
227 $as_echo "$0: the shells that I found on your system."
228 if test x${ZSH_VERSION+set} = xset ; then
229 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 else
232 $as_echo "$0: Please tell bug-autoconf@gnu.org and
233 $0: polly-dev@googlegroups.com about your system, including
234 $0: any error possibly output before this message. Then
235 $0: install a modern shell, or manually run the script
236 $0: under such a shell if you do have one."
238 exit 1
242 SHELL=${CONFIG_SHELL-/bin/sh}
243 export SHELL
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE= GREP_OPTIONS=
246 unset CLICOLOR_FORCE GREP_OPTIONS
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
251 # as_fn_unset VAR
252 # ---------------
253 # Portably unset VAR.
254 as_fn_unset ()
256 { eval $1=; unset $1;}
258 as_unset=as_fn_unset
260 # as_fn_set_status STATUS
261 # -----------------------
262 # Set $? to STATUS, without forking.
263 as_fn_set_status ()
265 return $1
266 } # as_fn_set_status
268 # as_fn_exit STATUS
269 # -----------------
270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
271 as_fn_exit ()
273 set +e
274 as_fn_set_status $1
275 exit $1
276 } # as_fn_exit
278 # as_fn_mkdir_p
279 # -------------
280 # Create "$as_dir" as a directory, including parents if necessary.
281 as_fn_mkdir_p ()
284 case $as_dir in #(
285 -*) as_dir=./$as_dir;;
286 esac
287 test -d "$as_dir" || eval $as_mkdir_p || {
288 as_dirs=
289 while :; do
290 case $as_dir in #(
291 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 *) as_qdir=$as_dir;;
293 esac
294 as_dirs="'$as_qdir' $as_dirs"
295 as_dir=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
302 s//\1/
305 /^X\(\/\/\)[^/].*/{
306 s//\1/
309 /^X\(\/\/\)$/{
310 s//\1/
313 /^X\(\/\).*/{
314 s//\1/
317 s/.*/./; q'`
318 test -d "$as_dir" && break
319 done
320 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324 } # as_fn_mkdir_p
325 # as_fn_append VAR VALUE
326 # ----------------------
327 # Append the text in VALUE to the end of the definition contained in VAR. Take
328 # advantage of any shell optimizations that allow amortized linear growth over
329 # repeated appends, instead of the typical quadratic growth present in naive
330 # implementations.
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332 eval 'as_fn_append ()
334 eval $1+=\$2
336 else
337 as_fn_append ()
339 eval $1=\$$1\$2
341 fi # as_fn_append
343 # as_fn_arith ARG...
344 # ------------------
345 # Perform arithmetic evaluation on the ARGs, and store the result in the
346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
347 # must be portable across $(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
349 eval 'as_fn_arith ()
351 as_val=$(( $* ))
353 else
354 as_fn_arith ()
356 as_val=`expr "$@" || test $? -eq 1`
358 fi # as_fn_arith
361 # as_fn_error STATUS ERROR [LINENO LOG_FD]
362 # ----------------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with STATUS, using 1 if that was 0.
366 as_fn_error ()
368 as_status=$1; test $as_status -eq 0 && as_status=1
369 if test "$4"; then
370 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 $as_echo "$as_me: error: $2" >&2
374 as_fn_exit $as_status
375 } # as_fn_error
377 if expr a : '\(a\)' >/dev/null 2>&1 &&
378 test "X`expr 00001 : '.*\(...\)'`" = X001; then
379 as_expr=expr
380 else
381 as_expr=false
384 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385 as_basename=basename
386 else
387 as_basename=false
390 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
391 as_dirname=dirname
392 else
393 as_dirname=false
396 as_me=`$as_basename -- "$0" ||
397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398 X"$0" : 'X\(//\)$' \| \
399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 $as_echo X/"$0" |
401 sed '/^.*\/\([^/][^/]*\)\/*$/{
402 s//\1/
405 /^X\/\(\/\/\)$/{
406 s//\1/
409 /^X\/\(\/\).*/{
410 s//\1/
413 s/.*/./; q'`
415 # Avoid depending upon Character Ranges.
416 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits='0123456789'
420 as_cr_alnum=$as_cr_Letters$as_cr_digits
423 as_lineno_1=$LINENO as_lineno_1a=$LINENO
424 as_lineno_2=$LINENO as_lineno_2a=$LINENO
425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
428 sed -n '
430 /[$]LINENO/=
431 ' <$as_myself |
432 sed '
433 s/[$]LINENO.*/&-/
434 t lineno
436 :lineno
438 :loop
439 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
440 t loop
441 s/-\n.*//
442 ' >$as_me.lineno &&
443 chmod +x "$as_me.lineno" ||
444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446 # Don't try to exec as it changes $[0], causing all sort of problems
447 # (the dirname of $[0] is not the place where we might find the
448 # original and so on. Autoconf is especially sensitive to this).
449 . "./$as_me.lineno"
450 # Exit status is that of the last command.
451 exit
454 ECHO_C= ECHO_N= ECHO_T=
455 case `echo -n x` in #(((((
456 -n*)
457 case `echo 'xy\c'` in
458 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
459 xy) ECHO_C='\c';;
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
461 ECHO_T=' ';;
462 esac;;
464 ECHO_N='-n';;
465 esac
467 rm -f conf$$ conf$$.exe conf$$.file
468 if test -d conf$$.dir; then
469 rm -f conf$$.dir/conf$$.file
470 else
471 rm -f conf$$.dir
472 mkdir conf$$.dir 2>/dev/null
474 if (echo >conf$$.file) 2>/dev/null; then
475 if ln -s conf$$.file conf$$ 2>/dev/null; then
476 as_ln_s='ln -s'
477 # ... but there are two gotchas:
478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480 # In both cases, we have to default to `cp -p'.
481 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
482 as_ln_s='cp -p'
483 elif ln conf$$.file conf$$ 2>/dev/null; then
484 as_ln_s=ln
485 else
486 as_ln_s='cp -p'
488 else
489 as_ln_s='cp -p'
491 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
492 rmdir conf$$.dir 2>/dev/null
494 if mkdir -p . 2>/dev/null; then
495 as_mkdir_p='mkdir -p "$as_dir"'
496 else
497 test -d ./-p && rmdir ./-p
498 as_mkdir_p=false
501 if test -x / >/dev/null 2>&1; then
502 as_test_x='test -x'
503 else
504 if ls -dL / >/dev/null 2>&1; then
505 as_ls_L_option=L
506 else
507 as_ls_L_option=
509 as_test_x='
510 eval sh -c '\''
511 if test -d "$1"; then
512 test -d "$1/.";
513 else
514 case $1 in #(
515 -*)set "./$1";;
516 esac;
517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518 ???[sx]*):;;*)false;;esac;fi
519 '\'' sh
522 as_executable_p=$as_test_x
524 # Sed expression to map a string onto a valid CPP name.
525 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527 # Sed expression to map a string onto a valid variable name.
528 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531 test -n "$DJDIR" || exec 7<&0 </dev/null
532 exec 6>&1
534 # Name of the host.
535 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
536 # so uname gets run too.
537 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 # Initializations.
542 ac_default_prefix=/usr/local
543 ac_clean_files=
544 ac_config_libobj_dir=.
545 LIBOBJS=
546 cross_compiling=no
547 subdirs=
548 MFLAGS=
549 MAKEFLAGS=
551 # Identity of this package.
552 PACKAGE_NAME='Polly'
553 PACKAGE_TARNAME='polly'
554 PACKAGE_VERSION='0.01'
555 PACKAGE_STRING='Polly 0.01'
556 PACKAGE_BUGREPORT='polly-dev@googlegroups.com'
557 PACKAGE_URL=''
559 ac_unique_file=""lib/Analysis/ScopInfo.cpp""
560 ac_subst_vars='LTLIBOBJS
561 LIBOBJS
562 scoplib_rpath
563 scoplib_ld
564 scoplib_lib
565 scoplib_inc
566 scoplib_found
567 openscop_ld
568 openscop_lib
569 openscop_inc
570 openscop_found
571 cloog_ld
572 cloog_lib
573 cloog_inc
574 cloog_found
575 isl_ld
576 isl_lib
577 isl_inc
578 isl_found
579 gmp_ld
580 gmp_lib
581 gmp_inc
582 gmp_found
583 OBJEXT
584 EXEEXT
585 ac_ct_CXX
586 CPPFLAGS
587 LDFLAGS
588 CXXFLAGS
590 LLVM_OBJ
591 LLVM_SRC
592 target_alias
593 host_alias
594 build_alias
595 LIBS
596 ECHO_T
597 ECHO_N
598 ECHO_C
599 DEFS
600 mandir
601 localedir
602 libdir
603 psdir
604 pdfdir
605 dvidir
606 htmldir
607 infodir
608 docdir
609 oldincludedir
610 includedir
611 localstatedir
612 sharedstatedir
613 sysconfdir
614 datadir
615 datarootdir
616 libexecdir
617 sbindir
618 bindir
619 program_transform_name
620 prefix
621 exec_prefix
622 PACKAGE_URL
623 PACKAGE_BUGREPORT
624 PACKAGE_STRING
625 PACKAGE_VERSION
626 PACKAGE_TARNAME
627 PACKAGE_NAME
628 PATH_SEPARATOR
629 SHELL'
630 ac_subst_files=''
631 ac_user_opts='
632 enable_option_checking
633 with_llvmsrc
634 with_llvmobj
635 with_gmp
636 with_isl
637 with_cloog
638 with_openscop
639 with_scoplib
641 ac_precious_vars='build_alias
642 host_alias
643 target_alias
645 CXXFLAGS
646 LDFLAGS
647 LIBS
648 CPPFLAGS
649 CCC'
652 # Initialize some variables set by options.
653 ac_init_help=
654 ac_init_version=false
655 ac_unrecognized_opts=
656 ac_unrecognized_sep=
657 # The variables have the same names as the options, with
658 # dashes changed to underlines.
659 cache_file=/dev/null
660 exec_prefix=NONE
661 no_create=
662 no_recursion=
663 prefix=NONE
664 program_prefix=NONE
665 program_suffix=NONE
666 program_transform_name=s,x,x,
667 silent=
668 site=
669 srcdir=
670 verbose=
671 x_includes=NONE
672 x_libraries=NONE
674 # Installation directory options.
675 # These are left unexpanded so users can "make install exec_prefix=/foo"
676 # and all the variables that are supposed to be based on exec_prefix
677 # by default will actually change.
678 # Use braces instead of parens because sh, perl, etc. also accept them.
679 # (The list follows the same order as the GNU Coding Standards.)
680 bindir='${exec_prefix}/bin'
681 sbindir='${exec_prefix}/sbin'
682 libexecdir='${exec_prefix}/libexec'
683 datarootdir='${prefix}/share'
684 datadir='${datarootdir}'
685 sysconfdir='${prefix}/etc'
686 sharedstatedir='${prefix}/com'
687 localstatedir='${prefix}/var'
688 includedir='${prefix}/include'
689 oldincludedir='/usr/include'
690 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
691 infodir='${datarootdir}/info'
692 htmldir='${docdir}'
693 dvidir='${docdir}'
694 pdfdir='${docdir}'
695 psdir='${docdir}'
696 libdir='${exec_prefix}/lib'
697 localedir='${datarootdir}/locale'
698 mandir='${datarootdir}/man'
700 ac_prev=
701 ac_dashdash=
702 for ac_option
704 # If the previous option needs an argument, assign it.
705 if test -n "$ac_prev"; then
706 eval $ac_prev=\$ac_option
707 ac_prev=
708 continue
711 case $ac_option in
712 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
713 *=) ac_optarg= ;;
714 *) ac_optarg=yes ;;
715 esac
717 # Accept the important Cygnus configure options, so we can diagnose typos.
719 case $ac_dashdash$ac_option in
721 ac_dashdash=yes ;;
723 -bindir | --bindir | --bindi | --bind | --bin | --bi)
724 ac_prev=bindir ;;
725 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
726 bindir=$ac_optarg ;;
728 -build | --build | --buil | --bui | --bu)
729 ac_prev=build_alias ;;
730 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
731 build_alias=$ac_optarg ;;
733 -cache-file | --cache-file | --cache-fil | --cache-fi \
734 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
735 ac_prev=cache_file ;;
736 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
737 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
738 cache_file=$ac_optarg ;;
740 --config-cache | -C)
741 cache_file=config.cache ;;
743 -datadir | --datadir | --datadi | --datad)
744 ac_prev=datadir ;;
745 -datadir=* | --datadir=* | --datadi=* | --datad=*)
746 datadir=$ac_optarg ;;
748 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
749 | --dataroo | --dataro | --datar)
750 ac_prev=datarootdir ;;
751 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
752 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
753 datarootdir=$ac_optarg ;;
755 -disable-* | --disable-*)
756 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
759 as_fn_error $? "invalid feature name: $ac_useropt"
760 ac_useropt_orig=$ac_useropt
761 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
762 case $ac_user_opts in
764 "enable_$ac_useropt"
765 "*) ;;
766 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
767 ac_unrecognized_sep=', ';;
768 esac
769 eval enable_$ac_useropt=no ;;
771 -docdir | --docdir | --docdi | --doc | --do)
772 ac_prev=docdir ;;
773 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
774 docdir=$ac_optarg ;;
776 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
777 ac_prev=dvidir ;;
778 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
779 dvidir=$ac_optarg ;;
781 -enable-* | --enable-*)
782 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
785 as_fn_error $? "invalid feature name: $ac_useropt"
786 ac_useropt_orig=$ac_useropt
787 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
788 case $ac_user_opts in
790 "enable_$ac_useropt"
791 "*) ;;
792 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
793 ac_unrecognized_sep=', ';;
794 esac
795 eval enable_$ac_useropt=\$ac_optarg ;;
797 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
798 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
799 | --exec | --exe | --ex)
800 ac_prev=exec_prefix ;;
801 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
802 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
803 | --exec=* | --exe=* | --ex=*)
804 exec_prefix=$ac_optarg ;;
806 -gas | --gas | --ga | --g)
807 # Obsolete; use --with-gas.
808 with_gas=yes ;;
810 -help | --help | --hel | --he | -h)
811 ac_init_help=long ;;
812 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
813 ac_init_help=recursive ;;
814 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
815 ac_init_help=short ;;
817 -host | --host | --hos | --ho)
818 ac_prev=host_alias ;;
819 -host=* | --host=* | --hos=* | --ho=*)
820 host_alias=$ac_optarg ;;
822 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
823 ac_prev=htmldir ;;
824 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
825 | --ht=*)
826 htmldir=$ac_optarg ;;
828 -includedir | --includedir | --includedi | --included | --include \
829 | --includ | --inclu | --incl | --inc)
830 ac_prev=includedir ;;
831 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
832 | --includ=* | --inclu=* | --incl=* | --inc=*)
833 includedir=$ac_optarg ;;
835 -infodir | --infodir | --infodi | --infod | --info | --inf)
836 ac_prev=infodir ;;
837 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
838 infodir=$ac_optarg ;;
840 -libdir | --libdir | --libdi | --libd)
841 ac_prev=libdir ;;
842 -libdir=* | --libdir=* | --libdi=* | --libd=*)
843 libdir=$ac_optarg ;;
845 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
846 | --libexe | --libex | --libe)
847 ac_prev=libexecdir ;;
848 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
849 | --libexe=* | --libex=* | --libe=*)
850 libexecdir=$ac_optarg ;;
852 -localedir | --localedir | --localedi | --localed | --locale)
853 ac_prev=localedir ;;
854 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
855 localedir=$ac_optarg ;;
857 -localstatedir | --localstatedir | --localstatedi | --localstated \
858 | --localstate | --localstat | --localsta | --localst | --locals)
859 ac_prev=localstatedir ;;
860 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
861 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
862 localstatedir=$ac_optarg ;;
864 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
865 ac_prev=mandir ;;
866 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
867 mandir=$ac_optarg ;;
869 -nfp | --nfp | --nf)
870 # Obsolete; use --without-fp.
871 with_fp=no ;;
873 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
874 | --no-cr | --no-c | -n)
875 no_create=yes ;;
877 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
878 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
879 no_recursion=yes ;;
881 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
882 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
883 | --oldin | --oldi | --old | --ol | --o)
884 ac_prev=oldincludedir ;;
885 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
886 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
887 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
888 oldincludedir=$ac_optarg ;;
890 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
891 ac_prev=prefix ;;
892 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
893 prefix=$ac_optarg ;;
895 -program-prefix | --program-prefix | --program-prefi | --program-pref \
896 | --program-pre | --program-pr | --program-p)
897 ac_prev=program_prefix ;;
898 -program-prefix=* | --program-prefix=* | --program-prefi=* \
899 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
900 program_prefix=$ac_optarg ;;
902 -program-suffix | --program-suffix | --program-suffi | --program-suff \
903 | --program-suf | --program-su | --program-s)
904 ac_prev=program_suffix ;;
905 -program-suffix=* | --program-suffix=* | --program-suffi=* \
906 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
907 program_suffix=$ac_optarg ;;
909 -program-transform-name | --program-transform-name \
910 | --program-transform-nam | --program-transform-na \
911 | --program-transform-n | --program-transform- \
912 | --program-transform | --program-transfor \
913 | --program-transfo | --program-transf \
914 | --program-trans | --program-tran \
915 | --progr-tra | --program-tr | --program-t)
916 ac_prev=program_transform_name ;;
917 -program-transform-name=* | --program-transform-name=* \
918 | --program-transform-nam=* | --program-transform-na=* \
919 | --program-transform-n=* | --program-transform-=* \
920 | --program-transform=* | --program-transfor=* \
921 | --program-transfo=* | --program-transf=* \
922 | --program-trans=* | --program-tran=* \
923 | --progr-tra=* | --program-tr=* | --program-t=*)
924 program_transform_name=$ac_optarg ;;
926 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
927 ac_prev=pdfdir ;;
928 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
929 pdfdir=$ac_optarg ;;
931 -psdir | --psdir | --psdi | --psd | --ps)
932 ac_prev=psdir ;;
933 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
934 psdir=$ac_optarg ;;
936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
937 | -silent | --silent | --silen | --sile | --sil)
938 silent=yes ;;
940 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
941 ac_prev=sbindir ;;
942 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
943 | --sbi=* | --sb=*)
944 sbindir=$ac_optarg ;;
946 -sharedstatedir | --sharedstatedir | --sharedstatedi \
947 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
948 | --sharedst | --shareds | --shared | --share | --shar \
949 | --sha | --sh)
950 ac_prev=sharedstatedir ;;
951 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
952 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
953 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
954 | --sha=* | --sh=*)
955 sharedstatedir=$ac_optarg ;;
957 -site | --site | --sit)
958 ac_prev=site ;;
959 -site=* | --site=* | --sit=*)
960 site=$ac_optarg ;;
962 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
963 ac_prev=srcdir ;;
964 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
965 srcdir=$ac_optarg ;;
967 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
968 | --syscon | --sysco | --sysc | --sys | --sy)
969 ac_prev=sysconfdir ;;
970 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
971 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
972 sysconfdir=$ac_optarg ;;
974 -target | --target | --targe | --targ | --tar | --ta | --t)
975 ac_prev=target_alias ;;
976 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
977 target_alias=$ac_optarg ;;
979 -v | -verbose | --verbose | --verbos | --verbo | --verb)
980 verbose=yes ;;
982 -version | --version | --versio | --versi | --vers | -V)
983 ac_init_version=: ;;
985 -with-* | --with-*)
986 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989 as_fn_error $? "invalid package name: $ac_useropt"
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
994 "with_$ac_useropt"
995 "*) ;;
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
998 esac
999 eval with_$ac_useropt=\$ac_optarg ;;
1001 -without-* | --without-*)
1002 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005 as_fn_error $? "invalid package name: $ac_useropt"
1006 ac_useropt_orig=$ac_useropt
1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008 case $ac_user_opts in
1010 "with_$ac_useropt"
1011 "*) ;;
1012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1013 ac_unrecognized_sep=', ';;
1014 esac
1015 eval with_$ac_useropt=no ;;
1017 --x)
1018 # Obsolete; use --with-x.
1019 with_x=yes ;;
1021 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1022 | --x-incl | --x-inc | --x-in | --x-i)
1023 ac_prev=x_includes ;;
1024 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1025 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1026 x_includes=$ac_optarg ;;
1028 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1029 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1030 ac_prev=x_libraries ;;
1031 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1032 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1033 x_libraries=$ac_optarg ;;
1035 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1036 Try \`$0 --help' for more information"
1039 *=*)
1040 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1041 # Reject names that are not valid shell variable names.
1042 case $ac_envvar in #(
1043 '' | [0-9]* | *[!_$as_cr_alnum]* )
1044 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1045 esac
1046 eval $ac_envvar=\$ac_optarg
1047 export $ac_envvar ;;
1050 # FIXME: should be removed in autoconf 3.0.
1051 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1052 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1054 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1057 esac
1058 done
1060 if test -n "$ac_prev"; then
1061 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1062 as_fn_error $? "missing argument to $ac_option"
1065 if test -n "$ac_unrecognized_opts"; then
1066 case $enable_option_checking in
1067 no) ;;
1068 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1069 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1070 esac
1073 # Check all directory arguments for consistency.
1074 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1075 datadir sysconfdir sharedstatedir localstatedir includedir \
1076 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1077 libdir localedir mandir
1079 eval ac_val=\$$ac_var
1080 # Remove trailing slashes.
1081 case $ac_val in
1082 */ )
1083 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1084 eval $ac_var=\$ac_val;;
1085 esac
1086 # Be sure to have absolute directory names.
1087 case $ac_val in
1088 [\\/$]* | ?:[\\/]* ) continue;;
1089 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1090 esac
1091 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1092 done
1094 # There might be people who depend on the old broken behavior: `$host'
1095 # used to hold the argument of --host etc.
1096 # FIXME: To remove some day.
1097 build=$build_alias
1098 host=$host_alias
1099 target=$target_alias
1101 # FIXME: To remove some day.
1102 if test "x$host_alias" != x; then
1103 if test "x$build_alias" = x; then
1104 cross_compiling=maybe
1105 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1106 If a cross compiler is detected then cross compile mode will be used" >&2
1107 elif test "x$build_alias" != "x$host_alias"; then
1108 cross_compiling=yes
1112 ac_tool_prefix=
1113 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1115 test "$silent" = yes && exec 6>/dev/null
1118 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1119 ac_ls_di=`ls -di .` &&
1120 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1121 as_fn_error $? "working directory cannot be determined"
1122 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1123 as_fn_error $? "pwd does not report name of working directory"
1126 # Find the source files, if location was not specified.
1127 if test -z "$srcdir"; then
1128 ac_srcdir_defaulted=yes
1129 # Try the directory containing this script, then the parent directory.
1130 ac_confdir=`$as_dirname -- "$as_myself" ||
1131 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1132 X"$as_myself" : 'X\(//\)[^/]' \| \
1133 X"$as_myself" : 'X\(//\)$' \| \
1134 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1135 $as_echo X"$as_myself" |
1136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1137 s//\1/
1140 /^X\(\/\/\)[^/].*/{
1141 s//\1/
1144 /^X\(\/\/\)$/{
1145 s//\1/
1148 /^X\(\/\).*/{
1149 s//\1/
1152 s/.*/./; q'`
1153 srcdir=$ac_confdir
1154 if test ! -r "$srcdir/$ac_unique_file"; then
1155 srcdir=..
1157 else
1158 ac_srcdir_defaulted=no
1160 if test ! -r "$srcdir/$ac_unique_file"; then
1161 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1162 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1164 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1165 ac_abs_confdir=`(
1166 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1167 pwd)`
1168 # When building in place, set srcdir=.
1169 if test "$ac_abs_confdir" = "$ac_pwd"; then
1170 srcdir=.
1172 # Remove unnecessary trailing slashes from srcdir.
1173 # Double slashes in file names in object file debugging info
1174 # mess up M-x gdb in Emacs.
1175 case $srcdir in
1176 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1177 esac
1178 for ac_var in $ac_precious_vars; do
1179 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1180 eval ac_env_${ac_var}_value=\$${ac_var}
1181 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1182 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1183 done
1186 # Report the --help message.
1188 if test "$ac_init_help" = "long"; then
1189 # Omit some internal or obsolete options to make the list less imposing.
1190 # This message is too long to be a string in the A/UX 3.1 sh.
1191 cat <<_ACEOF
1192 \`configure' configures Polly 0.01 to adapt to many kinds of systems.
1194 Usage: $0 [OPTION]... [VAR=VALUE]...
1196 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1197 VAR=VALUE. See below for descriptions of some of the useful variables.
1199 Defaults for the options are specified in brackets.
1201 Configuration:
1202 -h, --help display this help and exit
1203 --help=short display options specific to this package
1204 --help=recursive display the short help of all the included packages
1205 -V, --version display version information and exit
1206 -q, --quiet, --silent do not print \`checking ...' messages
1207 --cache-file=FILE cache test results in FILE [disabled]
1208 -C, --config-cache alias for \`--cache-file=config.cache'
1209 -n, --no-create do not create output files
1210 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1212 Installation directories:
1213 --prefix=PREFIX install architecture-independent files in PREFIX
1214 [$ac_default_prefix]
1215 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1216 [PREFIX]
1218 By default, \`make install' will install all the files in
1219 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1220 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1221 for instance \`--prefix=\$HOME'.
1223 For better control, use the options below.
1225 Fine tuning of the installation directories:
1226 --bindir=DIR user executables [EPREFIX/bin]
1227 --sbindir=DIR system admin executables [EPREFIX/sbin]
1228 --libexecdir=DIR program executables [EPREFIX/libexec]
1229 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1230 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1231 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1232 --libdir=DIR object code libraries [EPREFIX/lib]
1233 --includedir=DIR C header files [PREFIX/include]
1234 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1235 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1236 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1237 --infodir=DIR info documentation [DATAROOTDIR/info]
1238 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1239 --mandir=DIR man documentation [DATAROOTDIR/man]
1240 --docdir=DIR documentation root [DATAROOTDIR/doc/polly]
1241 --htmldir=DIR html documentation [DOCDIR]
1242 --dvidir=DIR dvi documentation [DOCDIR]
1243 --pdfdir=DIR pdf documentation [DOCDIR]
1244 --psdir=DIR ps documentation [DOCDIR]
1245 _ACEOF
1247 cat <<\_ACEOF
1248 _ACEOF
1251 if test -n "$ac_init_help"; then
1252 case $ac_init_help in
1253 short | recursive ) echo "Configuration of Polly 0.01:";;
1254 esac
1255 cat <<\_ACEOF
1257 Optional Packages:
1258 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1259 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1260 --with-llvmsrc Location of LLVM Source Code
1261 --with-llvmobj Location of LLVM Object Code
1262 --with-gmp prefix of gmp
1263 --with-isl prefix of isl
1264 --with-cloog prefix of cloog
1265 --with-openscop prefix of openscop
1266 --with-scoplib prefix of scoplib
1268 Some influential environment variables:
1269 CXX C++ compiler command
1270 CXXFLAGS C++ compiler flags
1271 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1272 nonstandard directory <lib dir>
1273 LIBS libraries to pass to the linker, e.g. -l<library>
1274 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1275 you have headers in a nonstandard directory <include dir>
1277 Use these variables to override the choices made by `configure' or to help
1278 it to find libraries and programs with nonstandard names/locations.
1280 Report bugs to <polly-dev@googlegroups.com>.
1281 _ACEOF
1282 ac_status=$?
1285 if test "$ac_init_help" = "recursive"; then
1286 # If there are subdirs, report their specific --help.
1287 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1288 test -d "$ac_dir" ||
1289 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1290 continue
1291 ac_builddir=.
1293 case "$ac_dir" in
1294 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1296 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1297 # A ".." for each directory in $ac_dir_suffix.
1298 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1299 case $ac_top_builddir_sub in
1300 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1301 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1302 esac ;;
1303 esac
1304 ac_abs_top_builddir=$ac_pwd
1305 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1306 # for backward compatibility:
1307 ac_top_builddir=$ac_top_build_prefix
1309 case $srcdir in
1310 .) # We are building in place.
1311 ac_srcdir=.
1312 ac_top_srcdir=$ac_top_builddir_sub
1313 ac_abs_top_srcdir=$ac_pwd ;;
1314 [\\/]* | ?:[\\/]* ) # Absolute name.
1315 ac_srcdir=$srcdir$ac_dir_suffix;
1316 ac_top_srcdir=$srcdir
1317 ac_abs_top_srcdir=$srcdir ;;
1318 *) # Relative name.
1319 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1320 ac_top_srcdir=$ac_top_build_prefix$srcdir
1321 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1322 esac
1323 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1325 cd "$ac_dir" || { ac_status=$?; continue; }
1326 # Check for guested configure.
1327 if test -f "$ac_srcdir/configure.gnu"; then
1328 echo &&
1329 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1330 elif test -f "$ac_srcdir/configure"; then
1331 echo &&
1332 $SHELL "$ac_srcdir/configure" --help=recursive
1333 else
1334 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1335 fi || ac_status=$?
1336 cd "$ac_pwd" || { ac_status=$?; break; }
1337 done
1340 test -n "$ac_init_help" && exit $ac_status
1341 if $ac_init_version; then
1342 cat <<\_ACEOF
1343 Polly configure 0.01
1344 generated by GNU Autoconf 2.67
1346 Copyright (C) 2010 Free Software Foundation, Inc.
1347 This configure script is free software; the Free Software Foundation
1348 gives unlimited permission to copy, distribute and modify it.
1349 _ACEOF
1350 exit
1353 ## ------------------------ ##
1354 ## Autoconf initialization. ##
1355 ## ------------------------ ##
1357 # ac_fn_cxx_try_compile LINENO
1358 # ----------------------------
1359 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1360 ac_fn_cxx_try_compile ()
1362 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1363 rm -f conftest.$ac_objext
1364 if { { ac_try="$ac_compile"
1365 case "(($ac_try" in
1366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1367 *) ac_try_echo=$ac_try;;
1368 esac
1369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1370 $as_echo "$ac_try_echo"; } >&5
1371 (eval "$ac_compile") 2>conftest.err
1372 ac_status=$?
1373 if test -s conftest.err; then
1374 grep -v '^ *+' conftest.err >conftest.er1
1375 cat conftest.er1 >&5
1376 mv -f conftest.er1 conftest.err
1378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1379 test $ac_status = 0; } && {
1380 test -z "$ac_cxx_werror_flag" ||
1381 test ! -s conftest.err
1382 } && test -s conftest.$ac_objext; then :
1383 ac_retval=0
1384 else
1385 $as_echo "$as_me: failed program was:" >&5
1386 sed 's/^/| /' conftest.$ac_ext >&5
1388 ac_retval=1
1390 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1391 as_fn_set_status $ac_retval
1393 } # ac_fn_cxx_try_compile
1395 # ac_fn_cxx_try_link LINENO
1396 # -------------------------
1397 # Try to link conftest.$ac_ext, and return whether this succeeded.
1398 ac_fn_cxx_try_link ()
1400 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1401 rm -f conftest.$ac_objext conftest$ac_exeext
1402 if { { ac_try="$ac_link"
1403 case "(($ac_try" in
1404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1405 *) ac_try_echo=$ac_try;;
1406 esac
1407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1408 $as_echo "$ac_try_echo"; } >&5
1409 (eval "$ac_link") 2>conftest.err
1410 ac_status=$?
1411 if test -s conftest.err; then
1412 grep -v '^ *+' conftest.err >conftest.er1
1413 cat conftest.er1 >&5
1414 mv -f conftest.er1 conftest.err
1416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1417 test $ac_status = 0; } && {
1418 test -z "$ac_cxx_werror_flag" ||
1419 test ! -s conftest.err
1420 } && test -s conftest$ac_exeext && {
1421 test "$cross_compiling" = yes ||
1422 $as_test_x conftest$ac_exeext
1423 }; then :
1424 ac_retval=0
1425 else
1426 $as_echo "$as_me: failed program was:" >&5
1427 sed 's/^/| /' conftest.$ac_ext >&5
1429 ac_retval=1
1431 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1432 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1433 # interfere with the next link command; also delete a directory that is
1434 # left behind by Apple's compiler. We do this before executing the actions.
1435 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1436 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1437 as_fn_set_status $ac_retval
1439 } # ac_fn_cxx_try_link
1440 cat >config.log <<_ACEOF
1441 This file contains any messages produced by compilers while
1442 running configure, to aid debugging if configure makes a mistake.
1444 It was created by Polly $as_me 0.01, which was
1445 generated by GNU Autoconf 2.67. Invocation command line was
1447 $ $0 $@
1449 _ACEOF
1450 exec 5>>config.log
1452 cat <<_ASUNAME
1453 ## --------- ##
1454 ## Platform. ##
1455 ## --------- ##
1457 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1458 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1459 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1460 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1461 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1463 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1464 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1466 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1467 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1468 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1469 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1470 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1471 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1472 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1474 _ASUNAME
1476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1477 for as_dir in $PATH
1479 IFS=$as_save_IFS
1480 test -z "$as_dir" && as_dir=.
1481 $as_echo "PATH: $as_dir"
1482 done
1483 IFS=$as_save_IFS
1485 } >&5
1487 cat >&5 <<_ACEOF
1490 ## ----------- ##
1491 ## Core tests. ##
1492 ## ----------- ##
1494 _ACEOF
1497 # Keep a trace of the command line.
1498 # Strip out --no-create and --no-recursion so they do not pile up.
1499 # Strip out --silent because we don't want to record it for future runs.
1500 # Also quote any args containing shell meta-characters.
1501 # Make two passes to allow for proper duplicate-argument suppression.
1502 ac_configure_args=
1503 ac_configure_args0=
1504 ac_configure_args1=
1505 ac_must_keep_next=false
1506 for ac_pass in 1 2
1508 for ac_arg
1510 case $ac_arg in
1511 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1513 | -silent | --silent | --silen | --sile | --sil)
1514 continue ;;
1515 *\'*)
1516 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1517 esac
1518 case $ac_pass in
1519 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1521 as_fn_append ac_configure_args1 " '$ac_arg'"
1522 if test $ac_must_keep_next = true; then
1523 ac_must_keep_next=false # Got value, back to normal.
1524 else
1525 case $ac_arg in
1526 *=* | --config-cache | -C | -disable-* | --disable-* \
1527 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1528 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1529 | -with-* | --with-* | -without-* | --without-* | --x)
1530 case "$ac_configure_args0 " in
1531 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1532 esac
1534 -* ) ac_must_keep_next=true ;;
1535 esac
1537 as_fn_append ac_configure_args " '$ac_arg'"
1539 esac
1540 done
1541 done
1542 { ac_configure_args0=; unset ac_configure_args0;}
1543 { ac_configure_args1=; unset ac_configure_args1;}
1545 # When interrupted or exit'd, cleanup temporary files, and complete
1546 # config.log. We remove comments because anyway the quotes in there
1547 # would cause problems or look ugly.
1548 # WARNING: Use '\'' to represent an apostrophe within the trap.
1549 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1550 trap 'exit_status=$?
1551 # Save into config.log some information that might help in debugging.
1553 echo
1555 $as_echo "## ---------------- ##
1556 ## Cache variables. ##
1557 ## ---------------- ##"
1558 echo
1559 # The following way of writing the cache mishandles newlines in values,
1561 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1562 eval ac_val=\$$ac_var
1563 case $ac_val in #(
1564 *${as_nl}*)
1565 case $ac_var in #(
1566 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1568 esac
1569 case $ac_var in #(
1570 _ | IFS | as_nl) ;; #(
1571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1572 *) { eval $ac_var=; unset $ac_var;} ;;
1573 esac ;;
1574 esac
1575 done
1576 (set) 2>&1 |
1577 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1578 *${as_nl}ac_space=\ *)
1579 sed -n \
1580 "s/'\''/'\''\\\\'\'''\''/g;
1581 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1582 ;; #(
1584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1586 esac |
1587 sort
1589 echo
1591 $as_echo "## ----------------- ##
1592 ## Output variables. ##
1593 ## ----------------- ##"
1594 echo
1595 for ac_var in $ac_subst_vars
1597 eval ac_val=\$$ac_var
1598 case $ac_val in
1599 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1600 esac
1601 $as_echo "$ac_var='\''$ac_val'\''"
1602 done | sort
1603 echo
1605 if test -n "$ac_subst_files"; then
1606 $as_echo "## ------------------- ##
1607 ## File substitutions. ##
1608 ## ------------------- ##"
1609 echo
1610 for ac_var in $ac_subst_files
1612 eval ac_val=\$$ac_var
1613 case $ac_val in
1614 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1615 esac
1616 $as_echo "$ac_var='\''$ac_val'\''"
1617 done | sort
1618 echo
1621 if test -s confdefs.h; then
1622 $as_echo "## ----------- ##
1623 ## confdefs.h. ##
1624 ## ----------- ##"
1625 echo
1626 cat confdefs.h
1627 echo
1629 test "$ac_signal" != 0 &&
1630 $as_echo "$as_me: caught signal $ac_signal"
1631 $as_echo "$as_me: exit $exit_status"
1632 } >&5
1633 rm -f core *.core core.conftest.* &&
1634 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1635 exit $exit_status
1637 for ac_signal in 1 2 13 15; do
1638 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1639 done
1640 ac_signal=0
1642 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1643 rm -f -r conftest* confdefs.h
1645 $as_echo "/* confdefs.h */" > confdefs.h
1647 # Predefined preprocessor variables.
1649 cat >>confdefs.h <<_ACEOF
1650 #define PACKAGE_NAME "$PACKAGE_NAME"
1651 _ACEOF
1653 cat >>confdefs.h <<_ACEOF
1654 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1655 _ACEOF
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1659 _ACEOF
1661 cat >>confdefs.h <<_ACEOF
1662 #define PACKAGE_STRING "$PACKAGE_STRING"
1663 _ACEOF
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1667 _ACEOF
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_URL "$PACKAGE_URL"
1671 _ACEOF
1674 # Let the site file select an alternate cache file if it wants to.
1675 # Prefer an explicitly selected file to automatically selected ones.
1676 ac_site_file1=NONE
1677 ac_site_file2=NONE
1678 if test -n "$CONFIG_SITE"; then
1679 # We do not want a PATH search for config.site.
1680 case $CONFIG_SITE in #((
1681 -*) ac_site_file1=./$CONFIG_SITE;;
1682 */*) ac_site_file1=$CONFIG_SITE;;
1683 *) ac_site_file1=./$CONFIG_SITE;;
1684 esac
1685 elif test "x$prefix" != xNONE; then
1686 ac_site_file1=$prefix/share/config.site
1687 ac_site_file2=$prefix/etc/config.site
1688 else
1689 ac_site_file1=$ac_default_prefix/share/config.site
1690 ac_site_file2=$ac_default_prefix/etc/config.site
1692 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1694 test "x$ac_site_file" = xNONE && continue
1695 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1697 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1698 sed 's/^/| /' "$ac_site_file" >&5
1699 . "$ac_site_file" \
1700 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1702 as_fn_error $? "failed to load site script $ac_site_file
1703 See \`config.log' for more details" "$LINENO" 5 ; }
1705 done
1707 if test -r "$cache_file"; then
1708 # Some versions of bash will fail to source /dev/null (special files
1709 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1710 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1712 $as_echo "$as_me: loading cache $cache_file" >&6;}
1713 case $cache_file in
1714 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1715 *) . "./$cache_file";;
1716 esac
1718 else
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1720 $as_echo "$as_me: creating cache $cache_file" >&6;}
1721 >$cache_file
1724 # Check that the precious variables saved in the cache have kept the same
1725 # value.
1726 ac_cache_corrupted=false
1727 for ac_var in $ac_precious_vars; do
1728 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1729 eval ac_new_set=\$ac_env_${ac_var}_set
1730 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1731 eval ac_new_val=\$ac_env_${ac_var}_value
1732 case $ac_old_set,$ac_new_set in
1733 set,)
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1735 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1736 ac_cache_corrupted=: ;;
1737 ,set)
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1739 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1740 ac_cache_corrupted=: ;;
1741 ,);;
1743 if test "x$ac_old_val" != "x$ac_new_val"; then
1744 # differences in whitespace do not lead to failure.
1745 ac_old_val_w=`echo x $ac_old_val`
1746 ac_new_val_w=`echo x $ac_new_val`
1747 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1749 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1750 ac_cache_corrupted=:
1751 else
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1753 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1754 eval $ac_var=\$ac_old_val
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1757 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1759 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1760 fi;;
1761 esac
1762 # Pass precious variables to config.status.
1763 if test "$ac_new_set" = set; then
1764 case $ac_new_val in
1765 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1766 *) ac_arg=$ac_var=$ac_new_val ;;
1767 esac
1768 case " $ac_configure_args " in
1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1770 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1771 esac
1773 done
1774 if $ac_cache_corrupted; then
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1778 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1779 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1781 ## -------------------- ##
1782 ## Main body of script. ##
1783 ## -------------------- ##
1785 ac_ext=c
1786 ac_cpp='$CPP $CPPFLAGS'
1787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1793 LLVM_SRC_ROOT="`(cd $srcdir/../..; pwd)`"
1794 LLVM_OBJ_ROOT="`(cd ../..; pwd)`"
1797 # Check whether --with-llvmsrc was given.
1798 if test "${with_llvmsrc+set}" = set; then :
1799 withval=$with_llvmsrc; llvm_src="$withval"
1800 else
1801 llvm_src="$LLVM_SRC_ROOT"
1804 LLVM_SRC=$llvm_src
1807 # Check whether --with-llvmobj was given.
1808 if test "${with_llvmobj+set}" = set; then :
1809 withval=$with_llvmobj; llvm_obj="$withval"
1810 else
1811 llvm_obj="$LLVM_OBJ_ROOT"
1814 LLVM_OBJ=$llvm_obj
1816 ac_config_commands="$ac_config_commands setup"
1820 ac_aux_dir=
1821 for ac_dir in $LLVM_SRC/autoconf "$srcdir"/$LLVM_SRC/autoconf; do
1822 if test -f "$ac_dir/install-sh"; then
1823 ac_aux_dir=$ac_dir
1824 ac_install_sh="$ac_aux_dir/install-sh -c"
1825 break
1826 elif test -f "$ac_dir/install.sh"; then
1827 ac_aux_dir=$ac_dir
1828 ac_install_sh="$ac_aux_dir/install.sh -c"
1829 break
1830 elif test -f "$ac_dir/shtool"; then
1831 ac_aux_dir=$ac_dir
1832 ac_install_sh="$ac_aux_dir/shtool install -c"
1833 break
1835 done
1836 if test -z "$ac_aux_dir"; then
1837 as_fn_error $? "cannot find install-sh, install.sh, or shtool in $LLVM_SRC/autoconf \"$srcdir\"/$LLVM_SRC/autoconf" "$LINENO" 5
1840 # These three variables are undocumented and unsupported,
1841 # and are intended to be withdrawn in a future Autoconf release.
1842 # They can cause serious problems if a builder's source tree is in a directory
1843 # whose full name contains unusual characters.
1844 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1845 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1846 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1854 ac_config_files="$ac_config_files Makefile.config"
1856 ac_config_files="$ac_config_files Makefile.common"
1860 if test ${srcdir} != "." ; then
1861 if test -f ${srcdir}/include/polly/Config/config.h ; then
1862 as_fn_error $? "Already configured in ${srcdir}" "$LINENO" 5
1867 $as_echo "#define CLOOG_INT_GMP 1" >>confdefs.h
1878 ac_ext=cpp
1879 ac_cpp='$CXXCPP $CPPFLAGS'
1880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1883 if test -z "$CXX"; then
1884 if test -n "$CCC"; then
1885 CXX=$CCC
1886 else
1887 if test -n "$ac_tool_prefix"; then
1888 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1890 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1891 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1893 $as_echo_n "checking for $ac_word... " >&6; }
1894 if test "${ac_cv_prog_CXX+set}" = set; then :
1895 $as_echo_n "(cached) " >&6
1896 else
1897 if test -n "$CXX"; then
1898 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1899 else
1900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1901 for as_dir in $PATH
1903 IFS=$as_save_IFS
1904 test -z "$as_dir" && as_dir=.
1905 for ac_exec_ext in '' $ac_executable_extensions; do
1906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1907 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1909 break 2
1911 done
1912 done
1913 IFS=$as_save_IFS
1917 CXX=$ac_cv_prog_CXX
1918 if test -n "$CXX"; then
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
1920 $as_echo "$CXX" >&6; }
1921 else
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1923 $as_echo "no" >&6; }
1927 test -n "$CXX" && break
1928 done
1930 if test -z "$CXX"; then
1931 ac_ct_CXX=$CXX
1932 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1934 # Extract the first word of "$ac_prog", so it can be a program name with args.
1935 set dummy $ac_prog; ac_word=$2
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1937 $as_echo_n "checking for $ac_word... " >&6; }
1938 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
1939 $as_echo_n "(cached) " >&6
1940 else
1941 if test -n "$ac_ct_CXX"; then
1942 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1943 else
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945 for as_dir in $PATH
1947 IFS=$as_save_IFS
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1951 ac_cv_prog_ac_ct_CXX="$ac_prog"
1952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 break 2
1955 done
1956 done
1957 IFS=$as_save_IFS
1961 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1962 if test -n "$ac_ct_CXX"; then
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
1964 $as_echo "$ac_ct_CXX" >&6; }
1965 else
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1967 $as_echo "no" >&6; }
1971 test -n "$ac_ct_CXX" && break
1972 done
1974 if test "x$ac_ct_CXX" = x; then
1975 CXX="g++"
1976 else
1977 case $cross_compiling:$ac_tool_warned in
1978 yes:)
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1981 ac_tool_warned=yes ;;
1982 esac
1983 CXX=$ac_ct_CXX
1989 # Provide some information about the compiler.
1990 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
1991 set X $ac_compile
1992 ac_compiler=$2
1993 for ac_option in --version -v -V -qversion; do
1994 { { ac_try="$ac_compiler $ac_option >&5"
1995 case "(($ac_try" in
1996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1997 *) ac_try_echo=$ac_try;;
1998 esac
1999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2002 ac_status=$?
2003 if test -s conftest.err; then
2004 sed '10a\
2005 ... rest of stderr output deleted ...
2006 10q' conftest.err >conftest.er1
2007 cat conftest.er1 >&5
2009 rm -f conftest.er1 conftest.err
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; }
2012 done
2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2018 main ()
2022 return 0;
2024 _ACEOF
2025 ac_clean_files_save=$ac_clean_files
2026 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2027 # Try to create an executable without -o first, disregard a.out.
2028 # It will help us diagnose broken compilers, and finding out an intuition
2029 # of exeext.
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2031 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2032 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2034 # The possible output files:
2035 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2037 ac_rmfiles=
2038 for ac_file in $ac_files
2040 case $ac_file in
2041 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2042 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2043 esac
2044 done
2045 rm -f $ac_rmfiles
2047 if { { ac_try="$ac_link_default"
2048 case "(($ac_try" in
2049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2050 *) ac_try_echo=$ac_try;;
2051 esac
2052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2053 $as_echo "$ac_try_echo"; } >&5
2054 (eval "$ac_link_default") 2>&5
2055 ac_status=$?
2056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2057 test $ac_status = 0; }; then :
2058 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2059 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2060 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2061 # so that the user can short-circuit this test for compilers unknown to
2062 # Autoconf.
2063 for ac_file in $ac_files ''
2065 test -f "$ac_file" || continue
2066 case $ac_file in
2067 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2069 [ab].out )
2070 # We found the default executable, but exeext='' is most
2071 # certainly right.
2072 break;;
2073 *.* )
2074 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2075 then :; else
2076 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2078 # We set ac_cv_exeext here because the later test for it is not
2079 # safe: cross compilers may not add the suffix if given an `-o'
2080 # argument, so we may need to know it at that point already.
2081 # Even if this section looks crufty: it has the advantage of
2082 # actually working.
2083 break;;
2085 break;;
2086 esac
2087 done
2088 test "$ac_cv_exeext" = no && ac_cv_exeext=
2090 else
2091 ac_file=''
2093 if test -z "$ac_file"; then :
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2095 $as_echo "no" >&6; }
2096 $as_echo "$as_me: failed program was:" >&5
2097 sed 's/^/| /' conftest.$ac_ext >&5
2099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2101 as_fn_error 77 "C++ compiler cannot create executables
2102 See \`config.log' for more details" "$LINENO" 5 ; }
2103 else
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2105 $as_echo "yes" >&6; }
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2108 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2110 $as_echo "$ac_file" >&6; }
2111 ac_exeext=$ac_cv_exeext
2113 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2114 ac_clean_files=$ac_clean_files_save
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2116 $as_echo_n "checking for suffix of executables... " >&6; }
2117 if { { ac_try="$ac_link"
2118 case "(($ac_try" in
2119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2120 *) ac_try_echo=$ac_try;;
2121 esac
2122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2123 $as_echo "$ac_try_echo"; } >&5
2124 (eval "$ac_link") 2>&5
2125 ac_status=$?
2126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2127 test $ac_status = 0; }; then :
2128 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2129 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2130 # work properly (i.e., refer to `conftest.exe'), while it won't with
2131 # `rm'.
2132 for ac_file in conftest.exe conftest conftest.*; do
2133 test -f "$ac_file" || continue
2134 case $ac_file in
2135 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2136 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2137 break;;
2138 * ) break;;
2139 esac
2140 done
2141 else
2142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2144 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2145 See \`config.log' for more details" "$LINENO" 5 ; }
2147 rm -f conftest conftest$ac_cv_exeext
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2149 $as_echo "$ac_cv_exeext" >&6; }
2151 rm -f conftest.$ac_ext
2152 EXEEXT=$ac_cv_exeext
2153 ac_exeext=$EXEEXT
2154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2155 /* end confdefs.h. */
2156 #include <stdio.h>
2158 main ()
2160 FILE *f = fopen ("conftest.out", "w");
2161 return ferror (f) || fclose (f) != 0;
2164 return 0;
2166 _ACEOF
2167 ac_clean_files="$ac_clean_files conftest.out"
2168 # Check that the compiler produces executables we can run. If not, either
2169 # the compiler is broken, or we cross compile.
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2171 $as_echo_n "checking whether we are cross compiling... " >&6; }
2172 if test "$cross_compiling" != yes; then
2173 { { ac_try="$ac_link"
2174 case "(($ac_try" in
2175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2176 *) ac_try_echo=$ac_try;;
2177 esac
2178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2179 $as_echo "$ac_try_echo"; } >&5
2180 (eval "$ac_link") 2>&5
2181 ac_status=$?
2182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2183 test $ac_status = 0; }
2184 if { ac_try='./conftest$ac_cv_exeext'
2185 { { case "(($ac_try" in
2186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2187 *) ac_try_echo=$ac_try;;
2188 esac
2189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2190 $as_echo "$ac_try_echo"; } >&5
2191 (eval "$ac_try") 2>&5
2192 ac_status=$?
2193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2194 test $ac_status = 0; }; }; then
2195 cross_compiling=no
2196 else
2197 if test "$cross_compiling" = maybe; then
2198 cross_compiling=yes
2199 else
2200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2202 as_fn_error $? "cannot run C++ compiled programs.
2203 If you meant to cross compile, use \`--host'.
2204 See \`config.log' for more details" "$LINENO" 5 ; }
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2209 $as_echo "$cross_compiling" >&6; }
2211 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2212 ac_clean_files=$ac_clean_files_save
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2214 $as_echo_n "checking for suffix of object files... " >&6; }
2215 if test "${ac_cv_objext+set}" = set; then :
2216 $as_echo_n "(cached) " >&6
2217 else
2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h. */
2222 main ()
2226 return 0;
2228 _ACEOF
2229 rm -f conftest.o conftest.obj
2230 if { { ac_try="$ac_compile"
2231 case "(($ac_try" in
2232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2233 *) ac_try_echo=$ac_try;;
2234 esac
2235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2236 $as_echo "$ac_try_echo"; } >&5
2237 (eval "$ac_compile") 2>&5
2238 ac_status=$?
2239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2240 test $ac_status = 0; }; then :
2241 for ac_file in conftest.o conftest.obj conftest.*; do
2242 test -f "$ac_file" || continue;
2243 case $ac_file in
2244 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2245 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2246 break;;
2247 esac
2248 done
2249 else
2250 $as_echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.$ac_ext >&5
2253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2255 as_fn_error $? "cannot compute suffix of object files: cannot compile
2256 See \`config.log' for more details" "$LINENO" 5 ; }
2258 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2261 $as_echo "$ac_cv_objext" >&6; }
2262 OBJEXT=$ac_cv_objext
2263 ac_objext=$OBJEXT
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2265 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2266 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
2267 $as_echo_n "(cached) " >&6
2268 else
2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2273 main ()
2275 #ifndef __GNUC__
2276 choke me
2277 #endif
2280 return 0;
2282 _ACEOF
2283 if ac_fn_cxx_try_compile "$LINENO"; then :
2284 ac_compiler_gnu=yes
2285 else
2286 ac_compiler_gnu=no
2288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2289 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2293 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2294 if test $ac_compiler_gnu = yes; then
2295 GXX=yes
2296 else
2297 GXX=
2299 ac_test_CXXFLAGS=${CXXFLAGS+set}
2300 ac_save_CXXFLAGS=$CXXFLAGS
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2302 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2303 if test "${ac_cv_prog_cxx_g+set}" = set; then :
2304 $as_echo_n "(cached) " >&6
2305 else
2306 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2307 ac_cxx_werror_flag=yes
2308 ac_cv_prog_cxx_g=no
2309 CXXFLAGS="-g"
2310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 /* end confdefs.h. */
2314 main ()
2318 return 0;
2320 _ACEOF
2321 if ac_fn_cxx_try_compile "$LINENO"; then :
2322 ac_cv_prog_cxx_g=yes
2323 else
2324 CXXFLAGS=""
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2329 main ()
2333 return 0;
2335 _ACEOF
2336 if ac_fn_cxx_try_compile "$LINENO"; then :
2338 else
2339 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2340 CXXFLAGS="-g"
2341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342 /* end confdefs.h. */
2345 main ()
2349 return 0;
2351 _ACEOF
2352 if ac_fn_cxx_try_compile "$LINENO"; then :
2353 ac_cv_prog_cxx_g=yes
2355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2360 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2363 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2364 if test "$ac_test_CXXFLAGS" = set; then
2365 CXXFLAGS=$ac_save_CXXFLAGS
2366 elif test $ac_cv_prog_cxx_g = yes; then
2367 if test "$GXX" = yes; then
2368 CXXFLAGS="-g -O2"
2369 else
2370 CXXFLAGS="-g"
2372 else
2373 if test "$GXX" = yes; then
2374 CXXFLAGS="-O2"
2375 else
2376 CXXFLAGS=
2379 ac_ext=cpp
2380 ac_cpp='$CXXCPP $CPPFLAGS'
2381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2387 ac_ext=cpp
2388 ac_cpp='$CXXCPP $CPPFLAGS'
2389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2393 OLD_CXXFLAGS=$CXXFLAGS;
2394 OLD_LDFLAGS=$LDFLAGS;
2395 OLD_LIBS=$LIBS;
2397 LIBS="$LIBS -lgmp";
2399 # Get include path and lib path
2401 # Check whether --with-gmp was given.
2402 if test "${with_gmp+set}" = set; then :
2403 withval=$with_gmp; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2404 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2405 else
2406 given_inc_path=inc_not_give_gmp;
2407 given_lib_path=lib_not_give_gmp
2411 # Check for library and headers works
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmp in $given_inc_path, $given_lib_path" >&5
2413 $as_echo_n "checking for gmp in $given_inc_path, $given_lib_path... " >&6; }
2414 # try to compile a file that includes a header of the library
2415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2416 /* end confdefs.h. */
2417 #include <gmp.h>
2419 main ()
2423 return 0;
2425 _ACEOF
2426 if ac_fn_cxx_try_link "$LINENO"; then :
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2428 $as_echo "ok" >&6; }
2429 gmp_found="yes"
2431 if test "x$given_inc_path" != "xinc_not_give_gmp"; then :
2432 gmp_inc="-I$given_inc_path"
2435 gmp_lib="-lgmp"
2437 if test "x$given_lib_path" != "xlib_not_give_gmp"; then :
2438 gmp_ld="-L$given_lib_path"
2441 else
2442 if test "xrequired" = "xrequired"; then :
2443 as_fn_error $? "gmp required but not found" "$LINENO" 5
2444 else
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2446 $as_echo "not found" >&6; }
2450 rm -f core conftest.err conftest.$ac_objext \
2451 conftest$ac_exeext conftest.$ac_ext
2453 # reset original CXXFLAGS
2454 CXXFLAGS=$OLD_CXXFLAGS
2455 LDFLAGS=$OLD_LDFLAGS;
2456 LIBS=$OLD_LIBS
2457 ac_ext=c
2458 ac_cpp='$CPP $CPPFLAGS'
2459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2466 ac_ext=cpp
2467 ac_cpp='$CXXCPP $CPPFLAGS'
2468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2472 OLD_CXXFLAGS=$CXXFLAGS;
2473 OLD_LDFLAGS=$LDFLAGS;
2474 OLD_LIBS=$LIBS;
2476 LIBS="$LIBS -lisl";
2478 # Get include path and lib path
2480 # Check whether --with-isl was given.
2481 if test "${with_isl+set}" = set; then :
2482 withval=$with_isl; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2483 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2484 else
2485 given_inc_path=inc_not_give_isl;
2486 given_lib_path=lib_not_give_isl
2490 # Check for library and headers works
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl in $given_inc_path, $given_lib_path" >&5
2492 $as_echo_n "checking for isl in $given_inc_path, $given_lib_path... " >&6; }
2493 # try to compile a file that includes a header of the library
2494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2495 /* end confdefs.h. */
2496 #include <isl/config.h>
2498 main ()
2502 return 0;
2504 _ACEOF
2505 if ac_fn_cxx_try_link "$LINENO"; then :
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2507 $as_echo "ok" >&6; }
2508 isl_found="yes"
2510 if test "x$given_inc_path" != "xinc_not_give_isl"; then :
2511 isl_inc="-I$given_inc_path"
2514 isl_lib="-lisl"
2516 if test "x$given_lib_path" != "xlib_not_give_isl"; then :
2517 isl_ld="-L$given_lib_path"
2520 else
2521 if test "xrequired" = "xrequired"; then :
2522 as_fn_error $? "isl required but not found" "$LINENO" 5
2523 else
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2525 $as_echo "not found" >&6; }
2529 rm -f core conftest.err conftest.$ac_objext \
2530 conftest$ac_exeext conftest.$ac_ext
2532 # reset original CXXFLAGS
2533 CXXFLAGS=$OLD_CXXFLAGS
2534 LDFLAGS=$OLD_LDFLAGS;
2535 LIBS=$OLD_LIBS
2536 ac_ext=c
2537 ac_cpp='$CPP $CPPFLAGS'
2538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2544 saved_CXXFLAGS=$CXXFLAGS
2545 CXXFLAGS="$CXXFLAGS $isl_inc"
2547 ac_ext=cpp
2548 ac_cpp='$CXXCPP $CPPFLAGS'
2549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2553 OLD_CXXFLAGS=$CXXFLAGS;
2554 OLD_LDFLAGS=$LDFLAGS;
2555 OLD_LIBS=$LIBS;
2557 LIBS="$LIBS -lcloog-isl";
2559 # Get include path and lib path
2561 # Check whether --with-cloog was given.
2562 if test "${with_cloog+set}" = set; then :
2563 withval=$with_cloog; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2564 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2565 else
2566 given_inc_path=inc_not_give_cloog;
2567 given_lib_path=lib_not_give_cloog
2571 # Check for library and headers works
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cloog in $given_inc_path, $given_lib_path" >&5
2573 $as_echo_n "checking for cloog in $given_inc_path, $given_lib_path... " >&6; }
2574 # try to compile a file that includes a header of the library
2575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2576 /* end confdefs.h. */
2577 #include <cloog/isl/cloog.h>
2579 main ()
2583 return 0;
2585 _ACEOF
2586 if ac_fn_cxx_try_link "$LINENO"; then :
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2588 $as_echo "ok" >&6; }
2589 cloog_found="yes"
2591 if test "x$given_inc_path" != "xinc_not_give_cloog"; then :
2592 cloog_inc="-I$given_inc_path"
2595 cloog_lib="-lcloog-isl"
2597 if test "x$given_lib_path" != "xlib_not_give_cloog"; then :
2598 cloog_ld="-L$given_lib_path"
2601 else
2602 if test "xrequired" = "xrequired"; then :
2603 as_fn_error $? "cloog required but not found" "$LINENO" 5
2604 else
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2606 $as_echo "not found" >&6; }
2610 rm -f core conftest.err conftest.$ac_objext \
2611 conftest$ac_exeext conftest.$ac_ext
2613 # reset original CXXFLAGS
2614 CXXFLAGS=$OLD_CXXFLAGS
2615 LDFLAGS=$OLD_LDFLAGS;
2616 LIBS=$OLD_LIBS
2617 ac_ext=c
2618 ac_cpp='$CPP $CPPFLAGS'
2619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2624 CXXFLAGS=$saved_CXXFLAGS
2628 ac_ext=cpp
2629 ac_cpp='$CXXCPP $CPPFLAGS'
2630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2634 OLD_CXXFLAGS=$CXXFLAGS;
2635 OLD_LDFLAGS=$LDFLAGS;
2636 OLD_LIBS=$LIBS;
2638 LIBS="$LIBS -lopenscop";
2640 # Get include path and lib path
2642 # Check whether --with-openscop was given.
2643 if test "${with_openscop+set}" = set; then :
2644 withval=$with_openscop; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2645 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2646 else
2647 given_inc_path=inc_not_give_openscop;
2648 given_lib_path=lib_not_give_openscop
2652 # Check for library and headers works
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openscop in $given_inc_path, $given_lib_path" >&5
2654 $as_echo_n "checking for openscop in $given_inc_path, $given_lib_path... " >&6; }
2655 # try to compile a file that includes a header of the library
2656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2657 /* end confdefs.h. */
2658 #include <openscop/scop.h>
2660 main ()
2664 return 0;
2666 _ACEOF
2667 if ac_fn_cxx_try_link "$LINENO"; then :
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2669 $as_echo "ok" >&6; }
2670 openscop_found="yes"
2672 if test "x$given_inc_path" != "xinc_not_give_openscop"; then :
2673 openscop_inc="-I$given_inc_path"
2676 openscop_lib="-lopenscop"
2678 if test "x$given_lib_path" != "xlib_not_give_openscop"; then :
2679 openscop_ld="-L$given_lib_path"
2682 else
2683 if test "x" = "xrequired"; then :
2684 as_fn_error $? "openscop required but not found" "$LINENO" 5
2685 else
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2687 $as_echo "not found" >&6; }
2691 rm -f core conftest.err conftest.$ac_objext \
2692 conftest$ac_exeext conftest.$ac_ext
2694 # reset original CXXFLAGS
2695 CXXFLAGS=$OLD_CXXFLAGS
2696 LDFLAGS=$OLD_LDFLAGS;
2697 LIBS=$OLD_LIBS
2698 ac_ext=c
2699 ac_cpp='$CPP $CPPFLAGS'
2700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2705 if test "x$openscop_found" = "xyes"; then :
2707 $as_echo "#define OPENSCOP_FOUND 1" >>confdefs.h
2712 ac_ext=cpp
2713 ac_cpp='$CXXCPP $CPPFLAGS'
2714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2718 OLD_CXXFLAGS=$CXXFLAGS;
2719 OLD_LDFLAGS=$LDFLAGS;
2720 OLD_LIBS=$LIBS;
2722 LIBS="$LIBS -lscoplib";
2724 # Get include path and lib path
2726 # Check whether --with-scoplib was given.
2727 if test "${with_scoplib+set}" = set; then :
2728 withval=$with_scoplib; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2729 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2730 else
2731 given_inc_path=inc_not_give_scoplib;
2732 given_lib_path=lib_not_give_scoplib
2736 # Check for library and headers works
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scoplib in $given_inc_path, $given_lib_path" >&5
2738 $as_echo_n "checking for scoplib in $given_inc_path, $given_lib_path... " >&6; }
2739 # try to compile a file that includes a header of the library
2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741 /* end confdefs.h. */
2742 #include <scoplib/scop.h>
2744 main ()
2748 return 0;
2750 _ACEOF
2751 if ac_fn_cxx_try_link "$LINENO"; then :
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2753 $as_echo "ok" >&6; }
2754 scoplib_found="yes"
2756 if test "x$given_inc_path" != "xinc_not_give_scoplib"; then :
2757 scoplib_inc="-I$given_inc_path"
2760 scoplib_lib="-lscoplib"
2762 if test "x$given_lib_path" != "xlib_not_give_scoplib"; then :
2763 scoplib_ld="-L$given_lib_path"
2766 else
2767 if test "x" = "xrequired"; then :
2768 as_fn_error $? "scoplib required but not found" "$LINENO" 5
2769 else
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2771 $as_echo "not found" >&6; }
2775 rm -f core conftest.err conftest.$ac_objext \
2776 conftest$ac_exeext conftest.$ac_ext
2778 # reset original CXXFLAGS
2779 CXXFLAGS=$OLD_CXXFLAGS
2780 LDFLAGS=$OLD_LDFLAGS;
2781 LIBS=$OLD_LIBS
2782 ac_ext=c
2783 ac_cpp='$CPP $CPPFLAGS'
2784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2789 if test "x$scoplib_found" = "xyes"; then :
2791 $as_echo "#define SCOPLIB_FOUND 1" >>confdefs.h
2795 if test "x$scoplib_found" = "xyes"; then :
2796 scoplib_rpath="-Wl,-rpath=$given_lib_path"
2797 else
2798 scoplib_rpath=""
2804 ac_config_headers="$ac_config_headers include/polly/Config/config.h"
2806 cat >confcache <<\_ACEOF
2807 # This file is a shell script that caches the results of configure
2808 # tests run on this system so they can be shared between configure
2809 # scripts and configure runs, see configure's option --config-cache.
2810 # It is not useful on other systems. If it contains results you don't
2811 # want to keep, you may remove or edit it.
2813 # config.status only pays attention to the cache file if you give it
2814 # the --recheck option to rerun configure.
2816 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2817 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2818 # following values.
2820 _ACEOF
2822 # The following way of writing the cache mishandles newlines in values,
2823 # but we know of no workaround that is simple, portable, and efficient.
2824 # So, we kill variables containing newlines.
2825 # Ultrix sh set writes to stderr and can't be redirected directly,
2826 # and sets the high bit in the cache file unless we assign to the vars.
2828 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2829 eval ac_val=\$$ac_var
2830 case $ac_val in #(
2831 *${as_nl}*)
2832 case $ac_var in #(
2833 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2834 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2835 esac
2836 case $ac_var in #(
2837 _ | IFS | as_nl) ;; #(
2838 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2839 *) { eval $ac_var=; unset $ac_var;} ;;
2840 esac ;;
2841 esac
2842 done
2844 (set) 2>&1 |
2845 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2846 *${as_nl}ac_space=\ *)
2847 # `set' does not quote correctly, so add quotes: double-quote
2848 # substitution turns \\\\ into \\, and sed turns \\ into \.
2849 sed -n \
2850 "s/'/'\\\\''/g;
2851 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2852 ;; #(
2854 # `set' quotes correctly as required by POSIX, so do not add quotes.
2855 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2857 esac |
2858 sort
2860 sed '
2861 /^ac_cv_env_/b end
2862 t clear
2863 :clear
2864 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2865 t end
2866 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2867 :end' >>confcache
2868 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2869 if test -w "$cache_file"; then
2870 test "x$cache_file" != "x/dev/null" &&
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2872 $as_echo "$as_me: updating cache $cache_file" >&6;}
2873 cat confcache >$cache_file
2874 else
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2876 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2879 rm -f confcache
2881 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2882 # Let make expand exec_prefix.
2883 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2885 DEFS=-DHAVE_CONFIG_H
2887 ac_libobjs=
2888 ac_ltlibobjs=
2890 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2891 # 1. Remove the extension, and $U if already installed.
2892 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2893 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2894 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2895 # will be set to the directory where LIBOBJS objects are built.
2896 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2897 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2898 done
2899 LIBOBJS=$ac_libobjs
2901 LTLIBOBJS=$ac_ltlibobjs
2905 : ${CONFIG_STATUS=./config.status}
2906 ac_write_fail=0
2907 ac_clean_files_save=$ac_clean_files
2908 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2910 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2911 as_write_fail=0
2912 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2913 #! $SHELL
2914 # Generated by $as_me.
2915 # Run this file to recreate the current configuration.
2916 # Compiler output produced by configure, useful for debugging
2917 # configure, is in config.log if it exists.
2919 debug=false
2920 ac_cs_recheck=false
2921 ac_cs_silent=false
2923 SHELL=\${CONFIG_SHELL-$SHELL}
2924 export SHELL
2925 _ASEOF
2926 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2927 ## -------------------- ##
2928 ## M4sh Initialization. ##
2929 ## -------------------- ##
2931 # Be more Bourne compatible
2932 DUALCASE=1; export DUALCASE # for MKS sh
2933 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2934 emulate sh
2935 NULLCMD=:
2936 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2937 # is contrary to our usage. Disable this feature.
2938 alias -g '${1+"$@"}'='"$@"'
2939 setopt NO_GLOB_SUBST
2940 else
2941 case `(set -o) 2>/dev/null` in #(
2942 *posix*) :
2943 set -o posix ;; #(
2944 *) :
2946 esac
2950 as_nl='
2952 export as_nl
2953 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2954 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2955 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2956 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2957 # Prefer a ksh shell builtin over an external printf program on Solaris,
2958 # but without wasting forks for bash or zsh.
2959 if test -z "$BASH_VERSION$ZSH_VERSION" \
2960 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2961 as_echo='print -r --'
2962 as_echo_n='print -rn --'
2963 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2964 as_echo='printf %s\n'
2965 as_echo_n='printf %s'
2966 else
2967 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2968 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2969 as_echo_n='/usr/ucb/echo -n'
2970 else
2971 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2972 as_echo_n_body='eval
2973 arg=$1;
2974 case $arg in #(
2975 *"$as_nl"*)
2976 expr "X$arg" : "X\\(.*\\)$as_nl";
2977 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2978 esac;
2979 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2981 export as_echo_n_body
2982 as_echo_n='sh -c $as_echo_n_body as_echo'
2984 export as_echo_body
2985 as_echo='sh -c $as_echo_body as_echo'
2988 # The user is always right.
2989 if test "${PATH_SEPARATOR+set}" != set; then
2990 PATH_SEPARATOR=:
2991 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2992 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2993 PATH_SEPARATOR=';'
2998 # IFS
2999 # We need space, tab and new line, in precisely that order. Quoting is
3000 # there to prevent editors from complaining about space-tab.
3001 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3002 # splitting by setting IFS to empty value.)
3003 IFS=" "" $as_nl"
3005 # Find who we are. Look in the path if we contain no directory separator.
3006 case $0 in #((
3007 *[\\/]* ) as_myself=$0 ;;
3008 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009 for as_dir in $PATH
3011 IFS=$as_save_IFS
3012 test -z "$as_dir" && as_dir=.
3013 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3014 done
3015 IFS=$as_save_IFS
3018 esac
3019 # We did not find ourselves, most probably we were run as `sh COMMAND'
3020 # in which case we are not to be found in the path.
3021 if test "x$as_myself" = x; then
3022 as_myself=$0
3024 if test ! -f "$as_myself"; then
3025 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3026 exit 1
3029 # Unset variables that we do not need and which cause bugs (e.g. in
3030 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3031 # suppresses any "Segmentation fault" message there. '((' could
3032 # trigger a bug in pdksh 5.2.14.
3033 for as_var in BASH_ENV ENV MAIL MAILPATH
3034 do eval test x\${$as_var+set} = xset \
3035 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3036 done
3037 PS1='$ '
3038 PS2='> '
3039 PS4='+ '
3041 # NLS nuisances.
3042 LC_ALL=C
3043 export LC_ALL
3044 LANGUAGE=C
3045 export LANGUAGE
3047 # CDPATH.
3048 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3051 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3052 # ----------------------------------------
3053 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3054 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3055 # script with STATUS, using 1 if that was 0.
3056 as_fn_error ()
3058 as_status=$1; test $as_status -eq 0 && as_status=1
3059 if test "$4"; then
3060 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3061 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3063 $as_echo "$as_me: error: $2" >&2
3064 as_fn_exit $as_status
3065 } # as_fn_error
3068 # as_fn_set_status STATUS
3069 # -----------------------
3070 # Set $? to STATUS, without forking.
3071 as_fn_set_status ()
3073 return $1
3074 } # as_fn_set_status
3076 # as_fn_exit STATUS
3077 # -----------------
3078 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3079 as_fn_exit ()
3081 set +e
3082 as_fn_set_status $1
3083 exit $1
3084 } # as_fn_exit
3086 # as_fn_unset VAR
3087 # ---------------
3088 # Portably unset VAR.
3089 as_fn_unset ()
3091 { eval $1=; unset $1;}
3093 as_unset=as_fn_unset
3094 # as_fn_append VAR VALUE
3095 # ----------------------
3096 # Append the text in VALUE to the end of the definition contained in VAR. Take
3097 # advantage of any shell optimizations that allow amortized linear growth over
3098 # repeated appends, instead of the typical quadratic growth present in naive
3099 # implementations.
3100 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3101 eval 'as_fn_append ()
3103 eval $1+=\$2
3105 else
3106 as_fn_append ()
3108 eval $1=\$$1\$2
3110 fi # as_fn_append
3112 # as_fn_arith ARG...
3113 # ------------------
3114 # Perform arithmetic evaluation on the ARGs, and store the result in the
3115 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3116 # must be portable across $(()) and expr.
3117 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3118 eval 'as_fn_arith ()
3120 as_val=$(( $* ))
3122 else
3123 as_fn_arith ()
3125 as_val=`expr "$@" || test $? -eq 1`
3127 fi # as_fn_arith
3130 if expr a : '\(a\)' >/dev/null 2>&1 &&
3131 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3132 as_expr=expr
3133 else
3134 as_expr=false
3137 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3138 as_basename=basename
3139 else
3140 as_basename=false
3143 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3144 as_dirname=dirname
3145 else
3146 as_dirname=false
3149 as_me=`$as_basename -- "$0" ||
3150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3151 X"$0" : 'X\(//\)$' \| \
3152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3153 $as_echo X/"$0" |
3154 sed '/^.*\/\([^/][^/]*\)\/*$/{
3155 s//\1/
3158 /^X\/\(\/\/\)$/{
3159 s//\1/
3162 /^X\/\(\/\).*/{
3163 s//\1/
3166 s/.*/./; q'`
3168 # Avoid depending upon Character Ranges.
3169 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3170 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3171 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3172 as_cr_digits='0123456789'
3173 as_cr_alnum=$as_cr_Letters$as_cr_digits
3175 ECHO_C= ECHO_N= ECHO_T=
3176 case `echo -n x` in #(((((
3177 -n*)
3178 case `echo 'xy\c'` in
3179 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3180 xy) ECHO_C='\c';;
3181 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3182 ECHO_T=' ';;
3183 esac;;
3185 ECHO_N='-n';;
3186 esac
3188 rm -f conf$$ conf$$.exe conf$$.file
3189 if test -d conf$$.dir; then
3190 rm -f conf$$.dir/conf$$.file
3191 else
3192 rm -f conf$$.dir
3193 mkdir conf$$.dir 2>/dev/null
3195 if (echo >conf$$.file) 2>/dev/null; then
3196 if ln -s conf$$.file conf$$ 2>/dev/null; then
3197 as_ln_s='ln -s'
3198 # ... but there are two gotchas:
3199 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3200 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3201 # In both cases, we have to default to `cp -p'.
3202 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3203 as_ln_s='cp -p'
3204 elif ln conf$$.file conf$$ 2>/dev/null; then
3205 as_ln_s=ln
3206 else
3207 as_ln_s='cp -p'
3209 else
3210 as_ln_s='cp -p'
3212 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3213 rmdir conf$$.dir 2>/dev/null
3216 # as_fn_mkdir_p
3217 # -------------
3218 # Create "$as_dir" as a directory, including parents if necessary.
3219 as_fn_mkdir_p ()
3222 case $as_dir in #(
3223 -*) as_dir=./$as_dir;;
3224 esac
3225 test -d "$as_dir" || eval $as_mkdir_p || {
3226 as_dirs=
3227 while :; do
3228 case $as_dir in #(
3229 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3230 *) as_qdir=$as_dir;;
3231 esac
3232 as_dirs="'$as_qdir' $as_dirs"
3233 as_dir=`$as_dirname -- "$as_dir" ||
3234 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3235 X"$as_dir" : 'X\(//\)[^/]' \| \
3236 X"$as_dir" : 'X\(//\)$' \| \
3237 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3238 $as_echo X"$as_dir" |
3239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3240 s//\1/
3243 /^X\(\/\/\)[^/].*/{
3244 s//\1/
3247 /^X\(\/\/\)$/{
3248 s//\1/
3251 /^X\(\/\).*/{
3252 s//\1/
3255 s/.*/./; q'`
3256 test -d "$as_dir" && break
3257 done
3258 test -z "$as_dirs" || eval "mkdir $as_dirs"
3259 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3262 } # as_fn_mkdir_p
3263 if mkdir -p . 2>/dev/null; then
3264 as_mkdir_p='mkdir -p "$as_dir"'
3265 else
3266 test -d ./-p && rmdir ./-p
3267 as_mkdir_p=false
3270 if test -x / >/dev/null 2>&1; then
3271 as_test_x='test -x'
3272 else
3273 if ls -dL / >/dev/null 2>&1; then
3274 as_ls_L_option=L
3275 else
3276 as_ls_L_option=
3278 as_test_x='
3279 eval sh -c '\''
3280 if test -d "$1"; then
3281 test -d "$1/.";
3282 else
3283 case $1 in #(
3284 -*)set "./$1";;
3285 esac;
3286 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3287 ???[sx]*):;;*)false;;esac;fi
3288 '\'' sh
3291 as_executable_p=$as_test_x
3293 # Sed expression to map a string onto a valid CPP name.
3294 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3296 # Sed expression to map a string onto a valid variable name.
3297 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3300 exec 6>&1
3301 ## ----------------------------------- ##
3302 ## Main body of $CONFIG_STATUS script. ##
3303 ## ----------------------------------- ##
3304 _ASEOF
3305 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3308 # Save the log message, to keep $0 and so on meaningful, and to
3309 # report actual input values of CONFIG_FILES etc. instead of their
3310 # values after options handling.
3311 ac_log="
3312 This file was extended by Polly $as_me 0.01, which was
3313 generated by GNU Autoconf 2.67. Invocation command line was
3315 CONFIG_FILES = $CONFIG_FILES
3316 CONFIG_HEADERS = $CONFIG_HEADERS
3317 CONFIG_LINKS = $CONFIG_LINKS
3318 CONFIG_COMMANDS = $CONFIG_COMMANDS
3319 $ $0 $@
3321 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3324 _ACEOF
3326 case $ac_config_files in *"
3327 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3328 esac
3330 case $ac_config_headers in *"
3331 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3332 esac
3335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3336 # Files that config.status was made for.
3337 config_files="$ac_config_files"
3338 config_headers="$ac_config_headers"
3339 config_commands="$ac_config_commands"
3341 _ACEOF
3343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3344 ac_cs_usage="\
3345 \`$as_me' instantiates files and other configuration actions
3346 from templates according to the current configuration. Unless the files
3347 and actions are specified as TAGs, all are instantiated by default.
3349 Usage: $0 [OPTION]... [TAG]...
3351 -h, --help print this help, then exit
3352 -V, --version print version number and configuration settings, then exit
3353 --config print configuration, then exit
3354 -q, --quiet, --silent
3355 do not print progress messages
3356 -d, --debug don't remove temporary files
3357 --recheck update $as_me by reconfiguring in the same conditions
3358 --file=FILE[:TEMPLATE]
3359 instantiate the configuration file FILE
3360 --header=FILE[:TEMPLATE]
3361 instantiate the configuration header FILE
3363 Configuration files:
3364 $config_files
3366 Configuration headers:
3367 $config_headers
3369 Configuration commands:
3370 $config_commands
3372 Report bugs to <polly-dev@googlegroups.com>."
3374 _ACEOF
3375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3376 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3377 ac_cs_version="\\
3378 Polly config.status 0.01
3379 configured by $0, generated by GNU Autoconf 2.67,
3380 with options \\"\$ac_cs_config\\"
3382 Copyright (C) 2010 Free Software Foundation, Inc.
3383 This config.status script is free software; the Free Software Foundation
3384 gives unlimited permission to copy, distribute and modify it."
3386 ac_pwd='$ac_pwd'
3387 srcdir='$srcdir'
3388 test -n "\$AWK" || AWK=awk
3389 _ACEOF
3391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3392 # The default lists apply if the user does not specify any file.
3393 ac_need_defaults=:
3394 while test $# != 0
3396 case $1 in
3397 --*=?*)
3398 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3399 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3400 ac_shift=:
3402 --*=)
3403 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3404 ac_optarg=
3405 ac_shift=:
3408 ac_option=$1
3409 ac_optarg=$2
3410 ac_shift=shift
3412 esac
3414 case $ac_option in
3415 # Handling of the options.
3416 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3417 ac_cs_recheck=: ;;
3418 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3419 $as_echo "$ac_cs_version"; exit ;;
3420 --config | --confi | --conf | --con | --co | --c )
3421 $as_echo "$ac_cs_config"; exit ;;
3422 --debug | --debu | --deb | --de | --d | -d )
3423 debug=: ;;
3424 --file | --fil | --fi | --f )
3425 $ac_shift
3426 case $ac_optarg in
3427 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3428 '') as_fn_error $? "missing file argument" ;;
3429 esac
3430 as_fn_append CONFIG_FILES " '$ac_optarg'"
3431 ac_need_defaults=false;;
3432 --header | --heade | --head | --hea )
3433 $ac_shift
3434 case $ac_optarg in
3435 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3436 esac
3437 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3438 ac_need_defaults=false;;
3439 --he | --h)
3440 # Conflict between --help and --header
3441 as_fn_error $? "ambiguous option: \`$1'
3442 Try \`$0 --help' for more information.";;
3443 --help | --hel | -h )
3444 $as_echo "$ac_cs_usage"; exit ;;
3445 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3446 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3447 ac_cs_silent=: ;;
3449 # This is an error.
3450 -*) as_fn_error $? "unrecognized option: \`$1'
3451 Try \`$0 --help' for more information." ;;
3453 *) as_fn_append ac_config_targets " $1"
3454 ac_need_defaults=false ;;
3456 esac
3457 shift
3458 done
3460 ac_configure_extra_args=
3462 if $ac_cs_silent; then
3463 exec 6>/dev/null
3464 ac_configure_extra_args="$ac_configure_extra_args --silent"
3467 _ACEOF
3468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3469 if \$ac_cs_recheck; then
3470 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3471 shift
3472 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3473 CONFIG_SHELL='$SHELL'
3474 export CONFIG_SHELL
3475 exec "\$@"
3478 _ACEOF
3479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3480 exec 5>>config.log
3482 echo
3483 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3484 ## Running $as_me. ##
3485 _ASBOX
3486 $as_echo "$ac_log"
3487 } >&5
3489 _ACEOF
3490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3492 # INIT-COMMANDS
3494 llvm_src="${LLVM_SRC}"
3496 _ACEOF
3498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3500 # Handling of arguments.
3501 for ac_config_target in $ac_config_targets
3503 case $ac_config_target in
3504 "setup") CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
3505 "Makefile.config") CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
3506 "Makefile.common") CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
3507 "include/polly/Config/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/polly/Config/config.h" ;;
3509 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
3510 esac
3511 done
3514 # If the user did not use the arguments to specify the items to instantiate,
3515 # then the envvar interface is used. Set only those that are not.
3516 # We use the long form for the default assignment because of an extremely
3517 # bizarre bug on SunOS 4.1.3.
3518 if $ac_need_defaults; then
3519 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3520 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3521 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3524 # Have a temporary directory for convenience. Make it in the build tree
3525 # simply because there is no reason against having it here, and in addition,
3526 # creating and moving files from /tmp can sometimes cause problems.
3527 # Hook for its removal unless debugging.
3528 # Note that there is a small window in which the directory will not be cleaned:
3529 # after its creation but before its name has been assigned to `$tmp'.
3530 $debug ||
3532 tmp=
3533 trap 'exit_status=$?
3534 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3536 trap 'as_fn_exit 1' 1 2 13 15
3538 # Create a (secure) tmp directory for tmp files.
3541 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3542 test -n "$tmp" && test -d "$tmp"
3543 } ||
3545 tmp=./conf$$-$RANDOM
3546 (umask 077 && mkdir "$tmp")
3547 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3549 # Set up the scripts for CONFIG_FILES section.
3550 # No need to generate them if there are no CONFIG_FILES.
3551 # This happens for instance with `./config.status config.h'.
3552 if test -n "$CONFIG_FILES"; then
3555 ac_cr=`echo X | tr X '\015'`
3556 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3557 # But we know of no other shell where ac_cr would be empty at this
3558 # point, so we can use a bashism as a fallback.
3559 if test "x$ac_cr" = x; then
3560 eval ac_cr=\$\'\\r\'
3562 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3563 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3564 ac_cs_awk_cr='\\r'
3565 else
3566 ac_cs_awk_cr=$ac_cr
3569 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3570 _ACEOF
3574 echo "cat >conf$$subs.awk <<_ACEOF" &&
3575 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3576 echo "_ACEOF"
3577 } >conf$$subs.sh ||
3578 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3579 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3580 ac_delim='%!_!# '
3581 for ac_last_try in false false false false false :; do
3582 . ./conf$$subs.sh ||
3583 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3585 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3586 if test $ac_delim_n = $ac_delim_num; then
3587 break
3588 elif $ac_last_try; then
3589 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3590 else
3591 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3593 done
3594 rm -f conf$$subs.sh
3596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3597 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3598 _ACEOF
3599 sed -n '
3601 s/^/S["/; s/!.*/"]=/
3604 s/^[^!]*!//
3605 :repl
3606 t repl
3607 s/'"$ac_delim"'$//
3608 t delim
3611 s/\(.\{148\}\)..*/\1/
3612 t more1
3613 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3616 b repl
3617 :more1
3618 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3621 s/.\{148\}//
3622 t nl
3623 :delim
3625 s/\(.\{148\}\)..*/\1/
3626 t more2
3627 s/["\\]/\\&/g; s/^/"/; s/$/"/
3630 :more2
3631 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3634 s/.\{148\}//
3635 t delim
3636 ' <conf$$subs.awk | sed '
3637 /^[^""]/{
3639 s/\n//
3641 ' >>$CONFIG_STATUS || ac_write_fail=1
3642 rm -f conf$$subs.awk
3643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3644 _ACAWK
3645 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3646 for (key in S) S_is_set[key] = 1
3647 FS = "\a"
3651 line = $ 0
3652 nfields = split(line, field, "@")
3653 substed = 0
3654 len = length(field[1])
3655 for (i = 2; i < nfields; i++) {
3656 key = field[i]
3657 keylen = length(key)
3658 if (S_is_set[key]) {
3659 value = S[key]
3660 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3661 len += length(value) + length(field[++i])
3662 substed = 1
3663 } else
3664 len += 1 + keylen
3667 print line
3670 _ACAWK
3671 _ACEOF
3672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3673 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3674 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3675 else
3677 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3678 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3679 _ACEOF
3681 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3682 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3683 # trailing colons and then remove the whole line if VPATH becomes empty
3684 # (actually we leave an empty line to preserve line numbers).
3685 if test "x$srcdir" = x.; then
3686 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3688 s///
3689 s/^/:/
3690 s/[ ]*$/:/
3691 s/:\$(srcdir):/:/g
3692 s/:\${srcdir}:/:/g
3693 s/:@srcdir@:/:/g
3694 s/^:*//
3695 s/:*$//
3697 s/\(=[ ]*\).*/\1/
3699 s/\n//
3700 s/^[^=]*=[ ]*$//
3704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3705 fi # test -n "$CONFIG_FILES"
3707 # Set up the scripts for CONFIG_HEADERS section.
3708 # No need to generate them if there are no CONFIG_HEADERS.
3709 # This happens for instance with `./config.status Makefile'.
3710 if test -n "$CONFIG_HEADERS"; then
3711 cat >"$tmp/defines.awk" <<\_ACAWK ||
3712 BEGIN {
3713 _ACEOF
3715 # Transform confdefs.h into an awk script `defines.awk', embedded as
3716 # here-document in config.status, that substitutes the proper values into
3717 # config.h.in to produce config.h.
3719 # Create a delimiter string that does not exist in confdefs.h, to ease
3720 # handling of long lines.
3721 ac_delim='%!_!# '
3722 for ac_last_try in false false :; do
3723 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
3724 if test -z "$ac_t"; then
3725 break
3726 elif $ac_last_try; then
3727 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
3728 else
3729 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3731 done
3733 # For the awk script, D is an array of macro values keyed by name,
3734 # likewise P contains macro parameters if any. Preserve backslash
3735 # newline sequences.
3737 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3738 sed -n '
3739 s/.\{148\}/&'"$ac_delim"'/g
3740 t rset
3741 :rset
3742 s/^[ ]*#[ ]*define[ ][ ]*/ /
3743 t def
3745 :def
3746 s/\\$//
3747 t bsnl
3748 s/["\\]/\\&/g
3749 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3750 D["\1"]=" \3"/p
3751 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
3753 :bsnl
3754 s/["\\]/\\&/g
3755 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3756 D["\1"]=" \3\\\\\\n"\\/p
3757 t cont
3758 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
3759 t cont
3761 :cont
3763 s/.\{148\}/&'"$ac_delim"'/g
3764 t clear
3765 :clear
3766 s/\\$//
3767 t bsnlc
3768 s/["\\]/\\&/g; s/^/"/; s/$/"/p
3770 :bsnlc
3771 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
3772 b cont
3773 ' <confdefs.h | sed '
3774 s/'"$ac_delim"'/"\\\
3775 "/g' >>$CONFIG_STATUS || ac_write_fail=1
3777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3778 for (key in D) D_is_set[key] = 1
3779 FS = "\a"
3781 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3782 line = \$ 0
3783 split(line, arg, " ")
3784 if (arg[1] == "#") {
3785 defundef = arg[2]
3786 mac1 = arg[3]
3787 } else {
3788 defundef = substr(arg[1], 2)
3789 mac1 = arg[2]
3791 split(mac1, mac2, "(") #)
3792 macro = mac2[1]
3793 prefix = substr(line, 1, index(line, defundef) - 1)
3794 if (D_is_set[macro]) {
3795 # Preserve the white space surrounding the "#".
3796 print prefix "define", macro P[macro] D[macro]
3797 next
3798 } else {
3799 # Replace #undef with comments. This is necessary, for example,
3800 # in the case of _POSIX_SOURCE, which is predefined and required
3801 # on some systems where configure will not decide to define it.
3802 if (defundef == "undef") {
3803 print "/*", prefix defundef, macro, "*/"
3804 next
3808 { print }
3809 _ACAWK
3810 _ACEOF
3811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3812 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
3813 fi # test -n "$CONFIG_HEADERS"
3816 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
3817 shift
3818 for ac_tag
3820 case $ac_tag in
3821 :[FHLC]) ac_mode=$ac_tag; continue;;
3822 esac
3823 case $ac_mode$ac_tag in
3824 :[FHL]*:*);;
3825 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
3826 :[FH]-) ac_tag=-:-;;
3827 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3828 esac
3829 ac_save_IFS=$IFS
3830 IFS=:
3831 set x $ac_tag
3832 IFS=$ac_save_IFS
3833 shift
3834 ac_file=$1
3835 shift
3837 case $ac_mode in
3838 :L) ac_source=$1;;
3839 :[FH])
3840 ac_file_inputs=
3841 for ac_f
3843 case $ac_f in
3844 -) ac_f="$tmp/stdin";;
3845 *) # Look for the file first in the build tree, then in the source tree
3846 # (if the path is not absolute). The absolute path cannot be DOS-style,
3847 # because $ac_f cannot contain `:'.
3848 test -f "$ac_f" ||
3849 case $ac_f in
3850 [\\/$]*) false;;
3851 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3852 esac ||
3853 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
3854 esac
3855 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3856 as_fn_append ac_file_inputs " '$ac_f'"
3857 done
3859 # Let's still pretend it is `configure' which instantiates (i.e., don't
3860 # use $as_me), people would be surprised to read:
3861 # /* config.h. Generated by config.status. */
3862 configure_input='Generated from '`
3863 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3864 `' by configure.'
3865 if test x"$ac_file" != x-; then
3866 configure_input="$ac_file. $configure_input"
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3868 $as_echo "$as_me: creating $ac_file" >&6;}
3870 # Neutralize special characters interpreted by sed in replacement strings.
3871 case $configure_input in #(
3872 *\&* | *\|* | *\\* )
3873 ac_sed_conf_input=`$as_echo "$configure_input" |
3874 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3875 *) ac_sed_conf_input=$configure_input;;
3876 esac
3878 case $ac_tag in
3879 *:-:* | *:-) cat >"$tmp/stdin" \
3880 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3881 esac
3883 esac
3885 ac_dir=`$as_dirname -- "$ac_file" ||
3886 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3887 X"$ac_file" : 'X\(//\)[^/]' \| \
3888 X"$ac_file" : 'X\(//\)$' \| \
3889 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3890 $as_echo X"$ac_file" |
3891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3892 s//\1/
3895 /^X\(\/\/\)[^/].*/{
3896 s//\1/
3899 /^X\(\/\/\)$/{
3900 s//\1/
3903 /^X\(\/\).*/{
3904 s//\1/
3907 s/.*/./; q'`
3908 as_dir="$ac_dir"; as_fn_mkdir_p
3909 ac_builddir=.
3911 case "$ac_dir" in
3912 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3914 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3915 # A ".." for each directory in $ac_dir_suffix.
3916 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3917 case $ac_top_builddir_sub in
3918 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3919 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3920 esac ;;
3921 esac
3922 ac_abs_top_builddir=$ac_pwd
3923 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3924 # for backward compatibility:
3925 ac_top_builddir=$ac_top_build_prefix
3927 case $srcdir in
3928 .) # We are building in place.
3929 ac_srcdir=.
3930 ac_top_srcdir=$ac_top_builddir_sub
3931 ac_abs_top_srcdir=$ac_pwd ;;
3932 [\\/]* | ?:[\\/]* ) # Absolute name.
3933 ac_srcdir=$srcdir$ac_dir_suffix;
3934 ac_top_srcdir=$srcdir
3935 ac_abs_top_srcdir=$srcdir ;;
3936 *) # Relative name.
3937 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3938 ac_top_srcdir=$ac_top_build_prefix$srcdir
3939 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3940 esac
3941 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3944 case $ac_mode in
3947 # CONFIG_FILE
3950 _ACEOF
3952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3953 # If the template does not know about datarootdir, expand it.
3954 # FIXME: This hack should be removed a few years after 2.60.
3955 ac_datarootdir_hack=; ac_datarootdir_seen=
3956 ac_sed_dataroot='
3957 /datarootdir/ {
3961 /@datadir@/p
3962 /@docdir@/p
3963 /@infodir@/p
3964 /@localedir@/p
3965 /@mandir@/p'
3966 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3967 *datarootdir*) ac_datarootdir_seen=yes;;
3968 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3970 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3971 _ACEOF
3972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3973 ac_datarootdir_hack='
3974 s&@datadir@&$datadir&g
3975 s&@docdir@&$docdir&g
3976 s&@infodir@&$infodir&g
3977 s&@localedir@&$localedir&g
3978 s&@mandir@&$mandir&g
3979 s&\\\${datarootdir}&$datarootdir&g' ;;
3980 esac
3981 _ACEOF
3983 # Neutralize VPATH when `$srcdir' = `.'.
3984 # Shell code in configure.ac might set extrasub.
3985 # FIXME: do we really want to maintain this feature?
3986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3987 ac_sed_extra="$ac_vpsub
3988 $extrasub
3989 _ACEOF
3990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3992 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3993 s|@configure_input@|$ac_sed_conf_input|;t t
3994 s&@top_builddir@&$ac_top_builddir_sub&;t t
3995 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3996 s&@srcdir@&$ac_srcdir&;t t
3997 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3998 s&@top_srcdir@&$ac_top_srcdir&;t t
3999 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4000 s&@builddir@&$ac_builddir&;t t
4001 s&@abs_builddir@&$ac_abs_builddir&;t t
4002 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4003 $ac_datarootdir_hack
4005 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4006 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4008 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4009 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4010 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4012 which seems to be undefined. Please make sure it is defined" >&5
4013 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4014 which seems to be undefined. Please make sure it is defined" >&2;}
4016 rm -f "$tmp/stdin"
4017 case $ac_file in
4018 -) cat "$tmp/out" && rm -f "$tmp/out";;
4019 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4020 esac \
4021 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4025 # CONFIG_HEADER
4027 if test x"$ac_file" != x-; then
4029 $as_echo "/* $configure_input */" \
4030 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4031 } >"$tmp/config.h" \
4032 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4033 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4035 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4036 else
4037 rm -f "$ac_file"
4038 mv "$tmp/config.h" "$ac_file" \
4039 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4041 else
4042 $as_echo "/* $configure_input */" \
4043 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4044 || as_fn_error $? "could not create -" "$LINENO" 5
4048 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4049 $as_echo "$as_me: executing $ac_file commands" >&6;}
4051 esac
4053 done # for ac_tag
4056 as_fn_exit 0
4057 _ACEOF
4058 ac_clean_files=$ac_clean_files_save
4060 test $ac_write_fail = 0 ||
4061 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4064 # configure is writing to config.log, and then calls config.status.
4065 # config.status does its own redirection, appending to config.log.
4066 # Unfortunately, on DOS this fails, as config.log is still kept open
4067 # by configure, so config.status won't be able to write to it; its
4068 # output is simply discarded. So we exec the FD to /dev/null,
4069 # effectively closing config.log, so it can be properly (re)opened and
4070 # appended to by config.status. When coming back to configure, we
4071 # need to make the FD available again.
4072 if test "$no_create" != yes; then
4073 ac_cs_success=:
4074 ac_config_status_args=
4075 test "$silent" = yes &&
4076 ac_config_status_args="$ac_config_status_args --quiet"
4077 exec 5>/dev/null
4078 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4079 exec 5>>config.log
4080 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4081 # would make configure fail if this is the last instruction.
4082 $ac_cs_success || as_fn_exit 1
4084 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4086 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}