2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Polly 0.01.
5 # Report bugs to <polly-dev@googlegroups.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 STATUS ERROR [LINENO LOG_FD]
362 # ----------------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with STATUS, using 1 if that was 0.
368 as_status
=$1; test $as_status -eq 0 && as_status
=1
370 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 $as_echo "$as_me: error: $2" >&2
374 as_fn_exit
$as_status
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, old GNU/Linux) returns a bogus exit status,
536 # so uname gets run too.
537 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
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
619 program_transform_name
632 enable_option_checking
641 ac_precious_vars
='build_alias
652 # Initialize some variables set by options.
654 ac_init_version
=false
655 ac_unrecognized_opts
=
657 # The variables have the same names as the options, with
658 # dashes changed to underlines.
666 program_transform_name
=s
,x
,x
,
674 # Installation directory options.
675 # These are left unexpanded so users can "make install exec_prefix=/foo"
676 # and all the variables that are supposed to be based on exec_prefix
677 # by default will actually change.
678 # Use braces instead of parens because sh, perl, etc. also accept them.
679 # (The list follows the same order as the GNU Coding Standards.)
680 bindir
='${exec_prefix}/bin'
681 sbindir
='${exec_prefix}/sbin'
682 libexecdir
='${exec_prefix}/libexec'
683 datarootdir
='${prefix}/share'
684 datadir
='${datarootdir}'
685 sysconfdir
='${prefix}/etc'
686 sharedstatedir
='${prefix}/com'
687 localstatedir
='${prefix}/var'
688 includedir
='${prefix}/include'
689 oldincludedir
='/usr/include'
690 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
691 infodir
='${datarootdir}/info'
696 libdir
='${exec_prefix}/lib'
697 localedir
='${datarootdir}/locale'
698 mandir
='${datarootdir}/man'
704 # If the previous option needs an argument, assign it.
705 if test -n "$ac_prev"; then
706 eval $ac_prev=\
$ac_option
712 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
717 # Accept the important Cygnus configure options, so we can diagnose typos.
719 case $ac_dashdash$ac_option in
723 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
725 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
728 -build |
--build |
--buil |
--bui |
--bu)
729 ac_prev
=build_alias
;;
730 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
731 build_alias
=$ac_optarg ;;
733 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
734 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
735 ac_prev
=cache_file
;;
736 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
737 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
738 cache_file
=$ac_optarg ;;
741 cache_file
=config.cache
;;
743 -datadir |
--datadir |
--datadi |
--datad)
745 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
746 datadir
=$ac_optarg ;;
748 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
749 |
--dataroo |
--dataro |
--datar)
750 ac_prev
=datarootdir
;;
751 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
752 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
753 datarootdir
=$ac_optarg ;;
755 -disable-* |
--disable-*)
756 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
759 as_fn_error $?
"invalid feature name: $ac_useropt"
760 ac_useropt_orig
=$ac_useropt
761 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
762 case $ac_user_opts in
766 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
767 ac_unrecognized_sep
=', ';;
769 eval enable_
$ac_useropt=no
;;
771 -docdir |
--docdir |
--docdi |
--doc |
--do)
773 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
776 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
778 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
781 -enable-* |
--enable-*)
782 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
785 as_fn_error $?
"invalid feature name: $ac_useropt"
786 ac_useropt_orig
=$ac_useropt
787 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
788 case $ac_user_opts in
792 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
793 ac_unrecognized_sep
=', ';;
795 eval enable_
$ac_useropt=\
$ac_optarg ;;
797 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
798 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
799 |
--exec |
--exe |
--ex)
800 ac_prev
=exec_prefix
;;
801 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
802 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
803 |
--exec=* |
--exe=* |
--ex=*)
804 exec_prefix
=$ac_optarg ;;
806 -gas |
--gas |
--ga |
--g)
807 # Obsolete; use --with-gas.
810 -help |
--help |
--hel |
--he |
-h)
812 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
813 ac_init_help
=recursive
;;
814 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
815 ac_init_help
=short
;;
817 -host |
--host |
--hos |
--ho)
818 ac_prev
=host_alias
;;
819 -host=* |
--host=* |
--hos=* |
--ho=*)
820 host_alias
=$ac_optarg ;;
822 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
824 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
826 htmldir
=$ac_optarg ;;
828 -includedir |
--includedir |
--includedi |
--included |
--include \
829 |
--includ |
--inclu |
--incl |
--inc)
830 ac_prev
=includedir
;;
831 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
832 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
833 includedir
=$ac_optarg ;;
835 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
837 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
838 infodir
=$ac_optarg ;;
840 -libdir |
--libdir |
--libdi |
--libd)
842 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
845 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
846 |
--libexe |
--libex |
--libe)
847 ac_prev
=libexecdir
;;
848 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
849 |
--libexe=* |
--libex=* |
--libe=*)
850 libexecdir
=$ac_optarg ;;
852 -localedir |
--localedir |
--localedi |
--localed |
--locale)
854 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
855 localedir
=$ac_optarg ;;
857 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
858 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
859 ac_prev
=localstatedir
;;
860 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
861 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
862 localstatedir
=$ac_optarg ;;
864 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
866 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
870 # Obsolete; use --without-fp.
873 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
874 |
--no-cr |
--no-c |
-n)
877 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
878 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
881 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
882 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
883 |
--oldin |
--oldi |
--old |
--ol |
--o)
884 ac_prev
=oldincludedir
;;
885 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
886 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
887 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
888 oldincludedir
=$ac_optarg ;;
890 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
892 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
895 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
896 |
--program-pre |
--program-pr |
--program-p)
897 ac_prev
=program_prefix
;;
898 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
899 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
900 program_prefix
=$ac_optarg ;;
902 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
903 |
--program-suf |
--program-su |
--program-s)
904 ac_prev
=program_suffix
;;
905 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
906 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
907 program_suffix
=$ac_optarg ;;
909 -program-transform-name |
--program-transform-name \
910 |
--program-transform-nam |
--program-transform-na \
911 |
--program-transform-n |
--program-transform- \
912 |
--program-transform |
--program-transfor \
913 |
--program-transfo |
--program-transf \
914 |
--program-trans |
--program-tran \
915 |
--progr-tra |
--program-tr |
--program-t)
916 ac_prev
=program_transform_name
;;
917 -program-transform-name=* |
--program-transform-name=* \
918 |
--program-transform-nam=* |
--program-transform-na=* \
919 |
--program-transform-n=* |
--program-transform-=* \
920 |
--program-transform=* |
--program-transfor=* \
921 |
--program-transfo=* |
--program-transf=* \
922 |
--program-trans=* |
--program-tran=* \
923 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
924 program_transform_name
=$ac_optarg ;;
926 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
928 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
931 -psdir |
--psdir |
--psdi |
--psd |
--ps)
933 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
936 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
937 |
-silent |
--silent |
--silen |
--sile |
--sil)
940 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
942 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
944 sbindir
=$ac_optarg ;;
946 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
947 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
948 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
950 ac_prev
=sharedstatedir
;;
951 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
952 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
953 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
955 sharedstatedir
=$ac_optarg ;;
957 -site |
--site |
--sit)
959 -site=* |
--site=* |
--sit=*)
962 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
964 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
967 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
968 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
969 ac_prev
=sysconfdir
;;
970 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
971 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
972 sysconfdir
=$ac_optarg ;;
974 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
975 ac_prev
=target_alias
;;
976 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
977 target_alias
=$ac_optarg ;;
979 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
982 -version |
--version |
--versio |
--versi |
--vers |
-V)
986 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
989 as_fn_error $?
"invalid package name: $ac_useropt"
990 ac_useropt_orig
=$ac_useropt
991 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
996 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
997 ac_unrecognized_sep
=', ';;
999 eval with_
$ac_useropt=\
$ac_optarg ;;
1001 -without-* |
--without-*)
1002 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1005 as_fn_error $?
"invalid package name: $ac_useropt"
1006 ac_useropt_orig
=$ac_useropt
1007 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008 case $ac_user_opts in
1012 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1013 ac_unrecognized_sep
=', ';;
1015 eval with_
$ac_useropt=no
;;
1018 # Obsolete; use --with-x.
1021 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1022 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1023 ac_prev
=x_includes
;;
1024 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1025 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1026 x_includes
=$ac_optarg ;;
1028 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1029 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1030 ac_prev
=x_libraries
;;
1031 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1032 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1033 x_libraries
=$ac_optarg ;;
1035 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1036 Try \`$0 --help' for more information"
1040 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1041 # Reject names that are not valid shell variable names.
1042 case $ac_envvar in #(
1043 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1044 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1046 eval $ac_envvar=\
$ac_optarg
1047 export $ac_envvar ;;
1050 # FIXME: should be removed in autoconf 3.0.
1051 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1052 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1053 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1054 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1060 if test -n "$ac_prev"; then
1061 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1062 as_fn_error $?
"missing argument to $ac_option"
1065 if test -n "$ac_unrecognized_opts"; then
1066 case $enable_option_checking in
1068 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1069 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1073 # Check all directory arguments for consistency.
1074 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1075 datadir sysconfdir sharedstatedir localstatedir includedir \
1076 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1077 libdir localedir mandir
1079 eval ac_val
=\$
$ac_var
1080 # Remove trailing slashes.
1083 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1084 eval $ac_var=\
$ac_val;;
1086 # Be sure to have absolute directory names.
1088 [\\/$
]* | ?
:[\\/]* ) continue;;
1089 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1091 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1094 # There might be people who depend on the old broken behavior: `$host'
1095 # used to hold the argument of --host etc.
1096 # FIXME: To remove some day.
1099 target
=$target_alias
1101 # FIXME: To remove some day.
1102 if test "x$host_alias" != x
; then
1103 if test "x$build_alias" = x
; then
1104 cross_compiling
=maybe
1105 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1106 If a cross compiler is detected then cross compile mode will be used" >&2
1107 elif test "x$build_alias" != "x$host_alias"; then
1113 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1115 test "$silent" = yes && exec 6>/dev
/null
1118 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1119 ac_ls_di
=`ls -di .` &&
1120 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1121 as_fn_error $?
"working directory cannot be determined"
1122 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1123 as_fn_error $?
"pwd does not report name of working directory"
1126 # Find the source files, if location was not specified.
1127 if test -z "$srcdir"; then
1128 ac_srcdir_defaulted
=yes
1129 # Try the directory containing this script, then the parent directory.
1130 ac_confdir
=`$as_dirname -- "$as_myself" ||
1131 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1132 X"$as_myself" : 'X\(//\)[^/]' \| \
1133 X"$as_myself" : 'X\(//\)$' \| \
1134 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1135 $as_echo X"$as_myself" |
1136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1154 if test ! -r "$srcdir/$ac_unique_file"; then
1158 ac_srcdir_defaulted
=no
1160 if test ! -r "$srcdir/$ac_unique_file"; then
1161 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1162 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1164 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1166 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1168 # When building in place, set srcdir=.
1169 if test "$ac_abs_confdir" = "$ac_pwd"; then
1172 # Remove unnecessary trailing slashes from srcdir.
1173 # Double slashes in file names in object file debugging info
1174 # mess up M-x gdb in Emacs.
1176 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1178 for ac_var
in $ac_precious_vars; do
1179 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1180 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1181 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1182 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1186 # Report the --help message.
1188 if test "$ac_init_help" = "long"; then
1189 # Omit some internal or obsolete options to make the list less imposing.
1190 # This message is too long to be a string in the A/UX 3.1 sh.
1192 \`configure' configures Polly 0.01 to adapt to many kinds of systems.
1194 Usage: $0 [OPTION]... [VAR=VALUE]...
1196 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1197 VAR=VALUE. See below for descriptions of some of the useful variables.
1199 Defaults for the options are specified in brackets.
1202 -h, --help display this help and exit
1203 --help=short display options specific to this package
1204 --help=recursive display the short help of all the included packages
1205 -V, --version display version information and exit
1206 -q, --quiet, --silent do not print \`checking ...' messages
1207 --cache-file=FILE cache test results in FILE [disabled]
1208 -C, --config-cache alias for \`--cache-file=config.cache'
1209 -n, --no-create do not create output files
1210 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1212 Installation directories:
1213 --prefix=PREFIX install architecture-independent files in PREFIX
1214 [$ac_default_prefix]
1215 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1218 By default, \`make install' will install all the files in
1219 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1220 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1221 for instance \`--prefix=\$HOME'.
1223 For better control, use the options below.
1225 Fine tuning of the installation directories:
1226 --bindir=DIR user executables [EPREFIX/bin]
1227 --sbindir=DIR system admin executables [EPREFIX/sbin]
1228 --libexecdir=DIR program executables [EPREFIX/libexec]
1229 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1230 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1231 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1232 --libdir=DIR object code libraries [EPREFIX/lib]
1233 --includedir=DIR C header files [PREFIX/include]
1234 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1235 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1236 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1237 --infodir=DIR info documentation [DATAROOTDIR/info]
1238 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1239 --mandir=DIR man documentation [DATAROOTDIR/man]
1240 --docdir=DIR documentation root [DATAROOTDIR/doc/polly]
1241 --htmldir=DIR html documentation [DOCDIR]
1242 --dvidir=DIR dvi documentation [DOCDIR]
1243 --pdfdir=DIR pdf documentation [DOCDIR]
1244 --psdir=DIR ps documentation [DOCDIR]
1251 if test -n "$ac_init_help"; then
1252 case $ac_init_help in
1253 short | recursive
) echo "Configuration of Polly 0.01:";;
1258 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1259 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1260 --with-llvmsrc Location of LLVM Source Code
1261 --with-llvmobj Location of LLVM Object Code
1262 --with-gmp prefix of gmp
1263 --with-isl prefix of isl
1264 --with-cloog prefix of cloog
1265 --with-openscop prefix of openscop
1266 --with-scoplib prefix of scoplib
1268 Some influential environment variables
:
1269 CXX C
++ compiler
command
1270 CXXFLAGS C
++ compiler flags
1271 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1272 nonstandard directory
<lib dir
>
1273 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1274 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1275 you have headers
in a nonstandard directory
<include dir
>
1277 Use these variables to override the choices made by
`configure' or to help
1278 it to find libraries and programs with nonstandard names/locations.
1280 Report bugs to <polly-dev@googlegroups.com>.
1285 if test "$ac_init_help" = "recursive"; then
1286 # If there are subdirs, report their specific --help.
1287 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1288 test -d "$ac_dir" ||
1289 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1294 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1296 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1297 # A ".." for each directory in $ac_dir_suffix.
1298 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1299 case $ac_top_builddir_sub in
1300 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1301 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1304 ac_abs_top_builddir=$ac_pwd
1305 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1306 # for backward compatibility:
1307 ac_top_builddir=$ac_top_build_prefix
1310 .) # We are building in place.
1312 ac_top_srcdir=$ac_top_builddir_sub
1313 ac_abs_top_srcdir=$ac_pwd ;;
1314 [\\/]* | ?:[\\/]* ) # Absolute name.
1315 ac_srcdir=$srcdir$ac_dir_suffix;
1316 ac_top_srcdir=$srcdir
1317 ac_abs_top_srcdir=$srcdir ;;
1319 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1320 ac_top_srcdir=$ac_top_build_prefix$srcdir
1321 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1323 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1325 cd "$ac_dir" || { ac_status=$?; continue; }
1326 # Check for guested configure.
1327 if test -f "$ac_srcdir/configure.gnu"; then
1329 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1330 elif test -f "$ac_srcdir/configure"; then
1332 $SHELL "$ac_srcdir/configure" --help=recursive
1334 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336 cd "$ac_pwd" || { ac_status=$?; break; }
1340 test -n "$ac_init_help" && exit $ac_status
1341 if $ac_init_version; then
1343 Polly configure 0.01
1344 generated by GNU Autoconf 2.67
1346 Copyright (C) 2010 Free Software Foundation, Inc.
1347 This configure script is free software; the Free Software Foundation
1348 gives unlimited permission to copy, distribute and modify it.
1353 ## ------------------------ ##
1354 ## Autoconf initialization. ##
1355 ## ------------------------ ##
1357 # ac_fn_cxx_try_compile LINENO
1358 # ----------------------------
1359 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1360 ac_fn_cxx_try_compile ()
1362 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1363 rm -f conftest.$ac_objext
1364 if { { ac_try="$ac_compile"
1366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1367 *) ac_try_echo
=$ac_try;;
1369 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1370 $as_echo "$ac_try_echo"; } >&5
1371 (eval "$ac_compile") 2>conftest.err
1373 if test -s conftest.err
; then
1374 grep -v '^ *+' conftest.err
>conftest.er1
1375 cat conftest.er1
>&5
1376 mv -f conftest.er1 conftest.err
1378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1379 test $ac_status = 0; } && {
1380 test -z "$ac_cxx_werror_flag" ||
1381 test ! -s conftest.err
1382 } && test -s conftest.
$ac_objext; then :
1385 $as_echo "$as_me: failed program was:" >&5
1386 sed 's/^/| /' conftest.
$ac_ext >&5
1390 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1391 as_fn_set_status
$ac_retval
1393 } # ac_fn_cxx_try_compile
1395 # ac_fn_cxx_try_link LINENO
1396 # -------------------------
1397 # Try to link conftest.$ac_ext, and return whether this succeeded.
1398 ac_fn_cxx_try_link
()
1400 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1401 rm -f conftest.
$ac_objext conftest
$ac_exeext
1402 if { { ac_try
="$ac_link"
1404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1405 *) ac_try_echo=$ac_try;;
1407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1408 $as_echo "$ac_try_echo"; } >&5
1409 (eval "$ac_link") 2>conftest.err
1411 if test -s conftest.err; then
1412 grep -v '^ *+' conftest.err >conftest.er1
1413 cat conftest.er1 >&5
1414 mv -f conftest.er1 conftest.err
1416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1417 test $ac_status = 0; } && {
1418 test -z "$ac_cxx_werror_flag" ||
1419 test ! -s conftest.err
1420 } && test -s conftest$ac_exeext && {
1421 test "$cross_compiling" = yes ||
1422 $as_test_x conftest$ac_exeext
1426 $as_echo "$as_me: failed program was:" >&5
1427 sed 's/^/| /' conftest.$ac_ext >&5
1431 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1432 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1433 # interfere with the next link command; also delete a directory that is
1434 # left behind by Apple's compiler. We do this before executing the actions.
1435 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1436 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1437 as_fn_set_status $ac_retval
1439 } # ac_fn_cxx_try_link
1440 cat >config.log <<_ACEOF
1441 This file contains any messages produced by compilers while
1442 running configure, to aid debugging if configure makes a mistake.
1444 It was created by Polly $as_me 0.01, which was
1445 generated by GNU Autoconf 2.67. Invocation command line was
1457 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1458 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1459 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1460 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1461 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1463 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1464 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1466 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1467 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1468 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1469 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1470 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1471 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1472 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1480 test -z "$as_dir" && as_dir=.
1481 $as_echo "PATH: $as_dir"
1497 # Keep a trace of the command line.
1498 # Strip out --no-create and --no-recursion so they do not pile up.
1499 # Strip out --silent because we don't want to record it for future runs.
1500 # Also quote any args containing shell meta-characters.
1501 # Make two passes to allow for proper duplicate-argument suppression.
1505 ac_must_keep_next=false
1511 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1513 | -silent | --silent | --silen | --sile | --sil)
1516 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1519 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1521 as_fn_append ac_configure_args1 " '$ac_arg'"
1522 if test $ac_must_keep_next = true; then
1523 ac_must_keep_next=false # Got value, back to normal.
1526 *=* | --config-cache | -C | -disable-* | --disable-* \
1527 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1528 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1529 | -with-* | --with-* | -without-* | --without-* | --x)
1530 case "$ac_configure_args0 " in
1531 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1534 -* ) ac_must_keep_next=true ;;
1537 as_fn_append ac_configure_args " '$ac_arg'"
1542 { ac_configure_args0=; unset ac_configure_args0;}
1543 { ac_configure_args1=; unset ac_configure_args1;}
1545 # When interrupted or exit'd, cleanup temporary files, and complete
1546 # config.log. We remove comments because anyway the quotes in there
1547 # would cause problems or look ugly.
1548 # WARNING: Use '\'' to represent an apostrophe within the trap.
1549 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1550 trap 'exit_status=$?
1551 # Save into config.log some information that might help in debugging.
1555 $as_echo "## ---------------- ##
1556 ## Cache variables. ##
1557 ## ---------------- ##"
1559 # The following way of writing the cache mishandles newlines in values,
1561 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1562 eval ac_val=\$$ac_var
1566 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1570 _ | IFS | as_nl) ;; #(
1571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1572 *) { eval $ac_var=; unset $ac_var;} ;;
1577 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1578 *${as_nl}ac_space=\ *)
1580 "s/'\''/'\''\\\\'\'''\''/g;
1581 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1591 $as_echo "## ----------------- ##
1592 ## Output variables. ##
1593 ## ----------------- ##"
1595 for ac_var in $ac_subst_vars
1597 eval ac_val=\$$ac_var
1599 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1601 $as_echo "$ac_var='\''$ac_val'\''"
1605 if test -n "$ac_subst_files"; then
1606 $as_echo "## ------------------- ##
1607 ## File substitutions. ##
1608 ## ------------------- ##"
1610 for ac_var in $ac_subst_files
1612 eval ac_val=\$$ac_var
1614 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1616 $as_echo "$ac_var='\''$ac_val'\''"
1621 if test -s confdefs.h; then
1622 $as_echo "## ----------- ##
1629 test "$ac_signal" != 0 &&
1630 $as_echo "$as_me: caught signal $ac_signal"
1631 $as_echo "$as_me: exit $exit_status"
1633 rm -f core *.core core.conftest.* &&
1634 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1637 for ac_signal in 1 2 13 15; do
1638 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1642 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1643 rm -f -r conftest* confdefs.h
1645 $as_echo "/* confdefs.h */" > confdefs.h
1647 # Predefined preprocessor variables.
1649 cat >>confdefs.h <<_ACEOF
1650 #define PACKAGE_NAME "$PACKAGE_NAME"
1653 cat >>confdefs.h <<_ACEOF
1654 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1661 cat >>confdefs.h <<_ACEOF
1662 #define PACKAGE_STRING "$PACKAGE_STRING"
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_URL "$PACKAGE_URL"
1674 # Let the site file select an alternate cache file if it wants to.
1675 # Prefer an explicitly selected file to automatically selected ones.
1678 if test -n "$CONFIG_SITE"; then
1679 # We do not want a PATH search for config.site.
1680 case $CONFIG_SITE in #((
1681 -*) ac_site_file1=./$CONFIG_SITE;;
1682 */*) ac_site_file1=$CONFIG_SITE;;
1683 *) ac_site_file1=./$CONFIG_SITE;;
1685 elif test "x$prefix" != xNONE; then
1686 ac_site_file1=$prefix/share/config.site
1687 ac_site_file2=$prefix/etc/config.site
1689 ac_site_file1=$ac_default_prefix/share/config.site
1690 ac_site_file2=$ac_default_prefix/etc/config.site
1692 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1694 test "x$ac_site_file" = xNONE && continue
1695 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1697 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1698 sed 's/^/| /' "$ac_site_file" >&5
1700 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1702 as_fn_error $? "failed to load site
script $ac_site_file
1703 See \
`config.log' for more details" "$LINENO" 5 ; }
1707 if test -r "$cache_file"; then
1708 # Some versions of bash will fail to source /dev/null (special files
1709 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1710 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1712 $as_echo "$as_me: loading cache $cache_file" >&6;}
1714 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1715 *) . "./$cache_file";;
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1720 $as_echo "$as_me: creating cache $cache_file" >&6;}
1724 # Check that the precious variables saved in the cache have kept the same
1726 ac_cache_corrupted=false
1727 for ac_var in $ac_precious_vars; do
1728 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1729 eval ac_new_set=\$ac_env_${ac_var}_set
1730 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1731 eval ac_new_val=\$ac_env_${ac_var}_value
1732 case $ac_old_set,$ac_new_set in
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1735 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1736 ac_cache_corrupted=: ;;
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1739 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1740 ac_cache_corrupted=: ;;
1743 if test "x$ac_old_val" != "x$ac_new_val"; then
1744 # differences in whitespace do not lead to failure.
1745 ac_old_val_w=`echo x
$ac_old_val`
1746 ac_new_val_w=`echo x
$ac_new_val`
1747 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1749 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1750 ac_cache_corrupted=:
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1753 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1754 eval $ac_var=\$ac_old_val
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1757 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1759 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1762 # Pass precious variables to config.status.
1763 if test "$ac_new_set" = set; then
1765 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1766 *) ac_arg=$ac_var=$ac_new_val ;;
1768 case " $ac_configure_args " in
1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1770 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1774 if $ac_cache_corrupted; then
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1778 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1779 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1781 ## -------------------- ##
1782 ## Main body of script. ##
1783 ## -------------------- ##
1786 ac_cpp='$CPP $CPPFLAGS'
1787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1793 LLVM_SRC_ROOT="`(cd $srcdir/..
/..
; pwd)`"
1794 LLVM_OBJ_ROOT="`(cd ..
/..
; pwd)`"
1797 # Check whether --with-llvmsrc was given.
1798 if test "${with_llvmsrc+set}" = set; then :
1799 withval=$with_llvmsrc; llvm_src="$withval"
1801 llvm_src="$LLVM_SRC_ROOT"
1807 # Check whether --with-llvmobj was given.
1808 if test "${with_llvmobj+set}" = set; then :
1809 withval=$with_llvmobj; llvm_obj="$withval"
1811 llvm_obj="$LLVM_OBJ_ROOT"
1816 ac_config_commands="$ac_config_commands setup"
1821 for ac_dir in $LLVM_SRC/autoconf "$srcdir"/$LLVM_SRC/autoconf; do
1822 if test -f "$ac_dir/install-sh"; then
1824 ac_install_sh="$ac_aux_dir/install-sh -c"
1826 elif test -f "$ac_dir/install.sh"; then
1828 ac_install_sh="$ac_aux_dir/install.sh -c"
1830 elif test -f "$ac_dir/shtool"; then
1832 ac_install_sh="$ac_aux_dir/shtool install -c"
1836 if test -z "$ac_aux_dir"; then
1837 as_fn_error $? "cannot find install-sh, install.sh, or shtool in $LLVM_SRC/autoconf \"$srcdir\"/$LLVM_SRC/autoconf" "$LINENO" 5
1840 # These three variables are undocumented and unsupported,
1841 # and are intended to be withdrawn in a future Autoconf release.
1842 # They can cause serious problems if a builder's source tree is in a directory
1843 # whose full name contains unusual characters.
1844 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1845 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1846 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1854 ac_config_files="$ac_config_files Makefile.config"
1856 ac_config_files="$ac_config_files Makefile.common"
1860 if test ${srcdir} != "." ; then
1861 if test -f ${srcdir}/include/polly/Config/config.h ; then
1862 as_fn_error $? "Already configured in ${srcdir}" "$LINENO" 5
1867 $as_echo "#define CLOOG_INT_GMP 1" >>confdefs.h
1879 ac_cpp='$CXXCPP $CPPFLAGS'
1880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1883 if test -z "$CXX"; then
1884 if test -n "$CCC"; then
1887 if test -n "$ac_tool_prefix"; then
1888 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1890 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1891 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1893 $as_echo_n "checking for $ac_word... " >&6; }
1894 if test "${ac_cv_prog_CXX+set}" = set; then :
1895 $as_echo_n "(cached) " >&6
1897 if test -n "$CXX"; then
1898 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1904 test -z "$as_dir" && as_dir=.
1905 for ac_exec_ext in '' $ac_executable_extensions; do
1906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1907 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1918 if test -n "$CXX"; then
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
1920 $as_echo "$CXX" >&6; }
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1923 $as_echo "no" >&6; }
1927 test -n "$CXX" && break
1930 if test -z "$CXX"; then
1932 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1934 # Extract the first word of "$ac_prog", so it can be a program name with args.
1935 set dummy $ac_prog; ac_word=$2
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1937 $as_echo_n "checking for $ac_word... " >&6; }
1938 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
1939 $as_echo_n "(cached) " >&6
1941 if test -n "$ac_ct_CXX"; then
1942 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1951 ac_cv_prog_ac_ct_CXX="$ac_prog"
1952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1961 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1962 if test -n "$ac_ct_CXX"; then
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
1964 $as_echo "$ac_ct_CXX" >&6; }
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1967 $as_echo "no" >&6; }
1971 test -n "$ac_ct_CXX" && break
1974 if test "x$ac_ct_CXX" = x; then
1977 case $cross_compiling:$ac_tool_warned in
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1981 ac_tool_warned=yes ;;
1989 # Provide some information about the compiler.
1990 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
1993 for ac_option in --version -v -V -qversion; do
1994 { { ac_try="$ac_compiler $ac_option >&5"
1996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1997 *) ac_try_echo
=$ac_try;;
1999 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2003 if test -s conftest.err
; then
2005 ... rest of stderr output deleted ...
2006 10q' conftest.err
>conftest.er1
2007 cat conftest.er1
>&5
2009 rm -f conftest.er1 conftest.err
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; }
2014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2025 ac_clean_files_save
=$ac_clean_files
2026 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2027 # Try to create an executable without -o first, disregard a.out.
2028 # It will help us diagnose broken compilers, and finding out an intuition
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2031 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2032 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2034 # The possible output files:
2035 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2038 for ac_file
in $ac_files
2041 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2042 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2047 if { { ac_try
="$ac_link_default"
2049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2050 *) ac_try_echo=$ac_try;;
2052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2053 $as_echo "$ac_try_echo"; } >&5
2054 (eval "$ac_link_default") 2>&5
2056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2057 test $ac_status = 0; }; then :
2058 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2059 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2060 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2061 # so that the user can short-circuit this test for compilers unknown to
2063 for ac_file in $ac_files ''
2065 test -f "$ac_file" || continue
2067 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2070 # We found the default executable, but exeext='' is most
2074 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2076 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2078 # We set ac_cv_exeext here because the later test for it is not
2079 # safe: cross compilers may not add the suffix if given an `-o'
2080 # argument, so we may need to know it at that point already.
2081 # Even if this section looks crufty: it has the advantage of
2088 test "$ac_cv_exeext" = no && ac_cv_exeext=
2093 if test -z "$ac_file"; then :
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2095 $as_echo "no" >&6; }
2096 $as_echo "$as_me: failed program was:" >&5
2097 sed 's
/^
/|
/' conftest.$ac_ext >&5
2099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2100 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2101 as_fn_error 77 "C++ compiler cannot create executables
2102 See \`config.log
' for more details" "$LINENO" 5 ; }
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2105 $as_echo "yes" >&6; }
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2108 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2110 $as_echo "$ac_file" >&6; }
2111 ac_exeext=$ac_cv_exeext
2113 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2114 ac_clean_files=$ac_clean_files_save
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2116 $as_echo_n "checking for suffix of executables... " >&6; }
2117 if { { ac_try="$ac_link"
2119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2120 *) ac_try_echo=$ac_try;;
2122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2123 $as_echo "$ac_try_echo"; } >&5
2124 (eval "$ac_link") 2>&5
2126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2127 test $ac_status = 0; }; then :
2128 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2129 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2130 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2132 for ac_file
in conftest.exe conftest conftest.
*; do
2133 test -f "$ac_file" ||
continue
2135 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2136 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2144 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2145 See \`config.log' for more details" "$LINENO" 5 ; }
2147 rm -f conftest conftest
$ac_cv_exeext
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2149 $as_echo "$ac_cv_exeext" >&6; }
2151 rm -f conftest.
$ac_ext
2152 EXEEXT
=$ac_cv_exeext
2154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2155 /* end confdefs.h. */
2160 FILE *f = fopen ("conftest.out", "w");
2161 return ferror (f) || fclose (f) != 0;
2167 ac_clean_files
="$ac_clean_files conftest.out"
2168 # Check that the compiler produces executables we can run. If not, either
2169 # the compiler is broken, or we cross compile.
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2171 $as_echo_n "checking whether we are cross compiling... " >&6; }
2172 if test "$cross_compiling" != yes; then
2173 { { ac_try
="$ac_link"
2175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2176 *) ac_try_echo=$ac_try;;
2178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2179 $as_echo "$ac_try_echo"; } >&5
2180 (eval "$ac_link") 2>&5
2182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2183 test $ac_status = 0; }
2184 if { ac_try='./conftest$ac_cv_exeext'
2185 { { case "(($ac_try" in
2186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2187 *) ac_try_echo
=$ac_try;;
2189 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2190 $as_echo "$ac_try_echo"; } >&5
2191 (eval "$ac_try") 2>&5
2193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2194 test $ac_status = 0; }; }; then
2197 if test "$cross_compiling" = maybe
; then
2200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2202 as_fn_error $?
"cannot run C++ compiled programs.
2203 If you meant to cross compile, use \`--host'.
2204 See \`config.log' for more details" "$LINENO" 5 ; }
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2209 $as_echo "$cross_compiling" >&6; }
2211 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2212 ac_clean_files
=$ac_clean_files_save
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2214 $as_echo_n "checking for suffix of object files... " >&6; }
2215 if test "${ac_cv_objext+set}" = set; then :
2216 $as_echo_n "(cached) " >&6
2218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h. */
2229 rm -f conftest.o conftest.obj
2230 if { { ac_try
="$ac_compile"
2232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2233 *) ac_try_echo=$ac_try;;
2235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2236 $as_echo "$ac_try_echo"; } >&5
2237 (eval "$ac_compile") 2>&5
2239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2240 test $ac_status = 0; }; then :
2241 for ac_file in conftest.o conftest.obj conftest.*; do
2242 test -f "$ac_file" || continue;
2244 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2245 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2250 $as_echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.$ac_ext >&5
2253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2255 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2256 See \
`config.log' for more details" "$LINENO" 5 ; }
2258 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2261 $as_echo "$ac_cv_objext" >&6; }
2262 OBJEXT=$ac_cv_objext
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2265 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2266 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
2267 $as_echo_n "(cached) " >&6
2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2283 if ac_fn_cxx_try_compile "$LINENO"; then :
2288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2289 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2293 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2294 if test $ac_compiler_gnu = yes; then
2299 ac_test_CXXFLAGS=${CXXFLAGS+set}
2300 ac_save_CXXFLAGS=$CXXFLAGS
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2302 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2303 if test "${ac_cv_prog_cxx_g+set}" = set; then :
2304 $as_echo_n "(cached) " >&6
2306 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2307 ac_cxx_werror_flag=yes
2310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 /* end confdefs.h. */
2321 if ac_fn_cxx_try_compile "$LINENO"; then :
2322 ac_cv_prog_cxx_g=yes
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2336 if ac_fn_cxx_try_compile "$LINENO"; then :
2339 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342 /* end confdefs.h. */
2352 if ac_fn_cxx_try_compile "$LINENO"; then :
2353 ac_cv_prog_cxx_g=yes
2355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2360 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2363 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2364 if test "$ac_test_CXXFLAGS" = set; then
2365 CXXFLAGS=$ac_save_CXXFLAGS
2366 elif test $ac_cv_prog_cxx_g = yes; then
2367 if test "$GXX" = yes; then
2373 if test "$GXX" = yes; then
2380 ac_cpp='$CXXCPP $CPPFLAGS'
2381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2388 ac_cpp='$CXXCPP $CPPFLAGS'
2389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2393 OLD_CXXFLAGS=$CXXFLAGS;
2394 OLD_LDFLAGS=$LDFLAGS;
2399 # Get include path and lib path
2401 # Check whether --with-gmp was given.
2402 if test "${with_gmp+set}" = set; then :
2403 withval=$with_gmp; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2404 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2406 given_inc_path=inc_not_give_gmp;
2407 given_lib_path=lib_not_give_gmp
2411 # Check for library and headers works
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmp in $given_inc_path, $given_lib_path" >&5
2413 $as_echo_n "checking for gmp in $given_inc_path, $given_lib_path... " >&6; }
2414 # try to compile a file that includes a header of the library
2415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2416 /* end confdefs.h. */
2426 if ac_fn_cxx_try_link "$LINENO"; then :
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2428 $as_echo "ok" >&6; }
2431 if test "x$given_inc_path" != "xinc_not_give_gmp"; then :
2432 gmp_inc="-I$given_inc_path"
2437 if test "x$given_lib_path" != "xlib_not_give_gmp"; then :
2438 gmp_ld="-L$given_lib_path"
2442 if test "xrequired" = "xrequired"; then :
2443 as_fn_error $? "gmp required but not found" "$LINENO" 5
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2446 $as_echo "not found" >&6; }
2450 rm -f core conftest.err conftest.$ac_objext \
2451 conftest$ac_exeext conftest.$ac_ext
2453 # reset original CXXFLAGS
2454 CXXFLAGS=$OLD_CXXFLAGS
2455 LDFLAGS=$OLD_LDFLAGS;
2458 ac_cpp='$CPP $CPPFLAGS'
2459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2467 ac_cpp='$CXXCPP $CPPFLAGS'
2468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2472 OLD_CXXFLAGS=$CXXFLAGS;
2473 OLD_LDFLAGS=$LDFLAGS;
2478 # Get include path and lib path
2480 # Check whether --with-isl was given.
2481 if test "${with_isl+set}" = set; then :
2482 withval=$with_isl; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2483 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2485 given_inc_path=inc_not_give_isl;
2486 given_lib_path=lib_not_give_isl
2490 # Check for library and headers works
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl in $given_inc_path, $given_lib_path" >&5
2492 $as_echo_n "checking for isl in $given_inc_path, $given_lib_path... " >&6; }
2493 # try to compile a file that includes a header of the library
2494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2495 /* end confdefs.h. */
2496 #include <isl/config.h>
2505 if ac_fn_cxx_try_link "$LINENO"; then :
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2507 $as_echo "ok" >&6; }
2510 if test "x$given_inc_path" != "xinc_not_give_isl"; then :
2511 isl_inc="-I$given_inc_path"
2516 if test "x$given_lib_path" != "xlib_not_give_isl"; then :
2517 isl_ld="-L$given_lib_path"
2521 if test "xrequired" = "xrequired"; then :
2522 as_fn_error $? "isl required but not found" "$LINENO" 5
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2525 $as_echo "not found" >&6; }
2529 rm -f core conftest.err conftest.$ac_objext \
2530 conftest$ac_exeext conftest.$ac_ext
2532 # reset original CXXFLAGS
2533 CXXFLAGS=$OLD_CXXFLAGS
2534 LDFLAGS=$OLD_LDFLAGS;
2537 ac_cpp='$CPP $CPPFLAGS'
2538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2544 saved_CXXFLAGS=$CXXFLAGS
2545 CXXFLAGS="$CXXFLAGS $isl_inc"
2548 ac_cpp='$CXXCPP $CPPFLAGS'
2549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2553 OLD_CXXFLAGS=$CXXFLAGS;
2554 OLD_LDFLAGS=$LDFLAGS;
2557 LIBS="$LIBS -lcloog-isl";
2559 # Get include path and lib path
2561 # Check whether --with-cloog was given.
2562 if test "${with_cloog+set}" = set; then :
2563 withval=$with_cloog; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2564 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2566 given_inc_path=inc_not_give_cloog;
2567 given_lib_path=lib_not_give_cloog
2571 # Check for library and headers works
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cloog in $given_inc_path, $given_lib_path" >&5
2573 $as_echo_n "checking for cloog in $given_inc_path, $given_lib_path... " >&6; }
2574 # try to compile a file that includes a header of the library
2575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2576 /* end confdefs.h. */
2577 #include <cloog/isl/cloog.h>
2586 if ac_fn_cxx_try_link "$LINENO"; then :
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2588 $as_echo "ok" >&6; }
2591 if test "x$given_inc_path" != "xinc_not_give_cloog"; then :
2592 cloog_inc="-I$given_inc_path"
2595 cloog_lib="-lcloog-isl"
2597 if test "x$given_lib_path" != "xlib_not_give_cloog"; then :
2598 cloog_ld="-L$given_lib_path"
2602 if test "xrequired" = "xrequired"; then :
2603 as_fn_error $? "cloog required but not found" "$LINENO" 5
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2606 $as_echo "not found" >&6; }
2610 rm -f core conftest.err conftest.$ac_objext \
2611 conftest$ac_exeext conftest.$ac_ext
2613 # reset original CXXFLAGS
2614 CXXFLAGS=$OLD_CXXFLAGS
2615 LDFLAGS=$OLD_LDFLAGS;
2618 ac_cpp='$CPP $CPPFLAGS'
2619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2624 CXXFLAGS=$saved_CXXFLAGS
2629 ac_cpp='$CXXCPP $CPPFLAGS'
2630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2634 OLD_CXXFLAGS=$CXXFLAGS;
2635 OLD_LDFLAGS=$LDFLAGS;
2638 LIBS="$LIBS -lopenscop";
2640 # Get include path and lib path
2642 # Check whether --with-openscop was given.
2643 if test "${with_openscop+set}" = set; then :
2644 withval=$with_openscop; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2645 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2647 given_inc_path=inc_not_give_openscop;
2648 given_lib_path=lib_not_give_openscop
2652 # Check for library and headers works
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openscop in $given_inc_path, $given_lib_path" >&5
2654 $as_echo_n "checking for openscop in $given_inc_path, $given_lib_path... " >&6; }
2655 # try to compile a file that includes a header of the library
2656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2657 /* end confdefs.h. */
2658 #include <openscop/scop.h>
2667 if ac_fn_cxx_try_link "$LINENO"; then :
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2669 $as_echo "ok" >&6; }
2670 openscop_found="yes"
2672 if test "x$given_inc_path" != "xinc_not_give_openscop"; then :
2673 openscop_inc="-I$given_inc_path"
2676 openscop_lib="-lopenscop"
2678 if test "x$given_lib_path" != "xlib_not_give_openscop"; then :
2679 openscop_ld="-L$given_lib_path"
2683 if test "x" = "xrequired"; then :
2684 as_fn_error $? "openscop required but not found" "$LINENO" 5
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2687 $as_echo "not found" >&6; }
2691 rm -f core conftest.err conftest.$ac_objext \
2692 conftest$ac_exeext conftest.$ac_ext
2694 # reset original CXXFLAGS
2695 CXXFLAGS=$OLD_CXXFLAGS
2696 LDFLAGS=$OLD_LDFLAGS;
2699 ac_cpp='$CPP $CPPFLAGS'
2700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2705 if test "x$openscop_found" = "xyes"; then :
2707 $as_echo "#define OPENSCOP_FOUND 1" >>confdefs.h
2713 ac_cpp='$CXXCPP $CPPFLAGS'
2714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2718 OLD_CXXFLAGS=$CXXFLAGS;
2719 OLD_LDFLAGS=$LDFLAGS;
2722 LIBS="$LIBS -lscoplib";
2724 # Get include path and lib path
2726 # Check whether --with-scoplib was given.
2727 if test "${with_scoplib+set}" = set; then :
2728 withval=$with_scoplib; given_inc_path="$withval/include"; CXXFLAGS="-I$given_inc_path $CXXFLAGS";
2729 given_lib_path="$withval/lib"; LDFLAGS="-L$given_lib_path $LDFLAGS"
2731 given_inc_path=inc_not_give_scoplib;
2732 given_lib_path=lib_not_give_scoplib
2736 # Check for library and headers works
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scoplib in $given_inc_path, $given_lib_path" >&5
2738 $as_echo_n "checking for scoplib in $given_inc_path, $given_lib_path... " >&6; }
2739 # try to compile a file that includes a header of the library
2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741 /* end confdefs.h. */
2742 #include <scoplib/scop.h>
2751 if ac_fn_cxx_try_link "$LINENO"; then :
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2753 $as_echo "ok" >&6; }
2756 if test "x$given_inc_path" != "xinc_not_give_scoplib"; then :
2757 scoplib_inc="-I$given_inc_path"
2760 scoplib_lib="-lscoplib"
2762 if test "x$given_lib_path" != "xlib_not_give_scoplib"; then :
2763 scoplib_ld="-L$given_lib_path"
2767 if test "x" = "xrequired"; then :
2768 as_fn_error $? "scoplib required but not found" "$LINENO" 5
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2771 $as_echo "not found" >&6; }
2775 rm -f core conftest.err conftest.$ac_objext \
2776 conftest$ac_exeext conftest.$ac_ext
2778 # reset original CXXFLAGS
2779 CXXFLAGS=$OLD_CXXFLAGS
2780 LDFLAGS=$OLD_LDFLAGS;
2783 ac_cpp='$CPP $CPPFLAGS'
2784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2789 if test "x$scoplib_found" = "xyes"; then :
2791 $as_echo "#define SCOPLIB_FOUND 1" >>confdefs.h
2795 if test "x$scoplib_found" = "xyes"; then :
2796 scoplib_rpath="-Wl,-rpath=$given_lib_path"
2804 ac_config_headers="$ac_config_headers include/polly/Config/config.h"
2806 cat >confcache <<\_ACEOF
2807 # This file is a shell script that caches the results of configure
2808 # tests run on this system so they can be shared between configure
2809 # scripts and configure runs, see configure's option --config-cache.
2810 # It is not useful on other systems. If it contains results you don't
2811 # want to keep, you may remove or edit it.
2813 # config.status only pays attention to the cache file if you give it
2814 # the --recheck option to rerun configure.
2816 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
2817 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2822 # The following way of writing the cache mishandles newlines in values,
2823 # but we know of no workaround that is simple, portable, and efficient.
2824 # So, we kill variables containing newlines.
2825 # Ultrix sh set writes to stderr and can't be redirected directly,
2826 # and sets the high bit in the cache file unless we assign to the vars.
2828 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2829 eval ac_val
=\$
$ac_var
2833 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2834 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2837 _ | IFS | as_nl
) ;; #(
2838 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
2839 *) { eval $ac_var=; unset $ac_var;} ;;
2845 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2846 *${as_nl}ac_space
=\
*)
2847 # `set' does not quote correctly, so add quotes: double-quote
2848 # substitution turns \\\\ into \\, and sed turns \\ into \.
2851 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2854 # `set' quotes correctly as required by POSIX, so do not add quotes.
2855 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2864 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2866 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2868 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
2869 if test -w "$cache_file"; then
2870 test "x$cache_file" != "x/dev/null" &&
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2872 $as_echo "$as_me: updating cache $cache_file" >&6;}
2873 cat confcache
>$cache_file
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2876 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2881 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2882 # Let make expand exec_prefix.
2883 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2885 DEFS
=-DHAVE_CONFIG_H
2890 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
2891 # 1. Remove the extension, and $U if already installed.
2892 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
2893 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
2894 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2895 # will be set to the directory where LIBOBJS objects are built.
2896 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2897 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
2901 LTLIBOBJS
=$ac_ltlibobjs
2905 : ${CONFIG_STATUS=./config.status}
2907 ac_clean_files_save
=$ac_clean_files
2908 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2910 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2912 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2914 # Generated by $as_me.
2915 # Run this file to recreate the current configuration.
2916 # Compiler output produced by configure, useful for debugging
2917 # configure, is in config.log if it exists.
2923 SHELL=\${CONFIG_SHELL-$SHELL}
2926 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
2927 ## -------------------- ##
2928 ## M4sh Initialization. ##
2929 ## -------------------- ##
2931 # Be more Bourne compatible
2932 DUALCASE
=1; export DUALCASE
# for MKS sh
2933 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
2936 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2937 # is contrary to our usage. Disable this feature.
2938 alias -g '${1+"$@"}'='"$@"'
2939 setopt NO_GLOB_SUBST
2941 case `(set -o) 2>/dev/null` in #(
2953 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2954 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2955 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2956 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2957 # Prefer a ksh shell builtin over an external printf program on Solaris,
2958 # but without wasting forks for bash or zsh.
2959 if test -z "$BASH_VERSION$ZSH_VERSION" \
2960 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2961 as_echo='print
-r --'
2962 as_echo_n='print
-rn --'
2963 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2964 as_echo='printf %s
\n'
2965 as_echo_n='printf %s
'
2967 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2968 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
2969 as_echo_n='/usr
/ucb
/echo -n'
2971 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2972 as_echo_n_body='eval
2976 expr "X$arg" : "X\\(.*\\)$as_nl";
2977 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2979 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
2981 export as_echo_n_body
2982 as_echo_n='sh
-c $as_echo_n_body as_echo
'
2985 as_echo='sh
-c $as_echo_body as_echo
'
2988 # The user is always right.
2989 if test "${PATH_SEPARATOR+set}" != set; then
2991 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2992 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2999 # We need space, tab and new line, in precisely that order. Quoting is
3000 # there to prevent editors from complaining about space-tab.
3001 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3002 # splitting by setting IFS to empty value.)
3005 # Find who we are. Look in the path if we contain no directory separator.
3007 *[\\/]* ) as_myself=$0 ;;
3008 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012 test -z "$as_dir" && as_dir=.
3013 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3019 # We did not find ourselves, most probably we were run as `sh COMMAND'
3020 # in which case we are not to be found in the path.
3021 if test "x$as_myself" = x
; then
3024 if test ! -f "$as_myself"; then
3025 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3029 # Unset variables that we do not need and which cause bugs (e.g. in
3030 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3031 # suppresses any "Segmentation fault" message there. '((' could
3032 # trigger a bug in pdksh 5.2.14.
3033 for as_var
in BASH_ENV ENV MAIL MAILPATH
3034 do eval test x\
${$as_var+set} = xset \
3035 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3048 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3051 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3052 # ----------------------------------------
3053 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3054 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3055 # script with STATUS, using 1 if that was 0.
3058 as_status
=$1; test $as_status -eq 0 && as_status
=1
3060 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3061 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3063 $as_echo "$as_me: error: $2" >&2
3064 as_fn_exit
$as_status
3068 # as_fn_set_status STATUS
3069 # -----------------------
3070 # Set $? to STATUS, without forking.
3074 } # as_fn_set_status
3078 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3088 # Portably unset VAR.
3091 { eval $1=; unset $1;}
3093 as_unset
=as_fn_unset
3094 # as_fn_append VAR VALUE
3095 # ----------------------
3096 # Append the text in VALUE to the end of the definition contained in VAR. Take
3097 # advantage of any shell optimizations that allow amortized linear growth over
3098 # repeated appends, instead of the typical quadratic growth present in naive
3100 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3101 eval 'as_fn_append ()
3112 # as_fn_arith ARG...
3113 # ------------------
3114 # Perform arithmetic evaluation on the ARGs, and store the result in the
3115 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3116 # must be portable across $(()) and expr.
3117 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3118 eval 'as_fn_arith ()
3125 as_val
=`expr "$@" || test $? -eq 1`
3130 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3131 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3137 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3138 as_basename
=basename
3143 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3149 as_me
=`$as_basename -- "$0" ||
3150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3151 X"$0" : 'X\(//\)$' \| \
3152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3154 sed '/^.*\/\([^/][^/]*\)\/*$/{
3168 # Avoid depending upon Character Ranges.
3169 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3170 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3171 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3172 as_cr_digits
='0123456789'
3173 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3175 ECHO_C
= ECHO_N
= ECHO_T
=
3176 case `echo -n x` in #(((((
3178 case `echo 'xy\c'` in
3179 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3181 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3188 rm -f conf$$ conf$$.exe conf$$.
file
3189 if test -d conf$$.dir
; then
3190 rm -f conf$$.dir
/conf$$.
file
3193 mkdir conf$$.dir
2>/dev
/null
3195 if (echo >conf$$.
file) 2>/dev
/null
; then
3196 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3198 # ... but there are two gotchas:
3199 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3200 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3201 # In both cases, we have to default to `cp -p'.
3202 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3204 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3212 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3213 rmdir conf$$.dir
2>/dev
/null
3218 # Create "$as_dir" as a directory, including parents if necessary.
3223 -*) as_dir
=.
/$as_dir;;
3225 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3229 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3230 *) as_qdir
=$as_dir;;
3232 as_dirs
="'$as_qdir' $as_dirs"
3233 as_dir
=`$as_dirname -- "$as_dir" ||
3234 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3235 X"$as_dir" : 'X\(//\)[^/]' \| \
3236 X"$as_dir" : 'X\(//\)$' \| \
3237 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3238 $as_echo X"$as_dir" |
3239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3256 test -d "$as_dir" && break
3258 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3259 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
3263 if mkdir
-p .
2>/dev
/null
; then
3264 as_mkdir_p
='mkdir -p "$as_dir"'
3266 test -d .
/-p && rmdir .
/-p
3270 if test -x / >/dev
/null
2>&1; then
3273 if ls -dL / >/dev
/null
2>&1; then
3280 if test -d "$1"; then
3286 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3287 ???[sx]*):;;*)false;;esac;fi
3291 as_executable_p
=$as_test_x
3293 # Sed expression to map a string onto a valid CPP name.
3294 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3296 # Sed expression to map a string onto a valid variable name.
3297 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3301 ## ----------------------------------- ##
3302 ## Main body of $CONFIG_STATUS script. ##
3303 ## ----------------------------------- ##
3305 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3308 # Save the log message, to keep $0 and so on meaningful, and to
3309 # report actual input values of CONFIG_FILES etc. instead of their
3310 # values after options handling.
3312 This file was extended by Polly $as_me 0.01, which was
3313 generated by GNU Autoconf 2.67. Invocation command line was
3315 CONFIG_FILES = $CONFIG_FILES
3316 CONFIG_HEADERS = $CONFIG_HEADERS
3317 CONFIG_LINKS = $CONFIG_LINKS
3318 CONFIG_COMMANDS = $CONFIG_COMMANDS
3321 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3326 case $ac_config_files in *"
3327 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3330 case $ac_config_headers in *"
3331 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
3335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3336 # Files that config.status was made for.
3337 config_files="$ac_config_files"
3338 config_headers="$ac_config_headers"
3339 config_commands="$ac_config_commands"
3343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3345 \`$as_me' instantiates files and other configuration actions
3346 from templates according to the current configuration. Unless the files
3347 and actions are specified as TAGs, all are instantiated by default.
3349 Usage: $0 [OPTION]... [TAG]...
3351 -h, --help print this help, then exit
3352 -V, --version print version number and configuration settings, then exit
3353 --config print configuration, then exit
3354 -q, --quiet, --silent
3355 do not print progress messages
3356 -d, --debug don't remove temporary files
3357 --recheck update $as_me by reconfiguring in the same conditions
3358 --file=FILE[:TEMPLATE]
3359 instantiate the configuration file FILE
3360 --header=FILE[:TEMPLATE]
3361 instantiate the configuration header FILE
3363 Configuration files:
3366 Configuration headers:
3369 Configuration commands:
3372 Report bugs to <polly-dev@googlegroups.com>."
3375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3376 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3378 Polly config.status 0.01
3379 configured by $0, generated by GNU Autoconf 2.67,
3380 with options \\"\$ac_cs_config\\"
3382 Copyright (C) 2010 Free Software Foundation, Inc.
3383 This config.status script is free software; the Free Software Foundation
3384 gives unlimited permission to copy, distribute and modify it."
3388 test -n "\$AWK" || AWK=awk
3391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3392 # The default lists apply if the user does not specify any file.
3398 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3399 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3403 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3415 # Handling of the options.
3416 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3418 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3419 $as_echo "$ac_cs_version"; exit ;;
3420 --config |
--confi |
--conf |
--con |
--co |
--c )
3421 $as_echo "$ac_cs_config"; exit ;;
3422 --debug |
--debu |
--deb |
--de |
--d |
-d )
3424 --file |
--fil |
--fi |
--f )
3427 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3428 '') as_fn_error $?
"missing file argument" ;;
3430 as_fn_append CONFIG_FILES
" '$ac_optarg'"
3431 ac_need_defaults
=false
;;
3432 --header |
--heade |
--head |
--hea )
3435 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3437 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
3438 ac_need_defaults
=false
;;
3440 # Conflict between --help and --header
3441 as_fn_error $?
"ambiguous option: \`$1'
3442 Try \`$0 --help' for more information.";;
3443 --help |
--hel |
-h )
3444 $as_echo "$ac_cs_usage"; exit ;;
3445 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3446 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3450 -*) as_fn_error $?
"unrecognized option: \`$1'
3451 Try \`$0 --help' for more information." ;;
3453 *) as_fn_append ac_config_targets
" $1"
3454 ac_need_defaults
=false
;;
3460 ac_configure_extra_args
=
3462 if $ac_cs_silent; then
3464 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3469 if \$ac_cs_recheck; then
3470 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3472 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3473 CONFIG_SHELL='$SHELL'
3479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3483 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3484 ## Running $as_me. ##
3490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3494 llvm_src="${LLVM_SRC}"
3498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3500 # Handling of arguments.
3501 for ac_config_target
in $ac_config_targets
3503 case $ac_config_target in
3504 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
3505 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
3506 "Makefile.common") CONFIG_FILES
="$CONFIG_FILES Makefile.common" ;;
3507 "include/polly/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/polly/Config/config.h" ;;
3509 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
3514 # If the user did not use the arguments to specify the items to instantiate,
3515 # then the envvar interface is used. Set only those that are not.
3516 # We use the long form for the default assignment because of an extremely
3517 # bizarre bug on SunOS 4.1.3.
3518 if $ac_need_defaults; then
3519 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3520 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
3521 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3524 # Have a temporary directory for convenience. Make it in the build tree
3525 # simply because there is no reason against having it here, and in addition,
3526 # creating and moving files from /tmp can sometimes cause problems.
3527 # Hook for its removal unless debugging.
3528 # Note that there is a small window in which the directory will not be cleaned:
3529 # after its creation but before its name has been assigned to `$tmp'.
3533 trap 'exit_status=$?
3534 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3536 trap 'as_fn_exit 1' 1 2 13 15
3538 # Create a (secure) tmp directory for tmp files.
3541 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3542 test -n "$tmp" && test -d "$tmp"
3545 tmp
=.
/conf$$
-$RANDOM
3546 (umask 077 && mkdir
"$tmp")
3547 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
3549 # Set up the scripts for CONFIG_FILES section.
3550 # No need to generate them if there are no CONFIG_FILES.
3551 # This happens for instance with `./config.status config.h'.
3552 if test -n "$CONFIG_FILES"; then
3555 ac_cr
=`echo X | tr X '\015'`
3556 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3557 # But we know of no other shell where ac_cr would be empty at this
3558 # point, so we can use a bashism as a fallback.
3559 if test "x$ac_cr" = x
; then
3560 eval ac_cr
=\$
\'\\r
\'
3562 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3563 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3569 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3574 echo "cat >conf$$subs.awk <<_ACEOF" &&
3575 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3578 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3579 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3581 for ac_last_try in false false false false false :; do
3582 . ./conf$$subs.sh ||
3583 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3585 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
3586 if test $ac_delim_n = $ac_delim_num; then
3588 elif $ac_last_try; then
3589 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3591 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3597 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
3601 s/^/S["/; s
/!.
*/"]=/
3611 s/\(.\{148\}\)..*/\1/
3613 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3618 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3625 s/\(.\{148\}\)..*/\1/
3627 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3631 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3636 ' <conf$$subs.awk | sed '
3641 ' >>$CONFIG_STATUS || ac_write_fail=1
3642 rm -f conf$$subs.awk
3643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3645 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
3646 for (key in S) S_is_set[key] = 1
3652 nfields = split(line, field, "@
")
3654 len = length(field[1])
3655 for (i = 2; i < nfields; i++) {
3657 keylen = length(key)
3658 if (S_is_set[key]) {
3660 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3661 len += length(value) + length(field[++i])
3672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3673 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3674 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
3677 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
3678 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
3681 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3682 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
3683 # trailing colons and then remove the whole line if VPATH becomes empty
3684 # (actually we leave an empty line to preserve line numbers).
3685 if test "x
$srcdir" = x.; then
3686 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3705 fi # test -n "$CONFIG_FILES"
3707 # Set up the scripts for CONFIG_HEADERS section.
3708 # No need to generate them if there are no CONFIG_HEADERS.
3709 # This happens for instance with `./config.status Makefile'.
3710 if test -n "$CONFIG_HEADERS"; then
3711 cat >"$tmp/defines.
awk" <<\_ACAWK ||
3715 # Transform confdefs.h into an awk script `defines.awk', embedded as
3716 # here-document in config.status, that substitutes the proper values into
3717 # config.h.in to produce config.h.
3719 # Create a delimiter string that does not exist in confdefs.h, to ease
3720 # handling of long lines.
3722 for ac_last_try in false false :; do
3723 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
3724 if test -z "$ac_t"; then
3726 elif $ac_last_try; then
3727 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
3729 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3733 # For the awk script, D is an array of macro values keyed by name,
3734 # likewise P contains macro parameters if any. Preserve backslash
3735 # newline sequences.
3737 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3739 s/.\{148\}/&'"$ac_delim"'/g
3742 s/^[ ]*#[ ]*define[ ][ ]*/ /
3749 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
3751 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
3755 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
3756 D["\
1"]=" \
3\\\\\\n
"\\/p
3758 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
3763 s/.\{148\}/&'"$ac_delim"'/g
3768 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
3771 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
3773 ' <confdefs.h | sed '
3774 s/'"$ac_delim"'/"\\\
3775 "/g' >>$CONFIG_STATUS || ac_write_fail=1
3777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3778 for (key in D) D_is_set[key] = 1
3781 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3783 split(line, arg, " ")
3784 if (arg[1] == "#") {
3788 defundef
= substr
(arg
[1], 2)
3791 split(mac1
, mac2
, "(") #)
3793 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
3794 if (D_is_set
[macro
]) {
3795 # Preserve the white space surrounding the "#".
3796 print prefix
"define", macro P
[macro
] D
[macro
]
3799 # Replace #undef with comments. This is necessary, for example,
3800 # in the case of _POSIX_SOURCE, which is predefined and required
3801 # on some systems where configure will not decide to define it.
3802 if (defundef
== "undef") {
3803 print
"/*", prefix defundef
, macro
, "*/"
3811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3812 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
3813 fi # test -n "$CONFIG_HEADERS"
3816 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
3821 :[FHLC
]) ac_mode
=$ac_tag; continue;;
3823 case $ac_mode$ac_tag in
3825 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
3826 :[FH
]-) ac_tag
=-:-;;
3827 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
3844 -) ac_f
="$tmp/stdin";;
3845 *) # Look for the file first in the build tree, then in the source tree
3846 # (if the path is not absolute). The absolute path cannot be DOS-style,
3847 # because $ac_f cannot contain `:'.
3851 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
3853 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
3855 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3856 as_fn_append ac_file_inputs
" '$ac_f'"
3859 # Let's still pretend it is `configure' which instantiates (i.e., don't
3860 # use $as_me), people would be surprised to read:
3861 # /* config.h. Generated by config.status. */
3862 configure_input
='Generated from '`
3863 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3865 if test x
"$ac_file" != x-
; then
3866 configure_input
="$ac_file. $configure_input"
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3868 $as_echo "$as_me: creating $ac_file" >&6;}
3870 # Neutralize special characters interpreted by sed in replacement strings.
3871 case $configure_input in #(
3872 *\
&* |
*\|
* |
*\\* )
3873 ac_sed_conf_input
=`$as_echo "$configure_input" |
3874 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3875 *) ac_sed_conf_input
=$configure_input;;
3879 *:-:* |
*:-) cat >"$tmp/stdin" \
3880 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
3885 ac_dir
=`$as_dirname -- "$ac_file" ||
3886 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3887 X"$ac_file" : 'X\(//\)[^/]' \| \
3888 X"$ac_file" : 'X\(//\)$' \| \
3889 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3890 $as_echo X"$ac_file" |
3891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3908 as_dir
="$ac_dir"; as_fn_mkdir_p
3912 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3914 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3915 # A ".." for each directory in $ac_dir_suffix.
3916 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3917 case $ac_top_builddir_sub in
3918 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3919 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
3922 ac_abs_top_builddir
=$ac_pwd
3923 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
3924 # for backward compatibility:
3925 ac_top_builddir
=$ac_top_build_prefix
3928 .
) # We are building in place.
3930 ac_top_srcdir
=$ac_top_builddir_sub
3931 ac_abs_top_srcdir
=$ac_pwd ;;
3932 [\\/]* | ?
:[\\/]* ) # Absolute name.
3933 ac_srcdir
=$srcdir$ac_dir_suffix;
3934 ac_top_srcdir
=$srcdir
3935 ac_abs_top_srcdir
=$srcdir ;;
3937 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
3938 ac_top_srcdir
=$ac_top_build_prefix$srcdir
3939 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
3941 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
3952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3953 # If the template does not know about datarootdir, expand it.
3954 # FIXME: This hack should be removed a few years after 2.60.
3955 ac_datarootdir_hack
=; ac_datarootdir_seen
=
3966 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3967 *datarootdir
*) ac_datarootdir_seen
=yes;;
3968 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3970 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3973 ac_datarootdir_hack='
3974 s&@datadir@&$datadir&g
3975 s&@docdir@&$docdir&g
3976 s&@infodir@&$infodir&g
3977 s&@localedir@&$localedir&g
3978 s&@mandir@&$mandir&g
3979 s&\\\${datarootdir}&$datarootdir&g' ;;
3983 # Neutralize VPATH when `$srcdir' = `.'.
3984 # Shell code in configure.ac might set extrasub.
3985 # FIXME: do we really want to maintain this feature?
3986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3987 ac_sed_extra="$ac_vpsub
3990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3992 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3993 s|@configure_input@|
$ac_sed_conf_input|
;t t
3994 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
3995 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
3996 s
&@srcdir@
&$ac_srcdir&;t t
3997 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
3998 s
&@top_srcdir@
&$ac_top_srcdir&;t t
3999 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4000 s
&@builddir@
&$ac_builddir&;t t
4001 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4002 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4003 $ac_datarootdir_hack
4005 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
4006 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4008 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4009 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
4010 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4012 which seems to be undefined. Please make sure it is defined" >&5
4013 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4014 which seems to be undefined. Please make sure it is defined" >&2;}
4018 -) cat "$tmp/out" && rm -f "$tmp/out";;
4019 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4021 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4027 if test x"$ac_file" != x-; then
4029 $as_echo "/* $configure_input */" \
4030 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4031 } >"$tmp/config.h" \
4032 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4033 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4035 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4038 mv "$tmp/config.h" "$ac_file" \
4039 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4042 $as_echo "/* $configure_input */" \
4043 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4044 || as_fn_error $? "could not create -" "$LINENO" 5
4048 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4049 $as_echo "$as_me: executing $ac_file commands" >&6;}
4058 ac_clean_files=$ac_clean_files_save
4060 test $ac_write_fail = 0 ||
4061 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4064 # configure is writing to config.log, and then calls config.status.
4065 # config.status does its own redirection, appending to config.log.
4066 # Unfortunately, on DOS this fails, as config.log is still kept open
4067 # by configure, so config.status won't be able to
write to it
; its
4068 # output is simply discarded. So we exec the FD to /dev/null,
4069 # effectively closing config.log, so it can be properly (re)opened and
4070 # appended to by config.status. When coming back to configure, we
4071 # need to make the FD available again.
4072 if test "$no_create" != yes; then
4074 ac_config_status_args
=
4075 test "$silent" = yes &&
4076 ac_config_status_args
="$ac_config_status_args --quiet"
4078 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4080 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4081 # would make configure fail if this is the last instruction.
4082 $ac_cs_success || as_fn_exit
1
4084 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4086 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}