2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Polly 0.01.
5 # Report bugs to <polly-dev@googlegroups.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev
/null
; then :
206 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
211 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir
=.
218 for as_base
in sh bash ksh sh5
; do
219 # Try only shells that exist, to save several forks.
220 as_shell
=$as_dir/$as_base
221 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
223 CONFIG_SHELL
=$as_shell as_have_required
=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
249 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x
$as_have_required = xno
; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x
${ZSH_VERSION+set} = xset
; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and
269 $0: polly-dev@googlegroups.com about your system, including
270 $0: any error possibly output before this message. Then
271 $0: install a modern shell, or manually run the script
272 $0: under such a shell if you do have one."
278 SHELL
=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE
= GREP_OPTIONS
=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir
=.
/$as_dir;;
323 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
327 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs
="'$as_qdir' $as_dirs"
331 as_dir
=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
357 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p
()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
400 as_val
=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status
=$1; test $as_status -eq 0 && as_status
=1
414 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit
$as_status
421 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
428 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
440 as_me
=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits
='0123456789'
464 as_cr_alnum
=$as_cr_Letters$as_cr_digits
467 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
468 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x
"$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec
=no
; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C
= ECHO_N
= ECHO_T
=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
515 rm -f conf$$ conf$$.exe conf$$.
file
516 if test -d conf$$.dir
; then
517 rm -f conf$$.dir
/conf$$.
file
520 mkdir conf$$.dir
2>/dev
/null
522 if (echo >conf$$.
file) 2>/dev
/null
; then
523 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
531 elif ln conf$$.
file conf$$
2>/dev
/null
; then
539 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
540 rmdir conf$$.dir
2>/dev
/null
542 if mkdir
-p .
2>/dev
/null
; then
543 as_mkdir_p
='mkdir -p "$as_dir"'
545 test -d .
/-p && rmdir .
/-p
550 as_executable_p
=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix
=/usr
/local
572 ac_config_libobj_dir
=.
579 # Identity of this package.
581 PACKAGE_TARNAME
='polly'
582 PACKAGE_VERSION
='0.01'
583 PACKAGE_STRING
='Polly 0.01'
584 PACKAGE_BUGREPORT
='polly-dev@googlegroups.com'
587 ac_unique_file
=""lib
/Analysis
/ScopInfo.cpp
""
588 ac_subst_vars
='LTLIBOBJS
634 program_transform_name
647 enable_option_checking
651 enable_polly_gpu_codegen
654 ac_precious_vars
='build_alias
665 # Initialize some variables set by options.
667 ac_init_version
=false
668 ac_unrecognized_opts
=
670 # The variables have the same names as the options, with
671 # dashes changed to underlines.
679 program_transform_name
=s
,x
,x
,
687 # Installation directory options.
688 # These are left unexpanded so users can "make install exec_prefix=/foo"
689 # and all the variables that are supposed to be based on exec_prefix
690 # by default will actually change.
691 # Use braces instead of parens because sh, perl, etc. also accept them.
692 # (The list follows the same order as the GNU Coding Standards.)
693 bindir
='${exec_prefix}/bin'
694 sbindir
='${exec_prefix}/sbin'
695 libexecdir
='${exec_prefix}/libexec'
696 datarootdir
='${prefix}/share'
697 datadir
='${datarootdir}'
698 sysconfdir
='${prefix}/etc'
699 sharedstatedir
='${prefix}/com'
700 localstatedir
='${prefix}/var'
701 includedir
='${prefix}/include'
702 oldincludedir
='/usr/include'
703 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
704 infodir
='${datarootdir}/info'
709 libdir
='${exec_prefix}/lib'
710 localedir
='${datarootdir}/locale'
711 mandir
='${datarootdir}/man'
717 # If the previous option needs an argument, assign it.
718 if test -n "$ac_prev"; then
719 eval $ac_prev=\
$ac_option
725 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
730 # Accept the important Cygnus configure options, so we can diagnose typos.
732 case $ac_dashdash$ac_option in
736 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
738 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
741 -build |
--build |
--buil |
--bui |
--bu)
742 ac_prev
=build_alias
;;
743 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
744 build_alias
=$ac_optarg ;;
746 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
747 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
748 ac_prev
=cache_file
;;
749 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
750 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
751 cache_file
=$ac_optarg ;;
754 cache_file
=config.cache
;;
756 -datadir |
--datadir |
--datadi |
--datad)
758 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
759 datadir
=$ac_optarg ;;
761 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
762 |
--dataroo |
--dataro |
--datar)
763 ac_prev
=datarootdir
;;
764 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
765 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
766 datarootdir
=$ac_optarg ;;
768 -disable-* |
--disable-*)
769 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
770 # Reject names that are not valid shell variable names.
771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
772 as_fn_error $?
"invalid feature name: $ac_useropt"
773 ac_useropt_orig
=$ac_useropt
774 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
775 case $ac_user_opts in
779 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
780 ac_unrecognized_sep
=', ';;
782 eval enable_
$ac_useropt=no
;;
784 -docdir |
--docdir |
--docdi |
--doc |
--do)
786 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
789 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
791 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
794 -enable-* |
--enable-*)
795 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
796 # Reject names that are not valid shell variable names.
797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
798 as_fn_error $?
"invalid feature name: $ac_useropt"
799 ac_useropt_orig
=$ac_useropt
800 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
801 case $ac_user_opts in
805 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
806 ac_unrecognized_sep
=', ';;
808 eval enable_
$ac_useropt=\
$ac_optarg ;;
810 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
811 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
812 |
--exec |
--exe |
--ex)
813 ac_prev
=exec_prefix
;;
814 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
815 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
816 |
--exec=* |
--exe=* |
--ex=*)
817 exec_prefix
=$ac_optarg ;;
819 -gas |
--gas |
--ga |
--g)
820 # Obsolete; use --with-gas.
823 -help |
--help |
--hel |
--he |
-h)
825 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
826 ac_init_help
=recursive
;;
827 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
828 ac_init_help
=short
;;
830 -host |
--host |
--hos |
--ho)
831 ac_prev
=host_alias
;;
832 -host=* |
--host=* |
--hos=* |
--ho=*)
833 host_alias
=$ac_optarg ;;
835 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
837 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
839 htmldir
=$ac_optarg ;;
841 -includedir |
--includedir |
--includedi |
--included |
--include \
842 |
--includ |
--inclu |
--incl |
--inc)
843 ac_prev
=includedir
;;
844 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
845 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
846 includedir
=$ac_optarg ;;
848 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
850 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
851 infodir
=$ac_optarg ;;
853 -libdir |
--libdir |
--libdi |
--libd)
855 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
858 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
859 |
--libexe |
--libex |
--libe)
860 ac_prev
=libexecdir
;;
861 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
862 |
--libexe=* |
--libex=* |
--libe=*)
863 libexecdir
=$ac_optarg ;;
865 -localedir |
--localedir |
--localedi |
--localed |
--locale)
867 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
868 localedir
=$ac_optarg ;;
870 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
871 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
872 ac_prev
=localstatedir
;;
873 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
874 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
875 localstatedir
=$ac_optarg ;;
877 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
879 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
883 # Obsolete; use --without-fp.
886 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
887 |
--no-cr |
--no-c |
-n)
890 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
891 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
894 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
895 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
896 |
--oldin |
--oldi |
--old |
--ol |
--o)
897 ac_prev
=oldincludedir
;;
898 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
899 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
900 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
901 oldincludedir
=$ac_optarg ;;
903 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
905 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
908 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
909 |
--program-pre |
--program-pr |
--program-p)
910 ac_prev
=program_prefix
;;
911 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
912 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
913 program_prefix
=$ac_optarg ;;
915 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
916 |
--program-suf |
--program-su |
--program-s)
917 ac_prev
=program_suffix
;;
918 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
919 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
920 program_suffix
=$ac_optarg ;;
922 -program-transform-name |
--program-transform-name \
923 |
--program-transform-nam |
--program-transform-na \
924 |
--program-transform-n |
--program-transform- \
925 |
--program-transform |
--program-transfor \
926 |
--program-transfo |
--program-transf \
927 |
--program-trans |
--program-tran \
928 |
--progr-tra |
--program-tr |
--program-t)
929 ac_prev
=program_transform_name
;;
930 -program-transform-name=* |
--program-transform-name=* \
931 |
--program-transform-nam=* |
--program-transform-na=* \
932 |
--program-transform-n=* |
--program-transform-=* \
933 |
--program-transform=* |
--program-transfor=* \
934 |
--program-transfo=* |
--program-transf=* \
935 |
--program-trans=* |
--program-tran=* \
936 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
937 program_transform_name
=$ac_optarg ;;
939 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
941 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
944 -psdir |
--psdir |
--psdi |
--psd |
--ps)
946 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
949 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
950 |
-silent |
--silent |
--silen |
--sile |
--sil)
953 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
955 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
957 sbindir
=$ac_optarg ;;
959 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
960 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
961 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
963 ac_prev
=sharedstatedir
;;
964 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
965 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
966 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
968 sharedstatedir
=$ac_optarg ;;
970 -site |
--site |
--sit)
972 -site=* |
--site=* |
--sit=*)
975 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
977 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
980 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
981 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
982 ac_prev
=sysconfdir
;;
983 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
984 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
985 sysconfdir
=$ac_optarg ;;
987 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
988 ac_prev
=target_alias
;;
989 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
990 target_alias
=$ac_optarg ;;
992 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
995 -version |
--version |
--versio |
--versi |
--vers |
-V)
999 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1002 as_fn_error $?
"invalid package name: $ac_useropt"
1003 ac_useropt_orig
=$ac_useropt
1004 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1005 case $ac_user_opts in
1009 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1010 ac_unrecognized_sep
=', ';;
1012 eval with_
$ac_useropt=\
$ac_optarg ;;
1014 -without-* |
--without-*)
1015 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1018 as_fn_error $?
"invalid package name: $ac_useropt"
1019 ac_useropt_orig
=$ac_useropt
1020 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1025 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1026 ac_unrecognized_sep
=', ';;
1028 eval with_
$ac_useropt=no
;;
1031 # Obsolete; use --with-x.
1034 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1035 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1036 ac_prev
=x_includes
;;
1037 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1038 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1039 x_includes
=$ac_optarg ;;
1041 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1042 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1043 ac_prev
=x_libraries
;;
1044 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1045 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1046 x_libraries
=$ac_optarg ;;
1048 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1049 Try \`$0 --help' for more information"
1053 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1054 # Reject names that are not valid shell variable names.
1055 case $ac_envvar in #(
1056 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1057 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1059 eval $ac_envvar=\
$ac_optarg
1060 export $ac_envvar ;;
1063 # FIXME: should be removed in autoconf 3.0.
1064 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1065 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1066 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1067 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1073 if test -n "$ac_prev"; then
1074 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1075 as_fn_error $?
"missing argument to $ac_option"
1078 if test -n "$ac_unrecognized_opts"; then
1079 case $enable_option_checking in
1081 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1082 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1086 # Check all directory arguments for consistency.
1087 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1088 datadir sysconfdir sharedstatedir localstatedir includedir \
1089 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1090 libdir localedir mandir
1092 eval ac_val
=\$
$ac_var
1093 # Remove trailing slashes.
1096 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1097 eval $ac_var=\
$ac_val;;
1099 # Be sure to have absolute directory names.
1101 [\\/$
]* | ?
:[\\/]* ) continue;;
1102 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1104 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1107 # There might be people who depend on the old broken behavior: `$host'
1108 # used to hold the argument of --host etc.
1109 # FIXME: To remove some day.
1112 target
=$target_alias
1114 # FIXME: To remove some day.
1115 if test "x$host_alias" != x
; then
1116 if test "x$build_alias" = x
; then
1117 cross_compiling
=maybe
1118 elif test "x$build_alias" != "x$host_alias"; then
1124 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1126 test "$silent" = yes && exec 6>/dev
/null
1129 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1130 ac_ls_di
=`ls -di .` &&
1131 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1132 as_fn_error $?
"working directory cannot be determined"
1133 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1134 as_fn_error $?
"pwd does not report name of working directory"
1137 # Find the source files, if location was not specified.
1138 if test -z "$srcdir"; then
1139 ac_srcdir_defaulted
=yes
1140 # Try the directory containing this script, then the parent directory.
1141 ac_confdir
=`$as_dirname -- "$as_myself" ||
1142 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1143 X"$as_myself" : 'X\(//\)[^/]' \| \
1144 X"$as_myself" : 'X\(//\)$' \| \
1145 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1146 $as_echo X"$as_myself" |
1147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1165 if test ! -r "$srcdir/$ac_unique_file"; then
1169 ac_srcdir_defaulted
=no
1171 if test ! -r "$srcdir/$ac_unique_file"; then
1172 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1173 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1175 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1177 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1179 # When building in place, set srcdir=.
1180 if test "$ac_abs_confdir" = "$ac_pwd"; then
1183 # Remove unnecessary trailing slashes from srcdir.
1184 # Double slashes in file names in object file debugging info
1185 # mess up M-x gdb in Emacs.
1187 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1189 for ac_var
in $ac_precious_vars; do
1190 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1191 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1192 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1193 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1197 # Report the --help message.
1199 if test "$ac_init_help" = "long"; then
1200 # Omit some internal or obsolete options to make the list less imposing.
1201 # This message is too long to be a string in the A/UX 3.1 sh.
1203 \`configure' configures Polly 0.01 to adapt to many kinds of systems.
1205 Usage: $0 [OPTION]... [VAR=VALUE]...
1207 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1208 VAR=VALUE. See below for descriptions of some of the useful variables.
1210 Defaults for the options are specified in brackets.
1213 -h, --help display this help and exit
1214 --help=short display options specific to this package
1215 --help=recursive display the short help of all the included packages
1216 -V, --version display version information and exit
1217 -q, --quiet, --silent do not print \`checking ...' messages
1218 --cache-file=FILE cache test results in FILE [disabled]
1219 -C, --config-cache alias for \`--cache-file=config.cache'
1220 -n, --no-create do not create output files
1221 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1223 Installation directories:
1224 --prefix=PREFIX install architecture-independent files in PREFIX
1225 [$ac_default_prefix]
1226 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1229 By default, \`make install' will install all the files in
1230 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1231 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1232 for instance \`--prefix=\$HOME'.
1234 For better control, use the options below.
1236 Fine tuning of the installation directories:
1237 --bindir=DIR user executables [EPREFIX/bin]
1238 --sbindir=DIR system admin executables [EPREFIX/sbin]
1239 --libexecdir=DIR program executables [EPREFIX/libexec]
1240 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1241 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1242 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1243 --libdir=DIR object code libraries [EPREFIX/lib]
1244 --includedir=DIR C header files [PREFIX/include]
1245 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1246 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1247 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1248 --infodir=DIR info documentation [DATAROOTDIR/info]
1249 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1250 --mandir=DIR man documentation [DATAROOTDIR/man]
1251 --docdir=DIR documentation root [DATAROOTDIR/doc/polly]
1252 --htmldir=DIR html documentation [DOCDIR]
1253 --dvidir=DIR dvi documentation [DOCDIR]
1254 --pdfdir=DIR pdf documentation [DOCDIR]
1255 --psdir=DIR ps documentation [DOCDIR]
1262 if test -n "$ac_init_help"; then
1263 case $ac_init_help in
1264 short | recursive
) echo "Configuration of Polly 0.01:";;
1269 --disable-option-checking ignore unrecognized
--enable/--with options
1270 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1271 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1272 --enable-polly-gpu-codegen
1273 Enable GPU code generation
in Polly
(default is NO
)
1276 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1277 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1278 --with-llvmsrc Location of LLVM Source Code
1279 --with-llvmobj Location of LLVM Object Code
1280 --with-pluto prefix of pluto
1281 --with-cuda prefix of cuda
1283 Some influential environment variables
:
1284 CXX C
++ compiler
command
1285 CXXFLAGS C
++ compiler flags
1286 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1287 nonstandard directory
<lib dir
>
1288 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1289 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1290 you have headers
in a nonstandard directory
<include dir
>
1292 Use these variables to override the choices made by
`configure' or to help
1293 it to find libraries and programs with nonstandard names/locations.
1295 Report bugs to <polly-dev@googlegroups.com>.
1300 if test "$ac_init_help" = "recursive"; then
1301 # If there are subdirs, report their specific --help.
1302 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1303 test -d "$ac_dir" ||
1304 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1309 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1311 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1312 # A ".." for each directory in $ac_dir_suffix.
1313 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1314 case $ac_top_builddir_sub in
1315 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1316 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1319 ac_abs_top_builddir=$ac_pwd
1320 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1321 # for backward compatibility:
1322 ac_top_builddir=$ac_top_build_prefix
1325 .) # We are building in place.
1327 ac_top_srcdir=$ac_top_builddir_sub
1328 ac_abs_top_srcdir=$ac_pwd ;;
1329 [\\/]* | ?:[\\/]* ) # Absolute name.
1330 ac_srcdir=$srcdir$ac_dir_suffix;
1331 ac_top_srcdir=$srcdir
1332 ac_abs_top_srcdir=$srcdir ;;
1334 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1335 ac_top_srcdir=$ac_top_build_prefix$srcdir
1336 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1338 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1340 cd "$ac_dir" || { ac_status=$?; continue; }
1341 # Check for guested configure.
1342 if test -f "$ac_srcdir/configure.gnu"; then
1344 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1345 elif test -f "$ac_srcdir/configure"; then
1347 $SHELL "$ac_srcdir/configure" --help=recursive
1349 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1351 cd "$ac_pwd" || { ac_status=$?; break; }
1355 test -n "$ac_init_help" && exit $ac_status
1356 if $ac_init_version; then
1358 Polly configure 0.01
1359 generated by GNU Autoconf 2.69
1361 Copyright (C) 2012 Free Software Foundation, Inc.
1362 This configure script is free software; the Free Software Foundation
1363 gives unlimited permission to copy, distribute and modify it.
1368 ## ------------------------ ##
1369 ## Autoconf initialization. ##
1370 ## ------------------------ ##
1372 # ac_fn_cxx_try_compile LINENO
1373 # ----------------------------
1374 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1375 ac_fn_cxx_try_compile ()
1377 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1378 rm -f conftest.$ac_objext
1379 if { { ac_try="$ac_compile"
1381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1382 *) ac_try_echo
=$ac_try;;
1384 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1385 $as_echo "$ac_try_echo"; } >&5
1386 (eval "$ac_compile") 2>conftest.err
1388 if test -s conftest.err
; then
1389 grep -v '^ *+' conftest.err
>conftest.er1
1390 cat conftest.er1
>&5
1391 mv -f conftest.er1 conftest.err
1393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1394 test $ac_status = 0; } && {
1395 test -z "$ac_cxx_werror_flag" ||
1396 test ! -s conftest.err
1397 } && test -s conftest.
$ac_objext; then :
1400 $as_echo "$as_me: failed program was:" >&5
1401 sed 's/^/| /' conftest.
$ac_ext >&5
1405 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1406 as_fn_set_status
$ac_retval
1408 } # ac_fn_cxx_try_compile
1410 # ac_fn_cxx_try_link LINENO
1411 # -------------------------
1412 # Try to link conftest.$ac_ext, and return whether this succeeded.
1413 ac_fn_cxx_try_link
()
1415 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1416 rm -f conftest.
$ac_objext conftest
$ac_exeext
1417 if { { ac_try
="$ac_link"
1419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1420 *) ac_try_echo=$ac_try;;
1422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1423 $as_echo "$ac_try_echo"; } >&5
1424 (eval "$ac_link") 2>conftest.err
1426 if test -s conftest.err; then
1427 grep -v '^ *+' conftest.err >conftest.er1
1428 cat conftest.er1 >&5
1429 mv -f conftest.er1 conftest.err
1431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1432 test $ac_status = 0; } && {
1433 test -z "$ac_cxx_werror_flag" ||
1434 test ! -s conftest.err
1435 } && test -s conftest$ac_exeext && {
1436 test "$cross_compiling" = yes ||
1437 test -x conftest$ac_exeext
1441 $as_echo "$as_me: failed program was:" >&5
1442 sed 's/^/| /' conftest.$ac_ext >&5
1446 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1447 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1448 # interfere with the next link command; also delete a directory that is
1449 # left behind by Apple's compiler. We do this before executing the actions.
1450 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1452 as_fn_set_status $ac_retval
1454 } # ac_fn_cxx_try_link
1455 cat >config.log <<_ACEOF
1456 This file contains any messages produced by compilers while
1457 running configure, to aid debugging if configure makes a mistake.
1459 It was created by Polly $as_me 0.01, which was
1460 generated by GNU Autoconf 2.69. Invocation command line was
1472 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1473 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1474 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1475 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1476 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1478 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1479 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1481 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1482 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1483 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1484 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1485 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1486 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1487 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1495 test -z "$as_dir" && as_dir=.
1496 $as_echo "PATH: $as_dir"
1512 # Keep a trace of the command line.
1513 # Strip out --no-create and --no-recursion so they do not pile up.
1514 # Strip out --silent because we don't want to record it for future runs.
1515 # Also quote any args containing shell meta-characters.
1516 # Make two passes to allow for proper duplicate-argument suppression.
1520 ac_must_keep_next=false
1526 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1527 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1528 | -silent | --silent | --silen | --sile | --sil)
1531 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1534 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1536 as_fn_append ac_configure_args1 " '$ac_arg'"
1537 if test $ac_must_keep_next = true; then
1538 ac_must_keep_next=false # Got value, back to normal.
1541 *=* | --config-cache | -C | -disable-* | --disable-* \
1542 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1543 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1544 | -with-* | --with-* | -without-* | --without-* | --x)
1545 case "$ac_configure_args0 " in
1546 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1549 -* ) ac_must_keep_next=true ;;
1552 as_fn_append ac_configure_args " '$ac_arg'"
1557 { ac_configure_args0=; unset ac_configure_args0;}
1558 { ac_configure_args1=; unset ac_configure_args1;}
1560 # When interrupted or exit'd, cleanup temporary files, and complete
1561 # config.log. We remove comments because anyway the quotes in there
1562 # would cause problems or look ugly.
1563 # WARNING: Use '\'' to represent an apostrophe within the trap.
1564 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1565 trap 'exit_status=$?
1566 # Save into config.log some information that might help in debugging.
1570 $as_echo "## ---------------- ##
1571 ## Cache variables. ##
1572 ## ---------------- ##"
1574 # The following way of writing the cache mishandles newlines in values,
1576 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1577 eval ac_val=\$$ac_var
1581 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1582 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1585 _ | IFS | as_nl) ;; #(
1586 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1587 *) { eval $ac_var=; unset $ac_var;} ;;
1592 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1593 *${as_nl}ac_space=\ *)
1595 "s/'\''/'\''\\\\'\'''\''/g;
1596 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1599 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1606 $as_echo "## ----------------- ##
1607 ## Output variables. ##
1608 ## ----------------- ##"
1610 for ac_var in $ac_subst_vars
1612 eval ac_val=\$$ac_var
1614 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1616 $as_echo "$ac_var='\''$ac_val'\''"
1620 if test -n "$ac_subst_files"; then
1621 $as_echo "## ------------------- ##
1622 ## File substitutions. ##
1623 ## ------------------- ##"
1625 for ac_var in $ac_subst_files
1627 eval ac_val=\$$ac_var
1629 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 $as_echo "$ac_var='\''$ac_val'\''"
1636 if test -s confdefs.h; then
1637 $as_echo "## ----------- ##
1644 test "$ac_signal" != 0 &&
1645 $as_echo "$as_me: caught signal $ac_signal"
1646 $as_echo "$as_me: exit $exit_status"
1648 rm -f core *.core core.conftest.* &&
1649 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1652 for ac_signal in 1 2 13 15; do
1653 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1657 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1658 rm -f -r conftest* confdefs.h
1660 $as_echo "/* confdefs.h */" > confdefs.h
1662 # Predefined preprocessor variables.
1664 cat >>confdefs.h <<_ACEOF
1665 #define PACKAGE_NAME "$PACKAGE_NAME"
1668 cat >>confdefs.h <<_ACEOF
1669 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1672 cat >>confdefs.h <<_ACEOF
1673 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1676 cat >>confdefs.h <<_ACEOF
1677 #define PACKAGE_STRING "$PACKAGE_STRING"
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_URL "$PACKAGE_URL"
1689 # Let the site file select an alternate cache file if it wants to.
1690 # Prefer an explicitly selected file to automatically selected ones.
1693 if test -n "$CONFIG_SITE"; then
1694 # We do not want a PATH search for config.site.
1695 case $CONFIG_SITE in #((
1696 -*) ac_site_file1=./$CONFIG_SITE;;
1697 */*) ac_site_file1=$CONFIG_SITE;;
1698 *) ac_site_file1=./$CONFIG_SITE;;
1700 elif test "x$prefix" != xNONE; then
1701 ac_site_file1=$prefix/share/config.site
1702 ac_site_file2=$prefix/etc/config.site
1704 ac_site_file1=$ac_default_prefix/share/config.site
1705 ac_site_file2=$ac_default_prefix/etc/config.site
1707 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1709 test "x$ac_site_file" = xNONE && continue
1710 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1712 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1713 sed 's/^/| /' "$ac_site_file" >&5
1715 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1717 as_fn_error $? "failed to load site
script $ac_site_file
1718 See \
`config.log' for more details" "$LINENO" 5; }
1722 if test -r "$cache_file"; then
1723 # Some versions of bash will fail to source /dev/null (special files
1724 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1725 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1727 $as_echo "$as_me: loading cache $cache_file" >&6;}
1729 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1730 *) . "./$cache_file";;
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1735 $as_echo "$as_me: creating cache $cache_file" >&6;}
1739 # Check that the precious variables saved in the cache have kept the same
1741 ac_cache_corrupted=false
1742 for ac_var in $ac_precious_vars; do
1743 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1744 eval ac_new_set=\$ac_env_${ac_var}_set
1745 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1746 eval ac_new_val=\$ac_env_${ac_var}_value
1747 case $ac_old_set,$ac_new_set in
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1750 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1751 ac_cache_corrupted=: ;;
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1754 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1755 ac_cache_corrupted=: ;;
1758 if test "x$ac_old_val" != "x$ac_new_val"; then
1759 # differences in whitespace do not lead to failure.
1760 ac_old_val_w=`echo x
$ac_old_val`
1761 ac_new_val_w=`echo x
$ac_new_val`
1762 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1764 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1765 ac_cache_corrupted=:
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1768 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1769 eval $ac_var=\$ac_old_val
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1772 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1774 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1777 # Pass precious variables to config.status.
1778 if test "$ac_new_set" = set; then
1780 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1781 *) ac_arg=$ac_var=$ac_new_val ;;
1783 case " $ac_configure_args " in
1784 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1785 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1789 if $ac_cache_corrupted; then
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1793 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1794 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1796 ## -------------------- ##
1797 ## Main body of script. ##
1798 ## -------------------- ##
1801 ac_cpp='$CPP $CPPFLAGS'
1802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1808 LLVM_SRC_ROOT="`(cd $srcdir/..
/..
; pwd)`"
1809 LLVM_OBJ_ROOT="`(cd ..
/..
; pwd)`"
1812 # Check whether --with-llvmsrc was given.
1813 if test "${with_llvmsrc+set}" = set; then :
1814 withval=$with_llvmsrc; llvm_src="$withval"
1816 llvm_src="$LLVM_SRC_ROOT"
1822 # Check whether --with-llvmobj was given.
1823 if test "${with_llvmobj+set}" = set; then :
1824 withval=$with_llvmobj; llvm_obj="$withval"
1826 llvm_obj="$LLVM_OBJ_ROOT"
1831 ac_config_commands="$ac_config_commands setup"
1836 for ac_dir in $LLVM_SRC/autoconf "$srcdir"/$LLVM_SRC/autoconf; do
1837 if test -f "$ac_dir/install-sh"; then
1839 ac_install_sh="$ac_aux_dir/install-sh -c"
1841 elif test -f "$ac_dir/install.sh"; then
1843 ac_install_sh="$ac_aux_dir/install.sh -c"
1845 elif test -f "$ac_dir/shtool"; then
1847 ac_install_sh="$ac_aux_dir/shtool install -c"
1851 if test -z "$ac_aux_dir"; then
1852 as_fn_error $? "cannot find install-sh, install.sh, or shtool in $LLVM_SRC/autoconf \"$srcdir\"/$LLVM_SRC/autoconf" "$LINENO" 5
1855 # These three variables are undocumented and unsupported,
1856 # and are intended to be withdrawn in a future Autoconf release.
1857 # They can cause serious problems if a builder's source tree is in a directory
1858 # whose full name contains unusual characters.
1859 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1860 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1861 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1869 ac_config_files="$ac_config_files Makefile.config"
1871 ac_config_files="$ac_config_files Makefile.common"
1875 if test ${srcdir} != "." ; then
1876 if test -f ${srcdir}/include/polly/Config/config.h ; then
1877 as_fn_error $? "Already configured in ${srcdir}" "$LINENO" 5
1890 saved_CXXFLAGS=$CXXFLAGS
1891 CXXFLAGS="$CXXFLAGS"
1893 ac_cpp='$CXXCPP $CPPFLAGS'
1894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1897 if test -z "$CXX"; then
1898 if test -n "$CCC"; then
1901 if test -n "$ac_tool_prefix"; then
1902 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1904 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1907 $as_echo_n "checking for $ac_word... " >&6; }
1908 if ${ac_cv_prog_CXX+:} false; then :
1909 $as_echo_n "(cached) " >&6
1911 if test -n "$CXX"; then
1912 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1918 test -z "$as_dir" && as_dir=.
1919 for ac_exec_ext in '' $ac_executable_extensions; do
1920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1921 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1932 if test -n "$CXX"; then
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
1934 $as_echo "$CXX" >&6; }
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1937 $as_echo "no" >&6; }
1941 test -n "$CXX" && break
1944 if test -z "$CXX"; then
1946 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1948 # Extract the first word of "$ac_prog", so it can be a program name with args.
1949 set dummy $ac_prog; ac_word=$2
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1951 $as_echo_n "checking for $ac_word... " >&6; }
1952 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
1953 $as_echo_n "(cached) " >&6
1955 if test -n "$ac_ct_CXX"; then
1956 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1962 test -z "$as_dir" && as_dir=.
1963 for ac_exec_ext in '' $ac_executable_extensions; do
1964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1965 ac_cv_prog_ac_ct_CXX="$ac_prog"
1966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1975 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1976 if test -n "$ac_ct_CXX"; then
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
1978 $as_echo "$ac_ct_CXX" >&6; }
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1981 $as_echo "no" >&6; }
1985 test -n "$ac_ct_CXX" && break
1988 if test "x$ac_ct_CXX" = x; then
1991 case $cross_compiling:$ac_tool_warned in
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1995 ac_tool_warned=yes ;;
2003 # Provide some information about the compiler.
2004 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2007 for ac_option in --version -v -V -qversion; do
2008 { { ac_try="$ac_compiler $ac_option >&5"
2010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2011 *) ac_try_echo
=$ac_try;;
2013 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2014 $as_echo "$ac_try_echo"; } >&5
2015 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2017 if test -s conftest.err
; then
2019 ... rest of stderr output deleted ...
2020 10q' conftest.err
>conftest.er1
2021 cat conftest.er1
>&5
2023 rm -f conftest.er1 conftest.err
2024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2025 test $ac_status = 0; }
2028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2039 ac_clean_files_save
=$ac_clean_files
2040 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2041 # Try to create an executable without -o first, disregard a.out.
2042 # It will help us diagnose broken compilers, and finding out an intuition
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2045 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2046 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2048 # The possible output files:
2049 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2052 for ac_file
in $ac_files
2055 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2056 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2061 if { { ac_try
="$ac_link_default"
2063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2064 *) ac_try_echo=$ac_try;;
2066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2067 $as_echo "$ac_try_echo"; } >&5
2068 (eval "$ac_link_default") 2>&5
2070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2071 test $ac_status = 0; }; then :
2072 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2073 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2074 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2075 # so that the user can short-circuit this test for compilers unknown to
2077 for ac_file in $ac_files ''
2079 test -f "$ac_file" || continue
2081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2084 # We found the default executable, but exeext='' is most
2088 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2090 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2092 # We set ac_cv_exeext here because the later test for it is not
2093 # safe: cross compilers may not add the suffix if given an `-o'
2094 # argument, so we may need to know it at that point already.
2095 # Even if this section looks crufty: it has the advantage of
2102 test "$ac_cv_exeext" = no && ac_cv_exeext=
2107 if test -z "$ac_file"; then :
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2109 $as_echo "no" >&6; }
2110 $as_echo "$as_me: failed program was:" >&5
2111 sed 's
/^
/|
/' conftest.$ac_ext >&5
2113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2114 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2115 as_fn_error 77 "C++ compiler cannot create executables
2116 See \`config.log
' for more details" "$LINENO" 5; }
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2119 $as_echo "yes" >&6; }
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2122 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2124 $as_echo "$ac_file" >&6; }
2125 ac_exeext=$ac_cv_exeext
2127 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2128 ac_clean_files=$ac_clean_files_save
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2130 $as_echo_n "checking for suffix of executables... " >&6; }
2131 if { { ac_try="$ac_link"
2133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2134 *) ac_try_echo=$ac_try;;
2136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2137 $as_echo "$ac_try_echo"; } >&5
2138 (eval "$ac_link") 2>&5
2140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2141 test $ac_status = 0; }; then :
2142 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2143 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2144 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2146 for ac_file
in conftest.exe conftest conftest.
*; do
2147 test -f "$ac_file" ||
continue
2149 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2150 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2158 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2159 See \`config.log' for more details" "$LINENO" 5; }
2161 rm -f conftest conftest
$ac_cv_exeext
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2163 $as_echo "$ac_cv_exeext" >&6; }
2165 rm -f conftest.
$ac_ext
2166 EXEEXT
=$ac_cv_exeext
2168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2169 /* end confdefs.h. */
2174 FILE *f = fopen ("conftest.out", "w");
2175 return ferror (f) || fclose (f) != 0;
2181 ac_clean_files
="$ac_clean_files conftest.out"
2182 # Check that the compiler produces executables we can run. If not, either
2183 # the compiler is broken, or we cross compile.
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2185 $as_echo_n "checking whether we are cross compiling... " >&6; }
2186 if test "$cross_compiling" != yes; then
2187 { { ac_try
="$ac_link"
2189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2190 *) ac_try_echo=$ac_try;;
2192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2193 $as_echo "$ac_try_echo"; } >&5
2194 (eval "$ac_link") 2>&5
2196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2197 test $ac_status = 0; }
2198 if { ac_try='./conftest$ac_cv_exeext'
2199 { { case "(($ac_try" in
2200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2201 *) ac_try_echo
=$ac_try;;
2203 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2204 $as_echo "$ac_try_echo"; } >&5
2205 (eval "$ac_try") 2>&5
2207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2208 test $ac_status = 0; }; }; then
2211 if test "$cross_compiling" = maybe
; then
2214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2216 as_fn_error $?
"cannot run C++ compiled programs.
2217 If you meant to cross compile, use \`--host'.
2218 See \`config.log' for more details" "$LINENO" 5; }
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2223 $as_echo "$cross_compiling" >&6; }
2225 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2226 ac_clean_files
=$ac_clean_files_save
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2228 $as_echo_n "checking for suffix of object files... " >&6; }
2229 if ${ac_cv_objext+:} false
; then :
2230 $as_echo_n "(cached) " >&6
2232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2243 rm -f conftest.o conftest.obj
2244 if { { ac_try
="$ac_compile"
2246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2247 *) ac_try_echo=$ac_try;;
2249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2250 $as_echo "$ac_try_echo"; } >&5
2251 (eval "$ac_compile") 2>&5
2253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2254 test $ac_status = 0; }; then :
2255 for ac_file in conftest.o conftest.obj conftest.*; do
2256 test -f "$ac_file" || continue;
2258 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2259 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2264 $as_echo "$as_me: failed program was:" >&5
2265 sed 's/^/| /' conftest.$ac_ext >&5
2267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2269 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2270 See \
`config.log' for more details" "$LINENO" 5; }
2272 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2275 $as_echo "$ac_cv_objext" >&6; }
2276 OBJEXT=$ac_cv_objext
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2279 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2280 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2281 $as_echo_n "(cached) " >&6
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2297 if ac_fn_cxx_try_compile "$LINENO"; then :
2302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2303 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2307 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2308 if test $ac_compiler_gnu = yes; then
2313 ac_test_CXXFLAGS=${CXXFLAGS+set}
2314 ac_save_CXXFLAGS=$CXXFLAGS
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2316 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2317 if ${ac_cv_prog_cxx_g+:} false; then :
2318 $as_echo_n "(cached) " >&6
2320 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2321 ac_cxx_werror_flag=yes
2324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2325 /* end confdefs.h. */
2335 if ac_fn_cxx_try_compile "$LINENO"; then :
2336 ac_cv_prog_cxx_g=yes
2339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2340 /* end confdefs.h. */
2350 if ac_fn_cxx_try_compile "$LINENO"; then :
2353 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2356 /* end confdefs.h. */
2366 if ac_fn_cxx_try_compile "$LINENO"; then :
2367 ac_cv_prog_cxx_g=yes
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2374 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2377 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2378 if test "$ac_test_CXXFLAGS" = set; then
2379 CXXFLAGS=$ac_save_CXXFLAGS
2380 elif test $ac_cv_prog_cxx_g = yes; then
2381 if test "$GXX" = yes; then
2387 if test "$GXX" = yes; then
2394 ac_cpp='$CXXCPP $CPPFLAGS'
2395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2402 ac_cpp='$CXXCPP $CPPFLAGS'
2403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2407 OLD_CXXFLAGS=$CXXFLAGS;
2408 OLD_LDFLAGS=$LDFLAGS;
2411 LIBS="$LIBS -lpluto";
2413 # Get include path and lib path
2415 # Check whether --with-pluto was given.
2416 if test "${with_pluto+set}" = set; then :
2417 withval=$with_pluto; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2418 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2420 given_inc_path=inc_not_give_pluto;
2421 given_lib_path=lib_not_give_pluto
2425 # Check for library and headers works
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pluto: pluto/libpluto.h in $given_inc_path, and libpluto in $given_lib_path" >&5
2427 $as_echo_n "checking for pluto: pluto/libpluto.h in $given_inc_path, and libpluto in $given_lib_path... " >&6; }
2429 # try to compile a file that includes a header of the library
2430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2431 /* end confdefs.h. */
2432 #include <pluto/libpluto.h>
2441 if ac_fn_cxx_try_link "$LINENO"; then :
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2443 $as_echo "ok" >&6; }
2446 if test "x$given_inc_path" != "xinc_not_give_pluto"; then :
2447 pluto_inc="-I$given_inc_path"
2452 if test "x$given_lib_path" != "xlib_not_give_pluto"; then :
2453 pluto_ld="-L$given_lib_path"
2457 if test "x" = "xrequired"; then :
2458 as_fn_error $? "pluto required but not found" "$LINENO" 5
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2461 $as_echo "not found" >&6; }
2465 rm -f core conftest.err conftest.$ac_objext \
2466 conftest$ac_exeext conftest.$ac_ext
2468 # reset original CXXFLAGS
2469 CXXFLAGS=$OLD_CXXFLAGS
2470 LDFLAGS=$OLD_LDFLAGS;
2473 ac_cpp='$CPP $CPPFLAGS'
2474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2479 CXXFLAGS=$saved_CXXFLAGS
2480 if test "x$pluto_found" = "xyes"; then :
2482 $as_echo "#define PLUTO_FOUND 1" >>confdefs.h
2486 # Check whether --enable-polly_gpu_codegen was given.
2487 if test "${enable_polly_gpu_codegen+set}" = set; then :
2488 enableval=$enable_polly_gpu_codegen;
2493 case "$enableval" in
2495 $as_echo "#define GPU_CODEGEN 1" >>confdefs.h
2499 *) as_fn_error $? "Invalid setting for --enable-polly-gpu-codegen. Use \"yes\" or \"no\"" "$LINENO" 5 ;;
2504 ac_cpp='$CXXCPP $CPPFLAGS'
2505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2509 OLD_CXXFLAGS=$CXXFLAGS;
2510 OLD_LDFLAGS=$LDFLAGS;
2513 LIBS="$LIBS -lcuda";
2515 # Get include path and lib path
2517 # Check whether --with-cuda was given.
2518 if test "${with_cuda+set}" = set; then :
2519 withval=$with_cuda; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2520 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2522 given_inc_path=inc_not_give_cuda;
2523 given_lib_path=lib_not_give_cuda
2527 # Check for library and headers works
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cuda: cuda.h in $given_inc_path, and libcuda in $given_lib_path" >&5
2529 $as_echo_n "checking for cuda: cuda.h in $given_inc_path, and libcuda in $given_lib_path... " >&6; }
2531 # try to compile a file that includes a header of the library
2532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2533 /* end confdefs.h. */
2543 if ac_fn_cxx_try_link "$LINENO"; then :
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2545 $as_echo "ok" >&6; }
2548 if test "x$given_inc_path" != "xinc_not_give_cuda"; then :
2549 cuda_inc="-I$given_inc_path"
2554 if test "x$given_lib_path" != "xlib_not_give_cuda"; then :
2555 cuda_ld="-L$given_lib_path"
2559 if test "x" = "xrequired"; then :
2560 as_fn_error $? "cuda required but not found" "$LINENO" 5
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2563 $as_echo "not found" >&6; }
2567 rm -f core conftest.err conftest.$ac_objext \
2568 conftest$ac_exeext conftest.$ac_ext
2570 # reset original CXXFLAGS
2571 CXXFLAGS=$OLD_CXXFLAGS
2572 LDFLAGS=$OLD_LDFLAGS;
2575 ac_cpp='$CPP $CPPFLAGS'
2576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2582 if test "x$cuda_found" = "xyes"; then :
2584 $as_echo "#define CUDALIB_FOUND 1" >>confdefs.h
2589 ac_config_headers="$ac_config_headers include/polly/Config/config.h"
2591 cat >confcache <<\_ACEOF
2592 # This file is a shell script that caches the results of configure
2593 # tests run on this system so they can be shared between configure
2594 # scripts and configure runs, see configure's option --config-cache.
2595 # It is not useful on other systems. If it contains results you don't
2596 # want to keep, you may remove or edit it.
2598 # config.status only pays attention to the cache file if you give it
2599 # the --recheck option to rerun configure.
2601 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
2602 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2607 # The following way of writing the cache mishandles newlines in values,
2608 # but we know of no workaround that is simple, portable, and efficient.
2609 # So, we kill variables containing newlines.
2610 # Ultrix sh set writes to stderr and can't be redirected directly,
2611 # and sets the high bit in the cache file unless we assign to the vars.
2613 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2614 eval ac_val
=\$
$ac_var
2618 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2619 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2622 _ | IFS | as_nl
) ;; #(
2623 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
2624 *) { eval $ac_var=; unset $ac_var;} ;;
2630 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2631 *${as_nl}ac_space
=\
*)
2632 # `set' does not quote correctly, so add quotes: double-quote
2633 # substitution turns \\\\ into \\, and sed turns \\ into \.
2636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2639 # `set' quotes correctly as required by POSIX, so do not add quotes.
2640 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2649 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2651 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2653 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
2654 if test -w "$cache_file"; then
2655 if test "x$cache_file" != "x/dev/null"; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2657 $as_echo "$as_me: updating cache $cache_file" >&6;}
2658 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
2659 cat confcache
>"$cache_file"
2661 case $cache_file in #(
2663 mv -f confcache
"$cache_file"$$
&&
2664 mv -f "$cache_file"$$
"$cache_file" ;; #(
2666 mv -f confcache
"$cache_file" ;;
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2672 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2677 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2678 # Let make expand exec_prefix.
2679 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2681 DEFS
=-DHAVE_CONFIG_H
2686 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
2687 # 1. Remove the extension, and $U if already installed.
2688 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
2689 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
2690 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2691 # will be set to the directory where LIBOBJS objects are built.
2692 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2693 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
2697 LTLIBOBJS
=$ac_ltlibobjs
2701 : "${CONFIG_STATUS=./config.status}"
2703 ac_clean_files_save
=$ac_clean_files
2704 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2706 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2708 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2710 # Generated by $as_me.
2711 # Run this file to recreate the current configuration.
2712 # Compiler output produced by configure, useful for debugging
2713 # configure, is in config.log if it exists.
2719 SHELL=\${CONFIG_SHELL-$SHELL}
2722 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
2723 ## -------------------- ##
2724 ## M4sh Initialization. ##
2725 ## -------------------- ##
2727 # Be more Bourne compatible
2728 DUALCASE
=1; export DUALCASE
# for MKS sh
2729 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
2732 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2733 # is contrary to our usage. Disable this feature.
2734 alias -g '${1+"$@"}'='"$@"'
2735 setopt NO_GLOB_SUBST
2737 case `(set -o) 2>/dev/null` in #(
2749 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2750 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2751 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2752 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2753 # Prefer a ksh shell builtin over an external printf program on Solaris,
2754 # but without wasting forks for bash or zsh.
2755 if test -z "$BASH_VERSION$ZSH_VERSION" \
2756 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2757 as_echo='print
-r --'
2758 as_echo_n='print
-rn --'
2759 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2760 as_echo='printf %s
\n'
2761 as_echo_n='printf %s
'
2763 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2764 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
2765 as_echo_n='/usr
/ucb
/echo -n'
2767 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2768 as_echo_n_body='eval
2772 expr "X$arg" : "X\\(.*\\)$as_nl";
2773 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2775 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
2777 export as_echo_n_body
2778 as_echo_n='sh
-c $as_echo_n_body as_echo
'
2781 as_echo='sh
-c $as_echo_body as_echo
'
2784 # The user is always right.
2785 if test "${PATH_SEPARATOR+set}" != set; then
2787 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2788 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2795 # We need space, tab and new line, in precisely that order. Quoting is
2796 # there to prevent editors from complaining about space-tab.
2797 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2798 # splitting by setting IFS to empty value.)
2801 # Find who we are. Look in the path if we contain no directory separator.
2804 *[\\/]* ) as_myself=$0 ;;
2805 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809 test -z "$as_dir" && as_dir=.
2810 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2816 # We did not find ourselves, most probably we were run as `sh COMMAND'
2817 # in which case we are not to be found in the path.
2818 if test "x$as_myself" = x
; then
2821 if test ! -f "$as_myself"; then
2822 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2826 # Unset variables that we do not need and which cause bugs (e.g. in
2827 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2828 # suppresses any "Segmentation fault" message there. '((' could
2829 # trigger a bug in pdksh 5.2.14.
2830 for as_var
in BASH_ENV ENV MAIL MAILPATH
2831 do eval test x\
${$as_var+set} = xset \
2832 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
2845 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
2848 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2849 # ----------------------------------------
2850 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2851 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2852 # script with STATUS, using 1 if that was 0.
2855 as_status
=$1; test $as_status -eq 0 && as_status
=1
2857 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2858 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2860 $as_echo "$as_me: error: $2" >&2
2861 as_fn_exit
$as_status
2865 # as_fn_set_status STATUS
2866 # -----------------------
2867 # Set $? to STATUS, without forking.
2871 } # as_fn_set_status
2875 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2885 # Portably unset VAR.
2888 { eval $1=; unset $1;}
2890 as_unset
=as_fn_unset
2891 # as_fn_append VAR VALUE
2892 # ----------------------
2893 # Append the text in VALUE to the end of the definition contained in VAR. Take
2894 # advantage of any shell optimizations that allow amortized linear growth over
2895 # repeated appends, instead of the typical quadratic growth present in naive
2897 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
2898 eval 'as_fn_append ()
2909 # as_fn_arith ARG...
2910 # ------------------
2911 # Perform arithmetic evaluation on the ARGs, and store the result in the
2912 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2913 # must be portable across $(()) and expr.
2914 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
2915 eval 'as_fn_arith ()
2922 as_val
=`expr "$@" || test $? -eq 1`
2927 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
2928 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
2934 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2935 as_basename
=basename
2940 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
2946 as_me
=`$as_basename -- "$0" ||
2947 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2948 X"$0" : 'X\(//\)$' \| \
2949 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2951 sed '/^.*\/\([^/][^/]*\)\/*$/{
2965 # Avoid depending upon Character Ranges.
2966 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
2967 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2968 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
2969 as_cr_digits
='0123456789'
2970 as_cr_alnum
=$as_cr_Letters$as_cr_digits
2972 ECHO_C
= ECHO_N
= ECHO_T
=
2973 case `echo -n x` in #(((((
2975 case `echo 'xy\c'` in
2976 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
2978 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
2985 rm -f conf$$ conf$$.exe conf$$.
file
2986 if test -d conf$$.dir
; then
2987 rm -f conf$$.dir
/conf$$.
file
2990 mkdir conf$$.dir
2>/dev
/null
2992 if (echo >conf$$.
file) 2>/dev
/null
; then
2993 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
2995 # ... but there are two gotchas:
2996 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2997 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2998 # In both cases, we have to default to `cp -pR'.
2999 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3001 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3009 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3010 rmdir conf$$.dir
2>/dev
/null
3015 # Create "$as_dir" as a directory, including parents if necessary.
3020 -*) as_dir
=.
/$as_dir;;
3022 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3026 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3027 *) as_qdir
=$as_dir;;
3029 as_dirs
="'$as_qdir' $as_dirs"
3030 as_dir
=`$as_dirname -- "$as_dir" ||
3031 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3032 X"$as_dir" : 'X\(//\)[^/]' \| \
3033 X"$as_dir" : 'X\(//\)$' \| \
3034 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3035 $as_echo X"$as_dir" |
3036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3053 test -d "$as_dir" && break
3055 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3056 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
3060 if mkdir
-p .
2>/dev
/null
; then
3061 as_mkdir_p
='mkdir -p "$as_dir"'
3063 test -d .
/-p && rmdir .
/-p
3068 # as_fn_executable_p FILE
3069 # -----------------------
3070 # Test if FILE is an executable regular file.
3071 as_fn_executable_p
()
3073 test -f "$1" && test -x "$1"
3074 } # as_fn_executable_p
3076 as_executable_p
=as_fn_executable_p
3078 # Sed expression to map a string onto a valid CPP name.
3079 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3081 # Sed expression to map a string onto a valid variable name.
3082 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3086 ## ----------------------------------- ##
3087 ## Main body of $CONFIG_STATUS script. ##
3088 ## ----------------------------------- ##
3090 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3093 # Save the log message, to keep $0 and so on meaningful, and to
3094 # report actual input values of CONFIG_FILES etc. instead of their
3095 # values after options handling.
3097 This file was extended by Polly $as_me 0.01, which was
3098 generated by GNU Autoconf 2.69. Invocation command line was
3100 CONFIG_FILES = $CONFIG_FILES
3101 CONFIG_HEADERS = $CONFIG_HEADERS
3102 CONFIG_LINKS = $CONFIG_LINKS
3103 CONFIG_COMMANDS = $CONFIG_COMMANDS
3106 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3111 case $ac_config_files in *"
3112 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3115 case $ac_config_headers in *"
3116 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
3120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3121 # Files that config.status was made for.
3122 config_files="$ac_config_files"
3123 config_headers="$ac_config_headers"
3124 config_commands="$ac_config_commands"
3128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3130 \`$as_me' instantiates files and other configuration actions
3131 from templates according to the current configuration. Unless the files
3132 and actions are specified as TAGs, all are instantiated by default.
3134 Usage: $0 [OPTION]... [TAG]...
3136 -h, --help print this help, then exit
3137 -V, --version print version number and configuration settings, then exit
3138 --config print configuration, then exit
3139 -q, --quiet, --silent
3140 do not print progress messages
3141 -d, --debug don't remove temporary files
3142 --recheck update $as_me by reconfiguring in the same conditions
3143 --file=FILE[:TEMPLATE]
3144 instantiate the configuration file FILE
3145 --header=FILE[:TEMPLATE]
3146 instantiate the configuration header FILE
3148 Configuration files:
3151 Configuration headers:
3154 Configuration commands:
3157 Report bugs to <polly-dev@googlegroups.com>."
3160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3161 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3163 Polly config.status 0.01
3164 configured by $0, generated by GNU Autoconf 2.69,
3165 with options \\"\$ac_cs_config\\"
3167 Copyright (C) 2012 Free Software Foundation, Inc.
3168 This config.status script is free software; the Free Software Foundation
3169 gives unlimited permission to copy, distribute and modify it."
3173 test -n "\$AWK" || AWK=awk
3176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3177 # The default lists apply if the user does not specify any file.
3183 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3184 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3188 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3200 # Handling of the options.
3201 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3203 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3204 $as_echo "$ac_cs_version"; exit ;;
3205 --config |
--confi |
--conf |
--con |
--co |
--c )
3206 $as_echo "$ac_cs_config"; exit ;;
3207 --debug |
--debu |
--deb |
--de |
--d |
-d )
3209 --file |
--fil |
--fi |
--f )
3212 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3213 '') as_fn_error $?
"missing file argument" ;;
3215 as_fn_append CONFIG_FILES
" '$ac_optarg'"
3216 ac_need_defaults
=false
;;
3217 --header |
--heade |
--head |
--hea )
3220 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3222 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
3223 ac_need_defaults
=false
;;
3225 # Conflict between --help and --header
3226 as_fn_error $?
"ambiguous option: \`$1'
3227 Try \`$0 --help' for more information.";;
3228 --help |
--hel |
-h )
3229 $as_echo "$ac_cs_usage"; exit ;;
3230 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3231 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3235 -*) as_fn_error $?
"unrecognized option: \`$1'
3236 Try \`$0 --help' for more information." ;;
3238 *) as_fn_append ac_config_targets
" $1"
3239 ac_need_defaults
=false
;;
3245 ac_configure_extra_args
=
3247 if $ac_cs_silent; then
3249 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3254 if \$ac_cs_recheck; then
3255 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3257 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3258 CONFIG_SHELL='$SHELL'
3264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3268 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3269 ## Running $as_me. ##
3275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3279 llvm_src="${LLVM_SRC}"
3283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3285 # Handling of arguments.
3286 for ac_config_target
in $ac_config_targets
3288 case $ac_config_target in
3289 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
3290 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
3291 "Makefile.common") CONFIG_FILES
="$CONFIG_FILES Makefile.common" ;;
3292 "include/polly/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/polly/Config/config.h" ;;
3294 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3299 # If the user did not use the arguments to specify the items to instantiate,
3300 # then the envvar interface is used. Set only those that are not.
3301 # We use the long form for the default assignment because of an extremely
3302 # bizarre bug on SunOS 4.1.3.
3303 if $ac_need_defaults; then
3304 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3305 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
3306 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3309 # Have a temporary directory for convenience. Make it in the build tree
3310 # simply because there is no reason against having it here, and in addition,
3311 # creating and moving files from /tmp can sometimes cause problems.
3312 # Hook for its removal unless debugging.
3313 # Note that there is a small window in which the directory will not be cleaned:
3314 # after its creation but before its name has been assigned to `$tmp'.
3318 trap 'exit_status=$?
3320 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3322 trap 'as_fn_exit 1' 1 2 13 15
3324 # Create a (secure) tmp directory for tmp files.
3327 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3331 tmp
=.
/conf$$
-$RANDOM
3332 (umask 077 && mkdir
"$tmp")
3333 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
3336 # Set up the scripts for CONFIG_FILES section.
3337 # No need to generate them if there are no CONFIG_FILES.
3338 # This happens for instance with `./config.status config.h'.
3339 if test -n "$CONFIG_FILES"; then
3342 ac_cr
=`echo X | tr X '\015'`
3343 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3344 # But we know of no other shell where ac_cr would be empty at this
3345 # point, so we can use a bashism as a fallback.
3346 if test "x$ac_cr" = x
; then
3347 eval ac_cr
=\$
\'\\r
\'
3349 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3350 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3356 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3361 echo "cat >conf$$subs.awk <<_ACEOF" &&
3362 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3365 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3366 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3368 for ac_last_try in false false false false false :; do
3369 . ./conf$$subs.sh ||
3370 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3372 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
3373 if test $ac_delim_n = $ac_delim_num; then
3375 elif $ac_last_try; then
3376 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3378 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3384 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
3388 s/^/S["/; s
/!.
*/"]=/
3398 s/\(.\{148\}\)..*/\1/
3400 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3405 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3412 s/\(.\{148\}\)..*/\1/
3414 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3418 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3423 ' <conf$$subs.awk | sed '
3428 ' >>$CONFIG_STATUS || ac_write_fail=1
3429 rm -f conf$$subs.awk
3430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3432 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
3433 for (key in S) S_is_set[key] = 1
3439 nfields = split(line, field, "@
")
3441 len = length(field[1])
3442 for (i = 2; i < nfields; i++) {
3444 keylen = length(key)
3445 if (S_is_set[key]) {
3447 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3448 len += length(value) + length(field[++i])
3459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3460 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3461 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
3464 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
3465 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
3468 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3469 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
3470 # trailing colons and then remove the whole line if VPATH becomes empty
3471 # (actually we leave an empty line to preserve line numbers).
3472 if test "x
$srcdir" = x.; then
3473 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3492 fi # test -n "$CONFIG_FILES"
3494 # Set up the scripts for CONFIG_HEADERS section.
3495 # No need to generate them if there are no CONFIG_HEADERS.
3496 # This happens for instance with `./config.status Makefile'.
3497 if test -n "$CONFIG_HEADERS"; then
3498 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
3502 # Transform confdefs.h into an awk script `defines.awk', embedded as
3503 # here-document in config.status, that substitutes the proper values into
3504 # config.h.in to produce config.h.
3506 # Create a delimiter string that does not exist in confdefs.h, to ease
3507 # handling of long lines.
3509 for ac_last_try in false false :; do
3510 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
3511 if test -z "$ac_tt"; then
3513 elif $ac_last_try; then
3514 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
3516 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3520 # For the awk script, D is an array of macro values keyed by name,
3521 # likewise P contains macro parameters if any. Preserve backslash
3522 # newline sequences.
3524 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3526 s/.\{148\}/&'"$ac_delim"'/g
3529 s/^[ ]*#[ ]*define[ ][ ]*/ /
3536 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
3538 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
3542 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
3543 D["\
1"]=" \
3\\\\\\n
"\\/p
3545 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
3550 s/.\{148\}/&'"$ac_delim"'/g
3555 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
3558 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
3560 ' <confdefs.h | sed '
3561 s/'"$ac_delim"'/"\\\
3562 "/g' >>$CONFIG_STATUS || ac_write_fail=1
3564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3565 for (key in D) D_is_set[key] = 1
3568 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3570 split(line, arg, " ")
3571 if (arg[1] == "#") {
3575 defundef
= substr
(arg
[1], 2)
3578 split(mac1
, mac2
, "(") #)
3580 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
3581 if (D_is_set
[macro
]) {
3582 # Preserve the white space surrounding the "#".
3583 print prefix
"define", macro P
[macro
] D
[macro
]
3586 # Replace #undef with comments. This is necessary, for example,
3587 # in the case of _POSIX_SOURCE, which is predefined and required
3588 # on some systems where configure will not decide to define it.
3589 if (defundef
== "undef") {
3590 print
"/*", prefix defundef
, macro
, "*/"
3598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3599 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
3600 fi # test -n "$CONFIG_HEADERS"
3603 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
3608 :[FHLC
]) ac_mode
=$ac_tag; continue;;
3610 case $ac_mode$ac_tag in
3612 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
3613 :[FH
]-) ac_tag
=-:-;;
3614 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
3631 -) ac_f
="$ac_tmp/stdin";;
3632 *) # Look for the file first in the build tree, then in the source tree
3633 # (if the path is not absolute). The absolute path cannot be DOS-style,
3634 # because $ac_f cannot contain `:'.
3638 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
3640 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3642 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3643 as_fn_append ac_file_inputs
" '$ac_f'"
3646 # Let's still pretend it is `configure' which instantiates (i.e., don't
3647 # use $as_me), people would be surprised to read:
3648 # /* config.h. Generated by config.status. */
3649 configure_input
='Generated from '`
3650 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3652 if test x
"$ac_file" != x-
; then
3653 configure_input
="$ac_file. $configure_input"
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3655 $as_echo "$as_me: creating $ac_file" >&6;}
3657 # Neutralize special characters interpreted by sed in replacement strings.
3658 case $configure_input in #(
3659 *\
&* |
*\|
* |
*\\* )
3660 ac_sed_conf_input
=`$as_echo "$configure_input" |
3661 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3662 *) ac_sed_conf_input
=$configure_input;;
3666 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
3667 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
3672 ac_dir
=`$as_dirname -- "$ac_file" ||
3673 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3674 X"$ac_file" : 'X\(//\)[^/]' \| \
3675 X"$ac_file" : 'X\(//\)$' \| \
3676 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3677 $as_echo X"$ac_file" |
3678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3695 as_dir
="$ac_dir"; as_fn_mkdir_p
3699 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3701 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3702 # A ".." for each directory in $ac_dir_suffix.
3703 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3704 case $ac_top_builddir_sub in
3705 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3706 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
3709 ac_abs_top_builddir
=$ac_pwd
3710 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
3711 # for backward compatibility:
3712 ac_top_builddir
=$ac_top_build_prefix
3715 .
) # We are building in place.
3717 ac_top_srcdir
=$ac_top_builddir_sub
3718 ac_abs_top_srcdir
=$ac_pwd ;;
3719 [\\/]* | ?
:[\\/]* ) # Absolute name.
3720 ac_srcdir
=$srcdir$ac_dir_suffix;
3721 ac_top_srcdir
=$srcdir
3722 ac_abs_top_srcdir
=$srcdir ;;
3724 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
3725 ac_top_srcdir
=$ac_top_build_prefix$srcdir
3726 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
3728 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
3739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3740 # If the template does not know about datarootdir, expand it.
3741 # FIXME: This hack should be removed a few years after 2.60.
3742 ac_datarootdir_hack
=; ac_datarootdir_seen
=
3753 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3754 *datarootdir
*) ac_datarootdir_seen
=yes;;
3755 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3757 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3760 ac_datarootdir_hack='
3761 s&@datadir@&$datadir&g
3762 s&@docdir@&$docdir&g
3763 s&@infodir@&$infodir&g
3764 s&@localedir@&$localedir&g
3765 s&@mandir@&$mandir&g
3766 s&\\\${datarootdir}&$datarootdir&g' ;;
3770 # Neutralize VPATH when `$srcdir' = `.'.
3771 # Shell code in configure.ac might set extrasub.
3772 # FIXME: do we really want to maintain this feature?
3773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3774 ac_sed_extra="$ac_vpsub
3777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3779 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3780 s|@configure_input@|
$ac_sed_conf_input|
;t t
3781 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
3782 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
3783 s
&@srcdir@
&$ac_srcdir&;t t
3784 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
3785 s
&@top_srcdir@
&$ac_top_srcdir&;t t
3786 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
3787 s
&@builddir@
&$ac_builddir&;t t
3788 s
&@abs_builddir@
&$ac_abs_builddir&;t t
3789 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
3790 $ac_datarootdir_hack
3792 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
3793 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
3795 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3796 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
3797 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3798 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
3800 which seems to be undefined. Please make sure it is defined" >&5
3801 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
3802 which seems to be undefined. Please make sure it is defined" >&2;}
3804 rm -f "$ac_tmp/stdin"
3806 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3807 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3809 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3815 if test x"$ac_file" != x-; then
3817 $as_echo "/* $configure_input */" \
3818 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
3819 } >"$ac_tmp/config.h" \
3820 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3821 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
3823 $as_echo "$as_me: $ac_file is unchanged" >&6;}
3826 mv "$ac_tmp/config.h" "$ac_file" \
3827 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3830 $as_echo "/* $configure_input */" \
3831 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
3832 || as_fn_error $? "could not create -" "$LINENO" 5
3836 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
3837 $as_echo "$as_me: executing $ac_file commands" >&6;}
3846 ac_clean_files=$ac_clean_files_save
3848 test $ac_write_fail = 0 ||
3849 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3852 # configure is writing to config.log, and then calls config.status.
3853 # config.status does its own redirection, appending to config.log.
3854 # Unfortunately, on DOS this fails, as config.log is still kept open
3855 # by configure, so config.status won't be able to
write to it
; its
3856 # output is simply discarded. So we exec the FD to /dev/null,
3857 # effectively closing config.log, so it can be properly (re)opened and
3858 # appended to by config.status. When coming back to configure, we
3859 # need to make the FD available again.
3860 if test "$no_create" != yes; then
3862 ac_config_status_args
=
3863 test "$silent" = yes &&
3864 ac_config_status_args
="$ac_config_status_args --quiet"
3866 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
3868 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3869 # would make configure fail if this is the last instruction.
3870 $ac_cs_success || as_fn_exit
1
3872 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3874 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}