2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Polly 0.01.
5 # Report bugs to <polly-dev@googlegroups.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
220 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
222 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 if test x
$as_have_required = xno
; then :
226 $as_echo "$0: This script requires a shell more modern than all"
227 $as_echo "$0: the shells that I found on your system."
228 if test x
${ZSH_VERSION+set} = xset
; then
229 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 $as_echo "$0: Please tell bug-autoconf@gnu.org and
233 $0: polly-dev@googlegroups.com about your system, including
234 $0: any error possibly output before this message. Then
235 $0: install a modern shell, or manually run the script
236 $0: under such a shell if you do have one."
242 SHELL
=${CONFIG_SHELL-/bin/sh}
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE
= GREP_OPTIONS
=
246 unset CLICOLOR_FORCE GREP_OPTIONS
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
253 # Portably unset VAR.
256 { eval $1=; unset $1;}
260 # as_fn_set_status STATUS
261 # -----------------------
262 # Set $? to STATUS, without forking.
270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 # Create "$as_dir" as a directory, including parents if necessary.
285 -*) as_dir
=.
/$as_dir;;
287 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
291 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 as_dirs
="'$as_qdir' $as_dirs"
295 as_dir
=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
318 test -d "$as_dir" && break
320 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
321 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
325 # as_fn_append VAR VALUE
326 # ----------------------
327 # Append the text in VALUE to the end of the definition contained in VAR. Take
328 # advantage of any shell optimizations that allow amortized linear growth over
329 # repeated appends, instead of the typical quadratic growth present in naive
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
332 eval 'as_fn_append ()
345 # Perform arithmetic evaluation on the ARGs, and store the result in the
346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
347 # must be portable across $(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
356 as_val
=`expr "$@" || test $? -eq 1`
361 # as_fn_error ERROR [LINENO LOG_FD]
362 # ---------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with status $?, using 1 if that was 0.
368 as_status
=$?
; test $as_status -eq 0 && as_status
=1
370 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373 $as_echo "$as_me: error: $1" >&2
374 as_fn_exit
$as_status
377 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
378 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
384 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
396 as_me
=`$as_basename -- "$0" ||
397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398 X"$0" : 'X\(//\)$' \| \
399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 sed '/^.*\/\([^/][^/]*\)\/*$/{
415 # Avoid depending upon Character Ranges.
416 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits
='0123456789'
420 as_cr_alnum
=$as_cr_Letters$as_cr_digits
423 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
424 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
439 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
443 chmod +x
"$as_me.lineno" ||
444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
446 # Don't try to exec as it changes $[0], causing all sort of problems
447 # (the dirname of $[0] is not the place where we might find the
448 # original and so on. Autoconf is especially sensitive to this).
450 # Exit status is that of the last command.
454 ECHO_C
= ECHO_N
= ECHO_T
=
455 case `echo -n x` in #(((((
457 case `echo 'xy\c'` in
458 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
467 rm -f conf$$ conf$$.exe conf$$.
file
468 if test -d conf$$.dir
; then
469 rm -f conf$$.dir
/conf$$.
file
472 mkdir conf$$.dir
2>/dev
/null
474 if (echo >conf$$.
file) 2>/dev
/null
; then
475 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
477 # ... but there are two gotchas:
478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480 # In both cases, we have to default to `cp -p'.
481 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
483 elif ln conf$$.
file conf$$
2>/dev
/null
; then
491 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
492 rmdir conf$$.dir
2>/dev
/null
494 if mkdir
-p .
2>/dev
/null
; then
495 as_mkdir_p
='mkdir -p "$as_dir"'
497 test -d .
/-p && rmdir .
/-p
501 if test -x / >/dev
/null
2>&1; then
504 if ls -dL / >/dev
/null
2>&1; then
511 if test -d "$1"; then
517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518 ???[sx]*):;;*)false;;esac;fi
522 as_executable_p
=$as_test_x
524 # Sed expression to map a string onto a valid CPP name.
525 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527 # Sed expression to map a string onto a valid variable name.
528 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
535 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
536 # so uname gets run too.
537 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
542 ac_default_prefix
=/usr
/local
544 ac_config_libobj_dir
=.
551 # Identity of this package.
553 PACKAGE_TARNAME
='polly'
554 PACKAGE_VERSION
='0.01'
555 PACKAGE_STRING
='Polly 0.01'
556 PACKAGE_BUGREPORT
='polly-dev@googlegroups.com'
559 ac_unique_file
=""lib
/Analysis
/ScopInfo.cpp
""
560 ac_subst_vars
='LTLIBOBJS
627 program_transform_name
640 enable_option_checking
649 enable_polly_gpu_codegen
652 ac_precious_vars
='build_alias
663 # Initialize some variables set by options.
665 ac_init_version
=false
666 ac_unrecognized_opts
=
668 # The variables have the same names as the options, with
669 # dashes changed to underlines.
677 program_transform_name
=s
,x
,x
,
685 # Installation directory options.
686 # These are left unexpanded so users can "make install exec_prefix=/foo"
687 # and all the variables that are supposed to be based on exec_prefix
688 # by default will actually change.
689 # Use braces instead of parens because sh, perl, etc. also accept them.
690 # (The list follows the same order as the GNU Coding Standards.)
691 bindir
='${exec_prefix}/bin'
692 sbindir
='${exec_prefix}/sbin'
693 libexecdir
='${exec_prefix}/libexec'
694 datarootdir
='${prefix}/share'
695 datadir
='${datarootdir}'
696 sysconfdir
='${prefix}/etc'
697 sharedstatedir
='${prefix}/com'
698 localstatedir
='${prefix}/var'
699 includedir
='${prefix}/include'
700 oldincludedir
='/usr/include'
701 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
702 infodir
='${datarootdir}/info'
707 libdir
='${exec_prefix}/lib'
708 localedir
='${datarootdir}/locale'
709 mandir
='${datarootdir}/man'
715 # If the previous option needs an argument, assign it.
716 if test -n "$ac_prev"; then
717 eval $ac_prev=\
$ac_option
723 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
727 # Accept the important Cygnus configure options, so we can diagnose typos.
729 case $ac_dashdash$ac_option in
733 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
735 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
738 -build |
--build |
--buil |
--bui |
--bu)
739 ac_prev
=build_alias
;;
740 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
741 build_alias
=$ac_optarg ;;
743 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
744 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
745 ac_prev
=cache_file
;;
746 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
747 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
748 cache_file
=$ac_optarg ;;
751 cache_file
=config.cache
;;
753 -datadir |
--datadir |
--datadi |
--datad)
755 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
756 datadir
=$ac_optarg ;;
758 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
759 |
--dataroo |
--dataro |
--datar)
760 ac_prev
=datarootdir
;;
761 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
762 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
763 datarootdir
=$ac_optarg ;;
765 -disable-* |
--disable-*)
766 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
767 # Reject names that are not valid shell variable names.
768 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
769 as_fn_error
"invalid feature name: $ac_useropt"
770 ac_useropt_orig
=$ac_useropt
771 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
772 case $ac_user_opts in
776 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
777 ac_unrecognized_sep
=', ';;
779 eval enable_
$ac_useropt=no
;;
781 -docdir |
--docdir |
--docdi |
--doc |
--do)
783 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
786 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
788 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
791 -enable-* |
--enable-*)
792 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
793 # Reject names that are not valid shell variable names.
794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
795 as_fn_error
"invalid feature name: $ac_useropt"
796 ac_useropt_orig
=$ac_useropt
797 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
798 case $ac_user_opts in
802 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
803 ac_unrecognized_sep
=', ';;
805 eval enable_
$ac_useropt=\
$ac_optarg ;;
807 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
808 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
809 |
--exec |
--exe |
--ex)
810 ac_prev
=exec_prefix
;;
811 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
812 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
813 |
--exec=* |
--exe=* |
--ex=*)
814 exec_prefix
=$ac_optarg ;;
816 -gas |
--gas |
--ga |
--g)
817 # Obsolete; use --with-gas.
820 -help |
--help |
--hel |
--he |
-h)
822 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
823 ac_init_help
=recursive
;;
824 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
825 ac_init_help
=short
;;
827 -host |
--host |
--hos |
--ho)
828 ac_prev
=host_alias
;;
829 -host=* |
--host=* |
--hos=* |
--ho=*)
830 host_alias
=$ac_optarg ;;
832 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
834 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
836 htmldir
=$ac_optarg ;;
838 -includedir |
--includedir |
--includedi |
--included |
--include \
839 |
--includ |
--inclu |
--incl |
--inc)
840 ac_prev
=includedir
;;
841 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
842 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
843 includedir
=$ac_optarg ;;
845 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
847 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
848 infodir
=$ac_optarg ;;
850 -libdir |
--libdir |
--libdi |
--libd)
852 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
855 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
856 |
--libexe |
--libex |
--libe)
857 ac_prev
=libexecdir
;;
858 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
859 |
--libexe=* |
--libex=* |
--libe=*)
860 libexecdir
=$ac_optarg ;;
862 -localedir |
--localedir |
--localedi |
--localed |
--locale)
864 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
865 localedir
=$ac_optarg ;;
867 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
868 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
869 ac_prev
=localstatedir
;;
870 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
871 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
872 localstatedir
=$ac_optarg ;;
874 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
876 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
880 # Obsolete; use --without-fp.
883 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
884 |
--no-cr |
--no-c |
-n)
887 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
888 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
891 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
892 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
893 |
--oldin |
--oldi |
--old |
--ol |
--o)
894 ac_prev
=oldincludedir
;;
895 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
896 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
897 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
898 oldincludedir
=$ac_optarg ;;
900 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
902 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
905 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
906 |
--program-pre |
--program-pr |
--program-p)
907 ac_prev
=program_prefix
;;
908 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
909 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
910 program_prefix
=$ac_optarg ;;
912 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
913 |
--program-suf |
--program-su |
--program-s)
914 ac_prev
=program_suffix
;;
915 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
916 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
917 program_suffix
=$ac_optarg ;;
919 -program-transform-name |
--program-transform-name \
920 |
--program-transform-nam |
--program-transform-na \
921 |
--program-transform-n |
--program-transform- \
922 |
--program-transform |
--program-transfor \
923 |
--program-transfo |
--program-transf \
924 |
--program-trans |
--program-tran \
925 |
--progr-tra |
--program-tr |
--program-t)
926 ac_prev
=program_transform_name
;;
927 -program-transform-name=* |
--program-transform-name=* \
928 |
--program-transform-nam=* |
--program-transform-na=* \
929 |
--program-transform-n=* |
--program-transform-=* \
930 |
--program-transform=* |
--program-transfor=* \
931 |
--program-transfo=* |
--program-transf=* \
932 |
--program-trans=* |
--program-tran=* \
933 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
934 program_transform_name
=$ac_optarg ;;
936 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
938 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
941 -psdir |
--psdir |
--psdi |
--psd |
--ps)
943 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
946 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
947 |
-silent |
--silent |
--silen |
--sile |
--sil)
950 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
952 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
954 sbindir
=$ac_optarg ;;
956 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
957 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
958 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
960 ac_prev
=sharedstatedir
;;
961 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
962 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
963 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
965 sharedstatedir
=$ac_optarg ;;
967 -site |
--site |
--sit)
969 -site=* |
--site=* |
--sit=*)
972 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
974 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
977 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
978 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
979 ac_prev
=sysconfdir
;;
980 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
981 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
982 sysconfdir
=$ac_optarg ;;
984 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
985 ac_prev
=target_alias
;;
986 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
987 target_alias
=$ac_optarg ;;
989 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
992 -version |
--version |
--versio |
--versi |
--vers |
-V)
996 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
999 as_fn_error
"invalid package name: $ac_useropt"
1000 ac_useropt_orig
=$ac_useropt
1001 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1006 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1007 ac_unrecognized_sep
=', ';;
1009 eval with_
$ac_useropt=\
$ac_optarg ;;
1011 -without-* |
--without-*)
1012 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1015 as_fn_error
"invalid package name: $ac_useropt"
1016 ac_useropt_orig
=$ac_useropt
1017 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1022 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1023 ac_unrecognized_sep
=', ';;
1025 eval with_
$ac_useropt=no
;;
1028 # Obsolete; use --with-x.
1031 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1032 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1033 ac_prev
=x_includes
;;
1034 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1035 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1036 x_includes
=$ac_optarg ;;
1038 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1039 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1040 ac_prev
=x_libraries
;;
1041 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1042 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1043 x_libraries
=$ac_optarg ;;
1045 -*) as_fn_error
"unrecognized option: \`$ac_option'
1046 Try \`$0 --help' for more information."
1050 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1051 # Reject names that are not valid shell variable names.
1052 case $ac_envvar in #(
1053 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1054 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1056 eval $ac_envvar=\
$ac_optarg
1057 export $ac_envvar ;;
1060 # FIXME: should be removed in autoconf 3.0.
1061 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1062 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1063 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1064 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1070 if test -n "$ac_prev"; then
1071 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1072 as_fn_error
"missing argument to $ac_option"
1075 if test -n "$ac_unrecognized_opts"; then
1076 case $enable_option_checking in
1078 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1079 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1083 # Check all directory arguments for consistency.
1084 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1085 datadir sysconfdir sharedstatedir localstatedir includedir \
1086 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1087 libdir localedir mandir
1089 eval ac_val
=\$
$ac_var
1090 # Remove trailing slashes.
1093 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1094 eval $ac_var=\
$ac_val;;
1096 # Be sure to have absolute directory names.
1098 [\\/$
]* | ?
:[\\/]* ) continue;;
1099 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1101 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1104 # There might be people who depend on the old broken behavior: `$host'
1105 # used to hold the argument of --host etc.
1106 # FIXME: To remove some day.
1109 target
=$target_alias
1111 # FIXME: To remove some day.
1112 if test "x$host_alias" != x
; then
1113 if test "x$build_alias" = x
; then
1114 cross_compiling
=maybe
1115 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1116 If a cross compiler is detected then cross compile mode will be used." >&2
1117 elif test "x$build_alias" != "x$host_alias"; then
1123 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1125 test "$silent" = yes && exec 6>/dev
/null
1128 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1129 ac_ls_di
=`ls -di .` &&
1130 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1131 as_fn_error
"working directory cannot be determined"
1132 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1133 as_fn_error
"pwd does not report name of working directory"
1136 # Find the source files, if location was not specified.
1137 if test -z "$srcdir"; then
1138 ac_srcdir_defaulted
=yes
1139 # Try the directory containing this script, then the parent directory.
1140 ac_confdir
=`$as_dirname -- "$as_myself" ||
1141 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1142 X"$as_myself" : 'X\(//\)[^/]' \| \
1143 X"$as_myself" : 'X\(//\)$' \| \
1144 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1145 $as_echo X"$as_myself" |
1146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1164 if test ! -r "$srcdir/$ac_unique_file"; then
1168 ac_srcdir_defaulted
=no
1170 if test ! -r "$srcdir/$ac_unique_file"; then
1171 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1172 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1174 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1176 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1178 # When building in place, set srcdir=.
1179 if test "$ac_abs_confdir" = "$ac_pwd"; then
1182 # Remove unnecessary trailing slashes from srcdir.
1183 # Double slashes in file names in object file debugging info
1184 # mess up M-x gdb in Emacs.
1186 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1188 for ac_var
in $ac_precious_vars; do
1189 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1190 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1191 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1192 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1196 # Report the --help message.
1198 if test "$ac_init_help" = "long"; then
1199 # Omit some internal or obsolete options to make the list less imposing.
1200 # This message is too long to be a string in the A/UX 3.1 sh.
1202 \`configure' configures Polly 0.01 to adapt to many kinds of systems.
1204 Usage: $0 [OPTION]... [VAR=VALUE]...
1206 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1207 VAR=VALUE. See below for descriptions of some of the useful variables.
1209 Defaults for the options are specified in brackets.
1212 -h, --help display this help and exit
1213 --help=short display options specific to this package
1214 --help=recursive display the short help of all the included packages
1215 -V, --version display version information and exit
1216 -q, --quiet, --silent do not print \`checking...' messages
1217 --cache-file=FILE cache test results in FILE [disabled]
1218 -C, --config-cache alias for \`--cache-file=config.cache'
1219 -n, --no-create do not create output files
1220 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1222 Installation directories:
1223 --prefix=PREFIX install architecture-independent files in PREFIX
1224 [$ac_default_prefix]
1225 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1228 By default, \`make install' will install all the files in
1229 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1230 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1231 for instance \`--prefix=\$HOME'.
1233 For better control, use the options below.
1235 Fine tuning of the installation directories:
1236 --bindir=DIR user executables [EPREFIX/bin]
1237 --sbindir=DIR system admin executables [EPREFIX/sbin]
1238 --libexecdir=DIR program executables [EPREFIX/libexec]
1239 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1240 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1241 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1242 --libdir=DIR object code libraries [EPREFIX/lib]
1243 --includedir=DIR C header files [PREFIX/include]
1244 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1245 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1246 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1247 --infodir=DIR info documentation [DATAROOTDIR/info]
1248 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1249 --mandir=DIR man documentation [DATAROOTDIR/man]
1250 --docdir=DIR documentation root [DATAROOTDIR/doc/polly]
1251 --htmldir=DIR html documentation [DOCDIR]
1252 --dvidir=DIR dvi documentation [DOCDIR]
1253 --pdfdir=DIR pdf documentation [DOCDIR]
1254 --psdir=DIR ps documentation [DOCDIR]
1261 if test -n "$ac_init_help"; then
1262 case $ac_init_help in
1263 short | recursive
) echo "Configuration of Polly 0.01:";;
1268 --disable-option-checking ignore unrecognized
--enable/--with options
1269 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1270 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1271 --enable-polly-gpu-codegen
1272 Enable GPU code generation
in Polly
(default is NO
)
1275 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1276 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1277 --with-llvmsrc Location of LLVM Source Code
1278 --with-llvmobj Location of LLVM Object Code
1279 --with-gmp prefix of gmp
1280 --with-isl prefix of isl
1281 --with-cloog prefix of cloog
1282 --with-pluto prefix of pluto
1283 --with-openscop prefix of openscop
1284 --with-scoplib prefix of scoplib
1285 --with-cuda prefix of cuda
1287 Some influential environment variables
:
1288 CXX C
++ compiler
command
1289 CXXFLAGS C
++ compiler flags
1290 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1291 nonstandard directory
<lib dir
>
1292 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1293 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1294 you have headers
in a nonstandard directory
<include dir
>
1296 Use these variables to override the choices made by
`configure' or to help
1297 it to find libraries and programs with nonstandard names/locations.
1299 Report bugs to <polly-dev@googlegroups.com>.
1304 if test "$ac_init_help" = "recursive"; then
1305 # If there are subdirs, report their specific --help.
1306 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1307 test -d "$ac_dir" ||
1308 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1313 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1316 # A ".." for each directory in $ac_dir_suffix.
1317 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1318 case $ac_top_builddir_sub in
1319 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1320 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1323 ac_abs_top_builddir=$ac_pwd
1324 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1325 # for backward compatibility:
1326 ac_top_builddir=$ac_top_build_prefix
1329 .) # We are building in place.
1331 ac_top_srcdir=$ac_top_builddir_sub
1332 ac_abs_top_srcdir=$ac_pwd ;;
1333 [\\/]* | ?:[\\/]* ) # Absolute name.
1334 ac_srcdir=$srcdir$ac_dir_suffix;
1335 ac_top_srcdir=$srcdir
1336 ac_abs_top_srcdir=$srcdir ;;
1338 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1339 ac_top_srcdir=$ac_top_build_prefix$srcdir
1340 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1342 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1344 cd "$ac_dir" || { ac_status=$?; continue; }
1345 # Check for guested configure.
1346 if test -f "$ac_srcdir/configure.gnu"; then
1348 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1349 elif test -f "$ac_srcdir/configure"; then
1351 $SHELL "$ac_srcdir/configure" --help=recursive
1353 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1355 cd "$ac_pwd" || { ac_status=$?; break; }
1359 test -n "$ac_init_help" && exit $ac_status
1360 if $ac_init_version; then
1362 Polly configure 0.01
1363 generated by GNU Autoconf 2.65
1365 Copyright (C) 2009 Free Software Foundation, Inc.
1366 This configure script is free software; the Free Software Foundation
1367 gives unlimited permission to copy, distribute and modify it.
1372 ## ------------------------ ##
1373 ## Autoconf initialization. ##
1374 ## ------------------------ ##
1376 # ac_fn_cxx_try_compile LINENO
1377 # ----------------------------
1378 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1379 ac_fn_cxx_try_compile ()
1381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1382 rm -f conftest.$ac_objext
1383 if { { ac_try="$ac_compile"
1385 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1386 *) ac_try_echo
=$ac_try;;
1388 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1389 $as_echo "$ac_try_echo"; } >&5
1390 (eval "$ac_compile") 2>conftest.err
1392 if test -s conftest.err
; then
1393 grep -v '^ *+' conftest.err
>conftest.er1
1394 cat conftest.er1
>&5
1395 mv -f conftest.er1 conftest.err
1397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1398 test $ac_status = 0; } && {
1399 test -z "$ac_cxx_werror_flag" ||
1400 test ! -s conftest.err
1401 } && test -s conftest.
$ac_objext; then :
1404 $as_echo "$as_me: failed program was:" >&5
1405 sed 's/^/| /' conftest.
$ac_ext >&5
1409 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1410 as_fn_set_status
$ac_retval
1412 } # ac_fn_cxx_try_compile
1414 # ac_fn_cxx_try_link LINENO
1415 # -------------------------
1416 # Try to link conftest.$ac_ext, and return whether this succeeded.
1417 ac_fn_cxx_try_link
()
1419 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1420 rm -f conftest.
$ac_objext conftest
$ac_exeext
1421 if { { ac_try
="$ac_link"
1423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1424 *) ac_try_echo=$ac_try;;
1426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1427 $as_echo "$ac_try_echo"; } >&5
1428 (eval "$ac_link") 2>conftest.err
1430 if test -s conftest.err; then
1431 grep -v '^ *+' conftest.err >conftest.er1
1432 cat conftest.er1 >&5
1433 mv -f conftest.er1 conftest.err
1435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1436 test $ac_status = 0; } && {
1437 test -z "$ac_cxx_werror_flag" ||
1438 test ! -s conftest.err
1439 } && test -s conftest$ac_exeext && {
1440 test "$cross_compiling" = yes ||
1441 $as_test_x conftest$ac_exeext
1445 $as_echo "$as_me: failed program was:" >&5
1446 sed 's/^/| /' conftest.$ac_ext >&5
1450 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1451 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1452 # interfere with the next link command; also delete a directory that is
1453 # left behind by Apple's compiler. We do this before executing the actions.
1454 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1455 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1456 as_fn_set_status $ac_retval
1458 } # ac_fn_cxx_try_link
1459 cat >config.log <<_ACEOF
1460 This file contains any messages produced by compilers while
1461 running configure, to aid debugging if configure makes a mistake.
1463 It was created by Polly $as_me 0.01, which was
1464 generated by GNU Autoconf 2.65. Invocation command line was
1476 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1477 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1478 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1479 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1480 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1482 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1483 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1485 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1486 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1487 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1488 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1489 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1490 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1491 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1499 test -z "$as_dir" && as_dir=.
1500 $as_echo "PATH: $as_dir"
1516 # Keep a trace of the command line.
1517 # Strip out --no-create and --no-recursion so they do not pile up.
1518 # Strip out --silent because we don't want to record it for future runs.
1519 # Also quote any args containing shell meta-characters.
1520 # Make two passes to allow for proper duplicate-argument suppression.
1524 ac_must_keep_next=false
1530 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1531 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1532 | -silent | --silent | --silen | --sile | --sil)
1535 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1538 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1540 as_fn_append ac_configure_args1 " '$ac_arg'"
1541 if test $ac_must_keep_next = true; then
1542 ac_must_keep_next=false # Got value, back to normal.
1545 *=* | --config-cache | -C | -disable-* | --disable-* \
1546 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1547 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1548 | -with-* | --with-* | -without-* | --without-* | --x)
1549 case "$ac_configure_args0 " in
1550 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1553 -* ) ac_must_keep_next=true ;;
1556 as_fn_append ac_configure_args " '$ac_arg'"
1561 { ac_configure_args0=; unset ac_configure_args0;}
1562 { ac_configure_args1=; unset ac_configure_args1;}
1564 # When interrupted or exit'd, cleanup temporary files, and complete
1565 # config.log. We remove comments because anyway the quotes in there
1566 # would cause problems or look ugly.
1567 # WARNING: Use '\'' to represent an apostrophe within the trap.
1568 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1569 trap 'exit_status=$?
1570 # Save into config.log some information that might help in debugging.
1575 ## ---------------- ##
1576 ## Cache variables. ##
1577 ## ---------------- ##
1580 # The following way of writing the cache mishandles newlines in values,
1582 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1583 eval ac_val=\$$ac_var
1587 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1588 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1591 _ | IFS | as_nl) ;; #(
1592 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1593 *) { eval $ac_var=; unset $ac_var;} ;;
1598 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1599 *${as_nl}ac_space=\ *)
1601 "s/'\''/'\''\\\\'\'''\''/g;
1602 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1605 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1613 ## ----------------- ##
1614 ## Output variables. ##
1615 ## ----------------- ##
1618 for ac_var in $ac_subst_vars
1620 eval ac_val=\$$ac_var
1622 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1624 $as_echo "$ac_var='\''$ac_val'\''"
1628 if test -n "$ac_subst_files"; then
1630 ## ------------------- ##
1631 ## File substitutions. ##
1632 ## ------------------- ##
1635 for ac_var in $ac_subst_files
1637 eval ac_val=\$$ac_var
1639 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1641 $as_echo "$ac_var='\''$ac_val'\''"
1646 if test -s confdefs.h; then
1656 test "$ac_signal" != 0 &&
1657 $as_echo "$as_me: caught signal $ac_signal"
1658 $as_echo "$as_me: exit $exit_status"
1660 rm -f core *.core core.conftest.* &&
1661 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1664 for ac_signal in 1 2 13 15; do
1665 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1669 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1670 rm -f -r conftest* confdefs.h
1672 $as_echo "/* confdefs.h */" > confdefs.h
1674 # Predefined preprocessor variables.
1676 cat >>confdefs.h <<_ACEOF
1677 #define PACKAGE_NAME "$PACKAGE_NAME"
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE_STRING "$PACKAGE_STRING"
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1696 cat >>confdefs.h <<_ACEOF
1697 #define PACKAGE_URL "$PACKAGE_URL"
1701 # Let the site file select an alternate cache file if it wants to.
1702 # Prefer an explicitly selected file to automatically selected ones.
1705 if test -n "$CONFIG_SITE"; then
1706 ac_site_file1=$CONFIG_SITE
1707 elif test "x$prefix" != xNONE; then
1708 ac_site_file1=$prefix/share/config.site
1709 ac_site_file2=$prefix/etc/config.site
1711 ac_site_file1=$ac_default_prefix/share/config.site
1712 ac_site_file2=$ac_default_prefix/etc/config.site
1714 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1716 test "x$ac_site_file" = xNONE && continue
1717 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1719 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1720 sed 's/^/| /' "$ac_site_file" >&5
1725 if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special files
1727 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1728 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1730 $as_echo "$as_me: loading cache $cache_file" >&6;}
1732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733 *) . "./$cache_file";;
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1738 $as_echo "$as_me: creating cache $cache_file" >&6;}
1742 # Check that the precious variables saved in the cache have kept the same
1744 ac_cache_corrupted=false
1745 for ac_var in $ac_precious_vars; do
1746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747 eval ac_new_set=\$ac_env_${ac_var}_set
1748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749 eval ac_new_val=\$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1753 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1757 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 # differences in whitespace do not lead to failure.
1763 ac_old_val_w=`echo x
$ac_old_val`
1764 ac_new_val_w=`echo x
$ac_new_val`
1765 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1767 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1768 ac_cache_corrupted=:
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1771 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1772 eval $ac_var=\$ac_old_val
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1775 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1777 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1780 # Pass precious variables to config.status.
1781 if test "$ac_new_set" = set; then
1783 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1784 *) ac_arg=$ac_var=$ac_new_val ;;
1786 case " $ac_configure_args " in
1787 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1788 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1792 if $ac_cache_corrupted; then
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1796 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1797 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1799 ## -------------------- ##
1800 ## Main body of script. ##
1801 ## -------------------- ##
1804 ac_cpp='$CPP $CPPFLAGS'
1805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1811 LLVM_SRC_ROOT="`(cd $srcdir/..
/..
; pwd)`"
1812 LLVM_OBJ_ROOT="`(cd ..
/..
; pwd)`"
1815 # Check whether --with-llvmsrc was given.
1816 if test "${with_llvmsrc+set}" = set; then :
1817 withval=$with_llvmsrc; llvm_src="$withval"
1819 llvm_src="$LLVM_SRC_ROOT"
1825 # Check whether --with-llvmobj was given.
1826 if test "${with_llvmobj+set}" = set; then :
1827 withval=$with_llvmobj; llvm_obj="$withval"
1829 llvm_obj="$LLVM_OBJ_ROOT"
1834 ac_config_commands="$ac_config_commands setup"
1839 for ac_dir in $LLVM_SRC/autoconf "$srcdir"/$LLVM_SRC/autoconf; do
1840 for ac_t in install-sh install.sh shtool; do
1841 if test -f "$ac_dir/$ac_t"; then
1843 ac_install_sh="$ac_aux_dir/$ac_t -c"
1848 if test -z "$ac_aux_dir"; then
1849 as_fn_error "cannot find install-sh, install.sh, or shtool in $LLVM_SRC/autoconf \"$srcdir\"/$LLVM_SRC/autoconf" "$LINENO" 5
1852 # These three variables are undocumented and unsupported,
1853 # and are intended to be withdrawn in a future Autoconf release.
1854 # They can cause serious problems if a builder's source tree is in a directory
1855 # whose full name contains unusual characters.
1856 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1857 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1858 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1866 ac_config_files="$ac_config_files Makefile.config"
1868 ac_config_files="$ac_config_files Makefile.common"
1872 if test ${srcdir} != "." ; then
1873 if test -f ${srcdir}/include/polly/Config/config.h ; then
1874 as_fn_error "Already configured in ${srcdir}" "$LINENO" 5
1879 $as_echo "#define CLOOG_INT_GMP 1" >>confdefs.h
1891 ac_cpp='$CXXCPP $CPPFLAGS'
1892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1895 if test -z "$CXX"; then
1896 if test -n "$CCC"; then
1899 if test -n "$ac_tool_prefix"; then
1900 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1902 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1903 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1905 $as_echo_n "checking for $ac_word... " >&6; }
1906 if test "${ac_cv_prog_CXX+set}" = set; then :
1907 $as_echo_n "(cached) " >&6
1909 if test -n "$CXX"; then
1910 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1916 test -z "$as_dir" && as_dir=.
1917 for ac_exec_ext in '' $ac_executable_extensions; do
1918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1919 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1930 if test -n "$CXX"; then
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
1932 $as_echo "$CXX" >&6; }
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1935 $as_echo "no" >&6; }
1939 test -n "$CXX" && break
1942 if test -z "$CXX"; then
1944 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1946 # Extract the first word of "$ac_prog", so it can be a program name with args.
1947 set dummy $ac_prog; ac_word=$2
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1949 $as_echo_n "checking for $ac_word... " >&6; }
1950 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
1951 $as_echo_n "(cached) " >&6
1953 if test -n "$ac_ct_CXX"; then
1954 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1960 test -z "$as_dir" && as_dir=.
1961 for ac_exec_ext in '' $ac_executable_extensions; do
1962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1963 ac_cv_prog_ac_ct_CXX="$ac_prog"
1964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1973 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1974 if test -n "$ac_ct_CXX"; then
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
1976 $as_echo "$ac_ct_CXX" >&6; }
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1979 $as_echo "no" >&6; }
1983 test -n "$ac_ct_CXX" && break
1986 if test "x$ac_ct_CXX" = x; then
1989 case $cross_compiling:$ac_tool_warned in
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1993 ac_tool_warned=yes ;;
2001 # Provide some information about the compiler.
2002 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2005 for ac_option in --version -v -V -qversion; do
2006 { { ac_try="$ac_compiler $ac_option >&5"
2008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2009 *) ac_try_echo
=$ac_try;;
2011 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 $as_echo "$ac_try_echo"; } >&5
2013 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2015 if test -s conftest.err
; then
2017 ... rest of stderr output deleted ...
2018 10q' conftest.err
>conftest.er1
2019 cat conftest.er1
>&5
2021 rm -f conftest.er1 conftest.err
2022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2023 test $ac_status = 0; }
2026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2037 ac_clean_files_save
=$ac_clean_files
2038 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2039 # Try to create an executable without -o first, disregard a.out.
2040 # It will help us diagnose broken compilers, and finding out an intuition
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2043 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2044 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2046 # The possible output files:
2047 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2050 for ac_file
in $ac_files
2053 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2054 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2059 if { { ac_try
="$ac_link_default"
2061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2062 *) ac_try_echo=$ac_try;;
2064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2065 $as_echo "$ac_try_echo"; } >&5
2066 (eval "$ac_link_default") 2>&5
2068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2069 test $ac_status = 0; }; then :
2070 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2071 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2072 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2073 # so that the user can short-circuit this test for compilers unknown to
2075 for ac_file in $ac_files ''
2077 test -f "$ac_file" || continue
2079 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2082 # We found the default executable, but exeext='' is most
2086 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2088 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2090 # We set ac_cv_exeext here because the later test for it is not
2091 # safe: cross compilers may not add the suffix if given an `-o'
2092 # argument, so we may need to know it at that point already.
2093 # Even if this section looks crufty: it has the advantage of
2100 test "$ac_cv_exeext" = no && ac_cv_exeext=
2105 if test -z "$ac_file"; then :
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2107 $as_echo "no" >&6; }
2108 $as_echo "$as_me: failed program was:" >&5
2109 sed 's
/^
/|
/' conftest.$ac_ext >&5
2111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2112 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2113 { as_fn_set_status 77
2114 as_fn_error "C++ compiler cannot create executables
2115 See \`config.log
' for more details." "$LINENO" 5; }; }
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2118 $as_echo "yes" >&6; }
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2121 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2123 $as_echo "$ac_file" >&6; }
2124 ac_exeext=$ac_cv_exeext
2126 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2127 ac_clean_files=$ac_clean_files_save
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2129 $as_echo_n "checking for suffix of executables... " >&6; }
2130 if { { ac_try="$ac_link"
2132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2133 *) ac_try_echo=$ac_try;;
2135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2136 $as_echo "$ac_try_echo"; } >&5
2137 (eval "$ac_link") 2>&5
2139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2140 test $ac_status = 0; }; then :
2141 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2142 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2143 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2145 for ac_file
in conftest.exe conftest conftest.
*; do
2146 test -f "$ac_file" ||
continue
2148 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2149 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2157 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2158 See \`config.log' for more details." "$LINENO" 5; }
2160 rm -f conftest conftest
$ac_cv_exeext
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2162 $as_echo "$ac_cv_exeext" >&6; }
2164 rm -f conftest.
$ac_ext
2165 EXEEXT
=$ac_cv_exeext
2167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h. */
2173 FILE *f = fopen ("conftest.out", "w");
2174 return ferror (f) || fclose (f) != 0;
2180 ac_clean_files
="$ac_clean_files conftest.out"
2181 # Check that the compiler produces executables we can run. If not, either
2182 # the compiler is broken, or we cross compile.
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2184 $as_echo_n "checking whether we are cross compiling... " >&6; }
2185 if test "$cross_compiling" != yes; then
2186 { { ac_try
="$ac_link"
2188 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2189 *) ac_try_echo=$ac_try;;
2191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2192 $as_echo "$ac_try_echo"; } >&5
2193 (eval "$ac_link") 2>&5
2195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2196 test $ac_status = 0; }
2197 if { ac_try='./conftest$ac_cv_exeext'
2198 { { case "(($ac_try" in
2199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2200 *) ac_try_echo
=$ac_try;;
2202 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2203 $as_echo "$ac_try_echo"; } >&5
2204 (eval "$ac_try") 2>&5
2206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2207 test $ac_status = 0; }; }; then
2210 if test "$cross_compiling" = maybe
; then
2213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2215 as_fn_error
"cannot run C++ compiled programs.
2216 If you meant to cross compile, use \`--host'.
2217 See \`config.log' for more details." "$LINENO" 5; }
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2222 $as_echo "$cross_compiling" >&6; }
2224 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2225 ac_clean_files
=$ac_clean_files_save
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2227 $as_echo_n "checking for suffix of object files... " >&6; }
2228 if test "${ac_cv_objext+set}" = set; then :
2229 $as_echo_n "(cached) " >&6
2231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2232 /* end confdefs.h. */
2242 rm -f conftest.o conftest.obj
2243 if { { ac_try
="$ac_compile"
2245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2246 *) ac_try_echo=$ac_try;;
2248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2249 $as_echo "$ac_try_echo"; } >&5
2250 (eval "$ac_compile") 2>&5
2252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2253 test $ac_status = 0; }; then :
2254 for ac_file in conftest.o conftest.obj conftest.*; do
2255 test -f "$ac_file" || continue;
2257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2258 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2263 $as_echo "$as_me: failed program was:" >&5
2264 sed 's/^/| /' conftest.$ac_ext >&5
2266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2268 as_fn_error "cannot compute suffix of object files
: cannot compile
2269 See \
`config.log' for more details." "$LINENO" 5; }
2271 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2274 $as_echo "$ac_cv_objext" >&6; }
2275 OBJEXT=$ac_cv_objext
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2278 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2279 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
2280 $as_echo_n "(cached) " >&6
2282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2283 /* end confdefs.h. */
2296 if ac_fn_cxx_try_compile "$LINENO"; then :
2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2306 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2307 if test $ac_compiler_gnu = yes; then
2312 ac_test_CXXFLAGS=${CXXFLAGS+set}
2313 ac_save_CXXFLAGS=$CXXFLAGS
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2315 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2316 if test "${ac_cv_prog_cxx_g+set}" = set; then :
2317 $as_echo_n "(cached) " >&6
2319 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2320 ac_cxx_werror_flag=yes
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2334 if ac_fn_cxx_try_compile "$LINENO"; then :
2335 ac_cv_prog_cxx_g=yes
2338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2339 /* end confdefs.h. */
2349 if ac_fn_cxx_try_compile "$LINENO"; then :
2352 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2365 if ac_fn_cxx_try_compile "$LINENO"; then :
2366 ac_cv_prog_cxx_g=yes
2368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2373 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2376 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2377 if test "$ac_test_CXXFLAGS" = set; then
2378 CXXFLAGS=$ac_save_CXXFLAGS
2379 elif test $ac_cv_prog_cxx_g = yes; then
2380 if test "$GXX" = yes; then
2386 if test "$GXX" = yes; then
2393 ac_cpp='$CXXCPP $CPPFLAGS'
2394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2401 ac_cpp='$CXXCPP $CPPFLAGS'
2402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2406 OLD_CXXFLAGS=$CXXFLAGS;
2407 OLD_LDFLAGS=$LDFLAGS;
2412 # Get include path and lib path
2414 # Check whether --with-gmp was given.
2415 if test "${with_gmp+set}" = set; then :
2416 withval=$with_gmp; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2417 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2419 given_inc_path=inc_not_give_gmp;
2420 given_lib_path=lib_not_give_gmp
2424 # Check for library and headers works
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmp: gmp.h in $given_inc_path, and libgmp in $given_lib_path" >&5
2426 $as_echo_n "checking for gmp: gmp.h in $given_inc_path, and libgmp in $given_lib_path... " >&6; }
2428 # try to compile a file that includes a header of the library
2429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2430 /* end confdefs.h. */
2440 if ac_fn_cxx_try_link "$LINENO"; then :
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2442 $as_echo "ok" >&6; }
2445 if test "x$given_inc_path" != "xinc_not_give_gmp"; then :
2446 gmp_inc="-I$given_inc_path"
2451 if test "x$given_lib_path" != "xlib_not_give_gmp"; then :
2452 gmp_ld="-L$given_lib_path"
2456 if test "x" = "xrequired"; then :
2457 as_fn_error "gmp required but not found" "$LINENO" 5
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2460 $as_echo "not found" >&6; }
2464 rm -f core conftest.err conftest.$ac_objext \
2465 conftest$ac_exeext conftest.$ac_ext
2467 # reset original CXXFLAGS
2468 CXXFLAGS=$OLD_CXXFLAGS
2469 LDFLAGS=$OLD_LDFLAGS;
2472 ac_cpp='$CPP $CPPFLAGS'
2473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2479 saved_CXXFLAGS=$CXXFLAGS
2480 CXXFLAGS="$CXXFLAGS"
2483 ac_cpp='$CXXCPP $CPPFLAGS'
2484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2488 OLD_CXXFLAGS=$CXXFLAGS;
2489 OLD_LDFLAGS=$LDFLAGS;
2494 # Get include path and lib path
2496 # Check whether --with-isl was given.
2497 if test "${with_isl+set}" = set; then :
2498 withval=$with_isl; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2499 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2501 given_inc_path=inc_not_give_isl;
2502 given_lib_path=lib_not_give_isl
2506 # Check for library and headers works
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl: isl/val.h in $given_inc_path, and libisl in $given_lib_path" >&5
2508 $as_echo_n "checking for isl: isl/val.h in $given_inc_path, and libisl in $given_lib_path... " >&6; }
2510 # try to compile a file that includes a header of the library
2511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2512 /* end confdefs.h. */
2513 #include <isl/val.h>
2522 if ac_fn_cxx_try_link "$LINENO"; then :
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2524 $as_echo "ok" >&6; }
2527 if test "x$given_inc_path" != "xinc_not_give_isl"; then :
2528 isl_inc="-I$given_inc_path"
2533 if test "x$given_lib_path" != "xlib_not_give_isl"; then :
2534 isl_ld="-L$given_lib_path"
2538 if test "xrequired" = "xrequired"; then :
2539 as_fn_error "isl required but not found" "$LINENO" 5
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2542 $as_echo "not found" >&6; }
2546 rm -f core conftest.err conftest.$ac_objext \
2547 conftest$ac_exeext conftest.$ac_ext
2549 # reset original CXXFLAGS
2550 CXXFLAGS=$OLD_CXXFLAGS
2551 LDFLAGS=$OLD_LDFLAGS;
2554 ac_cpp='$CPP $CPPFLAGS'
2555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2560 CXXFLAGS=$saved_CXXFLAGS
2562 saved_CXXFLAGS=$CXXFLAGS
2563 CXXFLAGS="$CXXFLAGS $gmp_inc $isl_inc"
2566 ac_cpp='$CXXCPP $CPPFLAGS'
2567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2571 OLD_CXXFLAGS=$CXXFLAGS;
2572 OLD_LDFLAGS=$LDFLAGS;
2575 LIBS="$LIBS -lcloog-isl";
2577 # Get include path and lib path
2579 # Check whether --with-cloog was given.
2580 if test "${with_cloog+set}" = set; then :
2581 withval=$with_cloog; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2582 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2584 given_inc_path=inc_not_give_cloog;
2585 given_lib_path=lib_not_give_cloog
2589 # Check for library and headers works
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cloog: cloog/isl/cloog.h in $given_inc_path, and libcloog-isl in $given_lib_path" >&5
2591 $as_echo_n "checking for cloog: cloog/isl/cloog.h in $given_inc_path, and libcloog-isl in $given_lib_path... " >&6; }
2593 # try to compile a file that includes a header of the library
2594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2595 /* end confdefs.h. */
2596 #include <cloog/isl/cloog.h>
2605 if ac_fn_cxx_try_link "$LINENO"; then :
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2607 $as_echo "ok" >&6; }
2610 if test "x$given_inc_path" != "xinc_not_give_cloog"; then :
2611 cloog_inc="-I$given_inc_path"
2614 cloog_lib="-lcloog-isl"
2616 if test "x$given_lib_path" != "xlib_not_give_cloog"; then :
2617 cloog_ld="-L$given_lib_path"
2621 if test "x" = "xrequired"; then :
2622 as_fn_error "cloog required but not found" "$LINENO" 5
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2625 $as_echo "not found" >&6; }
2629 rm -f core conftest.err conftest.$ac_objext \
2630 conftest$ac_exeext conftest.$ac_ext
2632 # reset original CXXFLAGS
2633 CXXFLAGS=$OLD_CXXFLAGS
2634 LDFLAGS=$OLD_LDFLAGS;
2637 ac_cpp='$CPP $CPPFLAGS'
2638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2643 CXXFLAGS=$saved_CXXFLAGS
2644 if test "x$cloog_found" = "xyes"; then :
2646 $as_echo "#define CLOOG_FOUND 1" >>confdefs.h
2650 saved_CXXFLAGS=$CXXFLAGS
2651 CXXFLAGS="$CXXFLAGS $gmp_inc $isl_inc"
2654 ac_cpp='$CXXCPP $CPPFLAGS'
2655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2659 OLD_CXXFLAGS=$CXXFLAGS;
2660 OLD_LDFLAGS=$LDFLAGS;
2663 LIBS="$LIBS -lpluto";
2665 # Get include path and lib path
2667 # Check whether --with-pluto was given.
2668 if test "${with_pluto+set}" = set; then :
2669 withval=$with_pluto; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2670 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2672 given_inc_path=inc_not_give_pluto;
2673 given_lib_path=lib_not_give_pluto
2677 # Check for library and headers works
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pluto: pluto/libpluto.h in $given_inc_path, and libpluto in $given_lib_path" >&5
2679 $as_echo_n "checking for pluto: pluto/libpluto.h in $given_inc_path, and libpluto in $given_lib_path... " >&6; }
2681 # try to compile a file that includes a header of the library
2682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2683 /* end confdefs.h. */
2684 #include <pluto/libpluto.h>
2693 if ac_fn_cxx_try_link "$LINENO"; then :
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2695 $as_echo "ok" >&6; }
2698 if test "x$given_inc_path" != "xinc_not_give_pluto"; then :
2699 pluto_inc="-I$given_inc_path"
2704 if test "x$given_lib_path" != "xlib_not_give_pluto"; then :
2705 pluto_ld="-L$given_lib_path"
2709 if test "x" = "xrequired"; then :
2710 as_fn_error "pluto required but not found" "$LINENO" 5
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2713 $as_echo "not found" >&6; }
2717 rm -f core conftest.err conftest.$ac_objext \
2718 conftest$ac_exeext conftest.$ac_ext
2720 # reset original CXXFLAGS
2721 CXXFLAGS=$OLD_CXXFLAGS
2722 LDFLAGS=$OLD_LDFLAGS;
2725 ac_cpp='$CPP $CPPFLAGS'
2726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2731 CXXFLAGS=$saved_CXXFLAGS
2732 if test "x$pluto_found" = "xyes"; then :
2734 $as_echo "#define PLUTO_FOUND 1" >>confdefs.h
2740 ac_cpp='$CXXCPP $CPPFLAGS'
2741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2745 OLD_CXXFLAGS=$CXXFLAGS;
2746 OLD_LDFLAGS=$LDFLAGS;
2749 LIBS="$LIBS -lopenscop";
2751 # Get include path and lib path
2753 # Check whether --with-openscop was given.
2754 if test "${with_openscop+set}" = set; then :
2755 withval=$with_openscop; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2756 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2758 given_inc_path=inc_not_give_openscop;
2759 given_lib_path=lib_not_give_openscop
2763 # Check for library and headers works
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openscop: openscop/scop.h in $given_inc_path, and libopenscop in $given_lib_path" >&5
2765 $as_echo_n "checking for openscop: openscop/scop.h in $given_inc_path, and libopenscop in $given_lib_path... " >&6; }
2767 # try to compile a file that includes a header of the library
2768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2769 /* end confdefs.h. */
2770 #include <openscop/scop.h>
2779 if ac_fn_cxx_try_link "$LINENO"; then :
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2781 $as_echo "ok" >&6; }
2782 openscop_found="yes"
2784 if test "x$given_inc_path" != "xinc_not_give_openscop"; then :
2785 openscop_inc="-I$given_inc_path"
2788 openscop_lib="-lopenscop"
2790 if test "x$given_lib_path" != "xlib_not_give_openscop"; then :
2791 openscop_ld="-L$given_lib_path"
2795 if test "x" = "xrequired"; then :
2796 as_fn_error "openscop required but not found" "$LINENO" 5
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2799 $as_echo "not found" >&6; }
2803 rm -f core conftest.err conftest.$ac_objext \
2804 conftest$ac_exeext conftest.$ac_ext
2806 # reset original CXXFLAGS
2807 CXXFLAGS=$OLD_CXXFLAGS
2808 LDFLAGS=$OLD_LDFLAGS;
2811 ac_cpp='$CPP $CPPFLAGS'
2812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2817 if test "x$openscop_found" = "xyes"; then :
2819 $as_echo "#define OPENSCOP_FOUND 1" >>confdefs.h
2825 ac_cpp='$CXXCPP $CPPFLAGS'
2826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2830 OLD_CXXFLAGS=$CXXFLAGS;
2831 OLD_LDFLAGS=$LDFLAGS;
2834 LIBS="$LIBS -lscoplib";
2836 # Get include path and lib path
2838 # Check whether --with-scoplib was given.
2839 if test "${with_scoplib+set}" = set; then :
2840 withval=$with_scoplib; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2841 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2843 given_inc_path=inc_not_give_scoplib;
2844 given_lib_path=lib_not_give_scoplib
2848 # Check for library and headers works
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scoplib: scoplib/scop.h in $given_inc_path, and libscoplib in $given_lib_path" >&5
2850 $as_echo_n "checking for scoplib: scoplib/scop.h in $given_inc_path, and libscoplib in $given_lib_path... " >&6; }
2852 # try to compile a file that includes a header of the library
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2855 #include <scoplib/scop.h>
2864 if ac_fn_cxx_try_link "$LINENO"; then :
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2866 $as_echo "ok" >&6; }
2869 if test "x$given_inc_path" != "xinc_not_give_scoplib"; then :
2870 scoplib_inc="-I$given_inc_path"
2873 scoplib_lib="-lscoplib"
2875 if test "x$given_lib_path" != "xlib_not_give_scoplib"; then :
2876 scoplib_ld="-L$given_lib_path"
2880 if test "x" = "xrequired"; then :
2881 as_fn_error "scoplib required but not found" "$LINENO" 5
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2884 $as_echo "not found" >&6; }
2888 rm -f core conftest.err conftest.$ac_objext \
2889 conftest$ac_exeext conftest.$ac_ext
2891 # reset original CXXFLAGS
2892 CXXFLAGS=$OLD_CXXFLAGS
2893 LDFLAGS=$OLD_LDFLAGS;
2896 ac_cpp='$CPP $CPPFLAGS'
2897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2902 if test "x$scoplib_found" = "xyes"; then :
2904 $as_echo "#define SCOPLIB_FOUND 1" >>confdefs.h
2908 if test "x$scoplib_found" = "xyes"; then :
2909 scoplib_rpath="-Wl,-rpath=$given_lib_path"
2916 # Check whether --enable-polly_gpu_codegen was given.
2917 if test "${enable_polly_gpu_codegen+set}" = set; then :
2918 enableval=$enable_polly_gpu_codegen;
2923 case "$enableval" in
2925 $as_echo "#define GPU_CODEGEN 1" >>confdefs.h
2929 *) as_fn_error "Invalid setting for --enable-polly-gpu-codegen. Use \"yes\" or \"no\"" "$LINENO" 5 ;;
2934 ac_cpp='$CXXCPP $CPPFLAGS'
2935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2939 OLD_CXXFLAGS=$CXXFLAGS;
2940 OLD_LDFLAGS=$LDFLAGS;
2943 LIBS="$LIBS -lcuda";
2945 # Get include path and lib path
2947 # Check whether --with-cuda was given.
2948 if test "${with_cuda+set}" = set; then :
2949 withval=$with_cuda; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2950 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2952 given_inc_path=inc_not_give_cuda;
2953 given_lib_path=lib_not_give_cuda
2957 # Check for library and headers works
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cuda: cuda.h in $given_inc_path, and libcuda in $given_lib_path" >&5
2959 $as_echo_n "checking for cuda: cuda.h in $given_inc_path, and libcuda in $given_lib_path... " >&6; }
2961 # try to compile a file that includes a header of the library
2962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2963 /* end confdefs.h. */
2973 if ac_fn_cxx_try_link "$LINENO"; then :
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2975 $as_echo "ok" >&6; }
2978 if test "x$given_inc_path" != "xinc_not_give_cuda"; then :
2979 cuda_inc="-I$given_inc_path"
2984 if test "x$given_lib_path" != "xlib_not_give_cuda"; then :
2985 cuda_ld="-L$given_lib_path"
2989 if test "x" = "xrequired"; then :
2990 as_fn_error "cuda required but not found" "$LINENO" 5
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2993 $as_echo "not found" >&6; }
2997 rm -f core conftest.err conftest.$ac_objext \
2998 conftest$ac_exeext conftest.$ac_ext
3000 # reset original CXXFLAGS
3001 CXXFLAGS=$OLD_CXXFLAGS
3002 LDFLAGS=$OLD_LDFLAGS;
3005 ac_cpp='$CPP $CPPFLAGS'
3006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3012 if test "x$cuda_found" = "xyes"; then :
3014 $as_echo "#define CUDALIB_FOUND 1" >>confdefs.h
3019 ac_config_headers="$ac_config_headers include/polly/Config/config.h"
3021 cat >confcache <<\_ACEOF
3022 # This file is a shell script that caches the results of configure
3023 # tests run on this system so they can be shared between configure
3024 # scripts and configure runs, see configure's option --config-cache.
3025 # It is not useful on other systems. If it contains results you don't
3026 # want to keep, you may remove or edit it.
3028 # config.status only pays attention to the cache file if you give it
3029 # the --recheck option to rerun configure.
3031 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
3032 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3037 # The following way of writing the cache mishandles newlines in values,
3038 # but we know of no workaround that is simple, portable, and efficient.
3039 # So, we kill variables containing newlines.
3040 # Ultrix sh set writes to stderr and can't be redirected directly,
3041 # and sets the high bit in the cache file unless we assign to the vars.
3043 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3044 eval ac_val
=\$
$ac_var
3048 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3049 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3052 _ | IFS | as_nl
) ;; #(
3053 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3054 *) { eval $ac_var=; unset $ac_var;} ;;
3060 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3061 *${as_nl}ac_space
=\
*)
3062 # `set' does not quote correctly, so add quotes: double-quote
3063 # substitution turns \\\\ into \\, and sed turns \\ into \.
3066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3069 # `set' quotes correctly as required by POSIX, so do not add quotes.
3070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3081 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3083 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3084 if test -w "$cache_file"; then
3085 test "x$cache_file" != "x/dev/null" &&
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3087 $as_echo "$as_me: updating cache $cache_file" >&6;}
3088 cat confcache
>$cache_file
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3091 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3096 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3097 # Let make expand exec_prefix.
3098 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3100 DEFS
=-DHAVE_CONFIG_H
3104 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3105 # 1. Remove the extension, and $U if already installed.
3106 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3107 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3108 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3109 # will be set to the directory where LIBOBJS objects are built.
3110 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3111 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3115 LTLIBOBJS
=$ac_ltlibobjs
3119 : ${CONFIG_STATUS=./config.status}
3121 ac_clean_files_save
=$ac_clean_files
3122 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3124 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3126 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3128 # Generated by $as_me.
3129 # Run this file to recreate the current configuration.
3130 # Compiler output produced by configure, useful for debugging
3131 # configure, is in config.log if it exists.
3137 SHELL=\${CONFIG_SHELL-$SHELL}
3140 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3141 ## -------------------- ##
3142 ## M4sh Initialization. ##
3143 ## -------------------- ##
3145 # Be more Bourne compatible
3146 DUALCASE
=1; export DUALCASE
# for MKS sh
3147 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3150 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3151 # is contrary to our usage. Disable this feature.
3152 alias -g '${1+"$@"}'='"$@"'
3153 setopt NO_GLOB_SUBST
3155 case `(set -o) 2>/dev/null` in #(
3167 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3168 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3169 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3170 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3171 # Prefer a ksh shell builtin over an external printf program on Solaris,
3172 # but without wasting forks for bash or zsh.
3173 if test -z "$BASH_VERSION$ZSH_VERSION" \
3174 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3175 as_echo='print
-r --'
3176 as_echo_n='print
-rn --'
3177 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3178 as_echo='printf %s
\n'
3179 as_echo_n='printf %s
'
3181 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3182 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3183 as_echo_n='/usr
/ucb
/echo -n'
3185 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3186 as_echo_n_body='eval
3190 expr "X$arg" : "X\\(.*\\)$as_nl";
3191 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3193 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3195 export as_echo_n_body
3196 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3199 as_echo='sh
-c $as_echo_body as_echo
'
3202 # The user is always right.
3203 if test "${PATH_SEPARATOR+set}" != set; then
3205 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3206 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3213 # We need space, tab and new line, in precisely that order. Quoting is
3214 # there to prevent editors from complaining about space-tab.
3215 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3216 # splitting by setting IFS to empty value.)
3219 # Find who we are. Look in the path if we contain no directory separator.
3221 *[\\/]* ) as_myself=$0 ;;
3222 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 test -z "$as_dir" && as_dir=.
3227 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3233 # We did not find ourselves, most probably we were run as `sh COMMAND'
3234 # in which case we are not to be found in the path.
3235 if test "x$as_myself" = x
; then
3238 if test ! -f "$as_myself"; then
3239 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3243 # Unset variables that we do not need and which cause bugs (e.g. in
3244 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3245 # suppresses any "Segmentation fault" message there. '((' could
3246 # trigger a bug in pdksh 5.2.14.
3247 for as_var
in BASH_ENV ENV MAIL MAILPATH
3248 do eval test x\
${$as_var+set} = xset \
3249 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3262 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3265 # as_fn_error ERROR [LINENO LOG_FD]
3266 # ---------------------------------
3267 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3268 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3269 # script with status $?, using 1 if that was 0.
3272 as_status
=$?
; test $as_status -eq 0 && as_status
=1
3274 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3275 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3277 $as_echo "$as_me: error: $1" >&2
3278 as_fn_exit
$as_status
3282 # as_fn_set_status STATUS
3283 # -----------------------
3284 # Set $? to STATUS, without forking.
3288 } # as_fn_set_status
3292 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3302 # Portably unset VAR.
3305 { eval $1=; unset $1;}
3307 as_unset
=as_fn_unset
3308 # as_fn_append VAR VALUE
3309 # ----------------------
3310 # Append the text in VALUE to the end of the definition contained in VAR. Take
3311 # advantage of any shell optimizations that allow amortized linear growth over
3312 # repeated appends, instead of the typical quadratic growth present in naive
3314 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3315 eval 'as_fn_append ()
3326 # as_fn_arith ARG...
3327 # ------------------
3328 # Perform arithmetic evaluation on the ARGs, and store the result in the
3329 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3330 # must be portable across $(()) and expr.
3331 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3332 eval 'as_fn_arith ()
3339 as_val
=`expr "$@" || test $? -eq 1`
3344 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3345 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3351 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3352 as_basename
=basename
3357 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3363 as_me
=`$as_basename -- "$0" ||
3364 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3365 X"$0" : 'X\(//\)$' \| \
3366 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3368 sed '/^.*\/\([^/][^/]*\)\/*$/{
3382 # Avoid depending upon Character Ranges.
3383 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3384 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3385 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3386 as_cr_digits
='0123456789'
3387 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3389 ECHO_C
= ECHO_N
= ECHO_T
=
3390 case `echo -n x` in #(((((
3392 case `echo 'xy\c'` in
3393 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3395 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3402 rm -f conf$$ conf$$.exe conf$$.
file
3403 if test -d conf$$.dir
; then
3404 rm -f conf$$.dir
/conf$$.
file
3407 mkdir conf$$.dir
2>/dev
/null
3409 if (echo >conf$$.
file) 2>/dev
/null
; then
3410 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3412 # ... but there are two gotchas:
3413 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3414 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3415 # In both cases, we have to default to `cp -p'.
3416 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3418 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3426 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3427 rmdir conf$$.dir
2>/dev
/null
3432 # Create "$as_dir" as a directory, including parents if necessary.
3437 -*) as_dir
=.
/$as_dir;;
3439 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3443 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3444 *) as_qdir
=$as_dir;;
3446 as_dirs
="'$as_qdir' $as_dirs"
3447 as_dir
=`$as_dirname -- "$as_dir" ||
3448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3449 X"$as_dir" : 'X\(//\)[^/]' \| \
3450 X"$as_dir" : 'X\(//\)$' \| \
3451 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3452 $as_echo X"$as_dir" |
3453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3470 test -d "$as_dir" && break
3472 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3473 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
3477 if mkdir
-p .
2>/dev
/null
; then
3478 as_mkdir_p
='mkdir -p "$as_dir"'
3480 test -d .
/-p && rmdir .
/-p
3484 if test -x / >/dev
/null
2>&1; then
3487 if ls -dL / >/dev
/null
2>&1; then
3494 if test -d "$1"; then
3500 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3501 ???[sx]*):;;*)false;;esac;fi
3505 as_executable_p
=$as_test_x
3507 # Sed expression to map a string onto a valid CPP name.
3508 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3510 # Sed expression to map a string onto a valid variable name.
3511 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3515 ## ----------------------------------- ##
3516 ## Main body of $CONFIG_STATUS script. ##
3517 ## ----------------------------------- ##
3519 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3522 # Save the log message, to keep $0 and so on meaningful, and to
3523 # report actual input values of CONFIG_FILES etc. instead of their
3524 # values after options handling.
3526 This file was extended by Polly $as_me 0.01, which was
3527 generated by GNU Autoconf 2.65. Invocation command line was
3529 CONFIG_FILES = $CONFIG_FILES
3530 CONFIG_HEADERS = $CONFIG_HEADERS
3531 CONFIG_LINKS = $CONFIG_LINKS
3532 CONFIG_COMMANDS = $CONFIG_COMMANDS
3535 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3540 case $ac_config_files in *"
3541 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3544 case $ac_config_headers in *"
3545 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
3549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3550 # Files that config.status was made for.
3551 config_files="$ac_config_files"
3552 config_headers="$ac_config_headers"
3553 config_commands="$ac_config_commands"
3557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3559 \`$as_me' instantiates files and other configuration actions
3560 from templates according to the current configuration. Unless the files
3561 and actions are specified as TAGs, all are instantiated by default.
3563 Usage: $0 [OPTION]... [TAG]...
3565 -h, --help print this help, then exit
3566 -V, --version print version number and configuration settings, then exit
3567 --config print configuration, then exit
3568 -q, --quiet, --silent
3569 do not print progress messages
3570 -d, --debug don't remove temporary files
3571 --recheck update $as_me by reconfiguring in the same conditions
3572 --file=FILE[:TEMPLATE]
3573 instantiate the configuration file FILE
3574 --header=FILE[:TEMPLATE]
3575 instantiate the configuration header FILE
3577 Configuration files:
3580 Configuration headers:
3583 Configuration commands:
3586 Report bugs to <polly-dev@googlegroups.com>."
3589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3590 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3592 Polly config.status 0.01
3593 configured by $0, generated by GNU Autoconf 2.65,
3594 with options \\"\$ac_cs_config\\"
3596 Copyright (C) 2009 Free Software Foundation, Inc.
3597 This config.status script is free software; the Free Software Foundation
3598 gives unlimited permission to copy, distribute and modify it."
3602 test -n "\$AWK" || AWK=awk
3605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3606 # The default lists apply if the user does not specify any file.
3612 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3613 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3624 # Handling of the options.
3625 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3627 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3628 $as_echo "$ac_cs_version"; exit ;;
3629 --config |
--confi |
--conf |
--con |
--co |
--c )
3630 $as_echo "$ac_cs_config"; exit ;;
3631 --debug |
--debu |
--deb |
--de |
--d |
-d )
3633 --file |
--fil |
--fi |
--f )
3636 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3638 as_fn_append CONFIG_FILES
" '$ac_optarg'"
3639 ac_need_defaults
=false
;;
3640 --header |
--heade |
--head |
--hea )
3643 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3645 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
3646 ac_need_defaults
=false
;;
3648 # Conflict between --help and --header
3649 as_fn_error
"ambiguous option: \`$1'
3650 Try \`$0 --help' for more information.";;
3651 --help |
--hel |
-h )
3652 $as_echo "$ac_cs_usage"; exit ;;
3653 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3654 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3658 -*) as_fn_error
"unrecognized option: \`$1'
3659 Try \`$0 --help' for more information." ;;
3661 *) as_fn_append ac_config_targets
" $1"
3662 ac_need_defaults
=false
;;
3668 ac_configure_extra_args
=
3670 if $ac_cs_silent; then
3672 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3677 if \$ac_cs_recheck; then
3678 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3680 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3681 CONFIG_SHELL='$SHELL'
3687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3692 ## Running $as_me. ##
3698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3702 llvm_src="${LLVM_SRC}"
3706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3708 # Handling of arguments.
3709 for ac_config_target
in $ac_config_targets
3711 case $ac_config_target in
3712 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
3713 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
3714 "Makefile.common") CONFIG_FILES
="$CONFIG_FILES Makefile.common" ;;
3715 "include/polly/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/polly/Config/config.h" ;;
3717 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3722 # If the user did not use the arguments to specify the items to instantiate,
3723 # then the envvar interface is used. Set only those that are not.
3724 # We use the long form for the default assignment because of an extremely
3725 # bizarre bug on SunOS 4.1.3.
3726 if $ac_need_defaults; then
3727 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3728 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
3729 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3732 # Have a temporary directory for convenience. Make it in the build tree
3733 # simply because there is no reason against having it here, and in addition,
3734 # creating and moving files from /tmp can sometimes cause problems.
3735 # Hook for its removal unless debugging.
3736 # Note that there is a small window in which the directory will not be cleaned:
3737 # after its creation but before its name has been assigned to `$tmp'.
3741 trap 'exit_status=$?
3742 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3744 trap 'as_fn_exit 1' 1 2 13 15
3746 # Create a (secure) tmp directory for tmp files.
3749 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3750 test -n "$tmp" && test -d "$tmp"
3753 tmp
=.
/conf$$
-$RANDOM
3754 (umask 077 && mkdir
"$tmp")
3755 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
3757 # Set up the scripts for CONFIG_FILES section.
3758 # No need to generate them if there are no CONFIG_FILES.
3759 # This happens for instance with `./config.status config.h'.
3760 if test -n "$CONFIG_FILES"; then
3763 ac_cr
=`echo X | tr X '\015'`
3764 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3765 # But we know of no other shell where ac_cr would be empty at this
3766 # point, so we can use a bashism as a fallback.
3767 if test "x$ac_cr" = x
; then
3768 eval ac_cr
=\$
\'\\r
\'
3770 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3771 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3777 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3782 echo "cat >conf$$subs.awk <<_ACEOF" &&
3783 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3786 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
3787 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3789 for ac_last_try in false false false false false :; do
3790 . ./conf$$subs.sh ||
3791 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
3793 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
3794 if test $ac_delim_n = $ac_delim_num; then
3796 elif $ac_last_try; then
3797 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
3799 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3805 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
3809 s/^/S["/; s
/!.
*/"]=/
3819 s/\(.\{148\}\)..*/\1/
3821 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3826 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3833 s/\(.\{148\}\)..*/\1/
3835 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3839 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3844 ' <conf$$subs.awk | sed '
3849 ' >>$CONFIG_STATUS || ac_write_fail=1
3850 rm -f conf$$subs.awk
3851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3853 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
3854 for (key in S) S_is_set[key] = 1
3860 nfields = split(line, field, "@
")
3862 len = length(field[1])
3863 for (i = 2; i < nfields; i++) {
3865 keylen = length(key)
3866 if (S_is_set[key]) {
3868 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3869 len += length(value) + length(field[++i])
3880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3881 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3882 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
3885 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
3886 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
3889 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3890 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
3891 # trailing colons and then remove the whole line if VPATH becomes empty
3892 # (actually we leave an empty line to preserve line numbers).
3893 if test "x
$srcdir" = x.; then
3894 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3898 s/^\([^=]*=[ ]*\):*/\1/
3904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3905 fi # test -n "$CONFIG_FILES"
3907 # Set up the scripts for CONFIG_HEADERS section.
3908 # No need to generate them if there are no CONFIG_HEADERS.
3909 # This happens for instance with `./config.status Makefile'.
3910 if test -n "$CONFIG_HEADERS"; then
3911 cat >"$tmp/defines.
awk" <<\_ACAWK ||
3915 # Transform confdefs.h into an awk script `defines.awk', embedded as
3916 # here-document in config.status, that substitutes the proper values into
3917 # config.h.in to produce config.h.
3919 # Create a delimiter string that does not exist in confdefs.h, to ease
3920 # handling of long lines.
3922 for ac_last_try in false false :; do
3923 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
3924 if test -z "$ac_t"; then
3926 elif $ac_last_try; then
3927 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
3929 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3933 # For the awk script, D is an array of macro values keyed by name,
3934 # likewise P contains macro parameters if any. Preserve backslash
3935 # newline sequences.
3937 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3939 s/.\{148\}/&'"$ac_delim"'/g
3942 s/^[ ]*#[ ]*define[ ][ ]*/ /
3949 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
3951 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
3955 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
3956 D["\
1"]=" \
3\\\\\\n
"\\/p
3958 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
3963 s/.\{148\}/&'"$ac_delim"'/g
3968 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
3971 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
3973 ' <confdefs.h | sed '
3974 s/'"$ac_delim"'/"\\\
3975 "/g' >>$CONFIG_STATUS || ac_write_fail=1
3977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3978 for (key in D) D_is_set[key] = 1
3981 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3983 split(line, arg, " ")
3984 if (arg[1] == "#") {
3988 defundef
= substr
(arg
[1], 2)
3991 split(mac1
, mac2
, "(") #)
3993 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
3994 if (D_is_set
[macro
]) {
3995 # Preserve the white space surrounding the "#".
3996 print prefix
"define", macro P
[macro
] D
[macro
]
3999 # Replace #undef with comments. This is necessary, for example,
4000 # in the case of _POSIX_SOURCE, which is predefined and required
4001 # on some systems where configure will not decide to define it.
4002 if (defundef
== "undef") {
4003 print
"/*", prefix defundef
, macro
, "*/"
4011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4012 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
4013 fi # test -n "$CONFIG_HEADERS"
4016 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
4021 :[FHLC
]) ac_mode
=$ac_tag; continue;;
4023 case $ac_mode$ac_tag in
4025 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
4026 :[FH
]-) ac_tag
=-:-;;
4027 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
4044 -) ac_f
="$tmp/stdin";;
4045 *) # Look for the file first in the build tree, then in the source tree
4046 # (if the path is not absolute). The absolute path cannot be DOS-style,
4047 # because $ac_f cannot contain `:'.
4051 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
4053 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
4055 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4056 as_fn_append ac_file_inputs
" '$ac_f'"
4059 # Let's still pretend it is `configure' which instantiates (i.e., don't
4060 # use $as_me), people would be surprised to read:
4061 # /* config.h. Generated by config.status. */
4062 configure_input
='Generated from '`
4063 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4065 if test x
"$ac_file" != x-
; then
4066 configure_input
="$ac_file. $configure_input"
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4068 $as_echo "$as_me: creating $ac_file" >&6;}
4070 # Neutralize special characters interpreted by sed in replacement strings.
4071 case $configure_input in #(
4072 *\
&* |
*\|
* |
*\\* )
4073 ac_sed_conf_input
=`$as_echo "$configure_input" |
4074 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4075 *) ac_sed_conf_input
=$configure_input;;
4079 *:-:* |
*:-) cat >"$tmp/stdin" \
4080 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
4085 ac_dir
=`$as_dirname -- "$ac_file" ||
4086 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4087 X"$ac_file" : 'X\(//\)[^/]' \| \
4088 X"$ac_file" : 'X\(//\)$' \| \
4089 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4090 $as_echo X"$ac_file" |
4091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4108 as_dir
="$ac_dir"; as_fn_mkdir_p
4112 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4114 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4115 # A ".." for each directory in $ac_dir_suffix.
4116 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4117 case $ac_top_builddir_sub in
4118 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4119 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4122 ac_abs_top_builddir
=$ac_pwd
4123 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4124 # for backward compatibility:
4125 ac_top_builddir
=$ac_top_build_prefix
4128 .
) # We are building in place.
4130 ac_top_srcdir
=$ac_top_builddir_sub
4131 ac_abs_top_srcdir
=$ac_pwd ;;
4132 [\\/]* | ?
:[\\/]* ) # Absolute name.
4133 ac_srcdir
=$srcdir$ac_dir_suffix;
4134 ac_top_srcdir
=$srcdir
4135 ac_abs_top_srcdir
=$srcdir ;;
4137 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4138 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4139 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4141 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4153 # If the template does not know about datarootdir, expand it.
4154 # FIXME: This hack should be removed a few years after 2.60.
4155 ac_datarootdir_hack
=; ac_datarootdir_seen
=
4166 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4167 *datarootdir
*) ac_datarootdir_seen
=yes;;
4168 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4170 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4173 ac_datarootdir_hack='
4174 s&@datadir@&$datadir&g
4175 s&@docdir@&$docdir&g
4176 s&@infodir@&$infodir&g
4177 s&@localedir@&$localedir&g
4178 s&@mandir@&$mandir&g
4179 s&\\\${datarootdir}&$datarootdir&g' ;;
4183 # Neutralize VPATH when `$srcdir' = `.'.
4184 # Shell code in configure.ac might set extrasub.
4185 # FIXME: do we really want to maintain this feature?
4186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4187 ac_sed_extra="$ac_vpsub
4190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4192 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4193 s|@configure_input@|
$ac_sed_conf_input|
;t t
4194 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4195 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4196 s
&@srcdir@
&$ac_srcdir&;t t
4197 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4198 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4199 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4200 s
&@builddir@
&$ac_builddir&;t t
4201 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4202 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4203 $ac_datarootdir_hack
4205 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
4206 || as_fn_error "could not create
$ac_file" "$LINENO" 5
4208 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4209 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
4210 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4212 which seems to be undefined. Please make sure it is defined." >&5
4213 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4214 which seems to be undefined. Please make sure it is defined." >&2;}
4218 -) cat "$tmp/out" && rm -f "$tmp/out";;
4219 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4221 || as_fn_error "could not create $ac_file" "$LINENO" 5
4227 if test x"$ac_file" != x-; then
4229 $as_echo "/* $configure_input */" \
4230 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4231 } >"$tmp/config.h" \
4232 || as_fn_error "could not create $ac_file" "$LINENO" 5
4233 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4235 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4238 mv "$tmp/config.h" "$ac_file" \
4239 || as_fn_error "could not create $ac_file" "$LINENO" 5
4242 $as_echo "/* $configure_input */" \
4243 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4244 || as_fn_error "could not create -" "$LINENO" 5
4248 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4249 $as_echo "$as_me: executing $ac_file commands" >&6;}
4258 ac_clean_files=$ac_clean_files_save
4260 test $ac_write_fail = 0 ||
4261 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4264 # configure is writing to config.log, and then calls config.status.
4265 # config.status does its own redirection, appending to config.log.
4266 # Unfortunately, on DOS this fails, as config.log is still kept open
4267 # by configure, so config.status won't be able to
write to it
; its
4268 # output is simply discarded. So we exec the FD to /dev/null,
4269 # effectively closing config.log, so it can be properly (re)opened and
4270 # appended to by config.status. When coming back to configure, we
4271 # need to make the FD available again.
4272 if test "$no_create" != yes; then
4274 ac_config_status_args
=
4275 test "$silent" = yes &&
4276 ac_config_status_args
="$ac_config_status_args --quiet"
4278 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4280 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4281 # would make configure fail if this is the last instruction.
4282 $ac_cs_success || as_fn_exit $?
4284 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4286 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}