Parent Directory
|
Revision Log
|
Patch
revision 256 by jeremyd2019, Tue Aug 28 05:17:25 2007 UTC | revision 257 by jeremyd2019, Tue Dec 27 08:17:02 2011 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | #! /bin/sh | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.61 for T2Sami 2.0.0033-pre2. | # Generated by GNU Autoconf 2.68 for T2Sami 2.0.0033-pre2. |
4 | # | # |
5 | # | |
6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
8 | # Foundation, Inc. | |
9 | # | |
10 | # | |
11 | # This configure script is free software; the Free Software Foundation | # This configure script is free software; the Free Software Foundation |
12 | # gives unlimited permission to copy, distribute and modify it. | # gives unlimited permission to copy, distribute and modify it. |
13 | ## --------------------- ## | ## -------------------- ## |
14 | ## M4sh Initialization. ## | ## M4sh Initialization. ## |
15 | ## --------------------- ## | ## -------------------- ## |
16 | ||
17 | # Be more Bourne compatible | # Be more Bourne compatible |
18 | DUALCASE=1; export DUALCASE # for MKS sh | DUALCASE=1; export DUALCASE # for MKS sh |
19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
20 | emulate sh | emulate sh |
21 | NULLCMD=: | NULLCMD=: |
22 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
23 | # is contrary to our usage. Disable this feature. | # is contrary to our usage. Disable this feature. |
24 | alias -g '${1+"$@"}'='"$@"' | alias -g '${1+"$@"}'='"$@"' |
25 | setopt NO_GLOB_SUBST | setopt NO_GLOB_SUBST |
26 | else | else |
27 | case `(set -o) 2>/dev/null` in | case `(set -o) 2>/dev/null` in #( |
28 | *posix*) set -o posix ;; | *posix*) : |
29 | set -o posix ;; #( | |
30 | *) : | |
31 | ;; | |
32 | esac | esac |
33 | fi | fi |
34 | ||
35 | ||
36 | as_nl=' | |
37 | ' | |
38 | # PATH needs CR | export as_nl |
39 | # Avoid depending upon Character Ranges. | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
40 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
41 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
42 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
43 | as_cr_digits='0123456789' | # Prefer a ksh shell builtin over an external printf program on Solaris, |
44 | as_cr_alnum=$as_cr_Letters$as_cr_digits | # but without wasting forks for bash or zsh. |
45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
46 | # The user is always right. | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
47 | if test "${PATH_SEPARATOR+set}" != set; then | as_echo='print -r --' |
48 | echo "#! /bin/sh" >conf$$.sh | as_echo_n='print -rn --' |
49 | echo "exit 0" >>conf$$.sh | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
50 | chmod +x conf$$.sh | as_echo='printf %s\n' |
51 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | as_echo_n='printf %s' |
52 | PATH_SEPARATOR=';' | else |
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
55 | as_echo_n='/usr/ucb/echo -n' | |
56 | else | else |
57 | PATH_SEPARATOR=: | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
58 | as_echo_n_body='eval | |
59 | arg=$1; | |
60 | case $arg in #( | |
61 | *"$as_nl"*) | |
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
64 | esac; | |
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
66 | ' | |
67 | export as_echo_n_body | |
68 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
69 | fi | fi |
70 | rm -f conf$$.sh | export as_echo_body |
71 | as_echo='sh -c $as_echo_body as_echo' | |
72 | fi | fi |
73 | ||
74 | # Support unset when possible. | # The user is always right. |
75 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | if test "${PATH_SEPARATOR+set}" != set; then |
76 | as_unset=unset | PATH_SEPARATOR=: |
77 | else | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
78 | as_unset=false | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
79 | PATH_SEPARATOR=';' | |
80 | } | |
81 | fi | fi |
82 | ||
83 | ||
# | Line 63 fi | Line 86 fi |
86 | # there to prevent editors from complaining about space-tab. | # there to prevent editors from complaining about space-tab. |
87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
88 | # splitting by setting IFS to empty value.) | # splitting by setting IFS to empty value.) |
as_nl=' | ||
' | ||
89 | IFS=" "" $as_nl" | IFS=" "" $as_nl" |
90 | ||
91 | # Find who we are. Look in the path if we contain no directory separator. | # Find who we are. Look in the path if we contain no directory separator. |
92 | case $0 in | as_myself= |
93 | case $0 in #(( | |
94 | *[\\/]* ) as_myself=$0 ;; | *[\\/]* ) as_myself=$0 ;; |
95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
96 | for as_dir in $PATH | for as_dir in $PATH |
97 | do | do |
98 | IFS=$as_save_IFS | IFS=$as_save_IFS |
99 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
101 | done | done |
102 | IFS=$as_save_IFS | IFS=$as_save_IFS |
103 | ||
104 | ;; | ;; |
# | Line 87 if test "x$as_myself" = x; then | Line 109 if test "x$as_myself" = x; then |
109 | as_myself=$0 | as_myself=$0 |
110 | fi | fi |
111 | if test ! -f "$as_myself"; then | if test ! -f "$as_myself"; then |
112 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
113 | { (exit 1); exit 1; } | exit 1 |
114 | fi | fi |
115 | ||
116 | # Work around bugs in pre-3.0 UWIN ksh. | # Unset variables that we do not need and which cause bugs (e.g. in |
117 | for as_var in ENV MAIL MAILPATH | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
118 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | # suppresses any "Segmentation fault" message there. '((' could |
119 | # trigger a bug in pdksh 5.2.14. | |
120 | for as_var in BASH_ENV ENV MAIL MAILPATH | |
121 | do eval test x\${$as_var+set} = xset \ | |
122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
123 | done | done |
124 | PS1='$ ' | PS1='$ ' |
125 | PS2='> ' | PS2='> ' |
126 | PS4='+ ' | PS4='+ ' |
127 | ||
128 | # NLS nuisances. | # NLS nuisances. |
129 | for as_var in \ | LC_ALL=C |
130 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | export LC_ALL |
131 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | LANGUAGE=C |
132 | LC_TELEPHONE LC_TIME | export LANGUAGE |
do | ||
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | ||
eval $as_var=C; export $as_var | ||
else | ||
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
fi | ||
done | ||
133 | ||
# Required to use basename. | ||
if expr a : '\(a\)' >/dev/null 2>&1 && | ||
test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
as_expr=expr | ||
else | ||
as_expr=false | ||
fi | ||
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
as_basename=basename | ||
else | ||
as_basename=false | ||
fi | ||
# Name of the executable. | ||
as_me=`$as_basename -- "$0" || | ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
X"$0" : 'X\(//\)$' \| \ | ||
X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
echo X/"$0" | | ||
sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
s//\1/ | ||
q | ||
} | ||
/^X\/\(\/\/\)$/{ | ||
s//\1/ | ||
q | ||
} | ||
/^X\/\(\/\).*/{ | ||
s//\1/ | ||
q | ||
} | ||
s/.*/./; q'` | ||
134 | # CDPATH. | # CDPATH. |
135 | $as_unset CDPATH | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
136 | ||
137 | if test "x$CONFIG_SHELL" = x; then | if test "x$CONFIG_SHELL" = x; then |
138 | if (eval ":") 2>/dev/null; then | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
139 | as_have_required=yes | emulate sh |
140 | NULLCMD=: | |
141 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
142 | # is contrary to our usage. Disable this feature. | |
143 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
144 | setopt NO_GLOB_SUBST | |
145 | else | else |
146 | as_have_required=no | case \`(set -o) 2>/dev/null\` in #( |
147 | *posix*) : | |
148 | set -o posix ;; #( | |
149 | *) : | |
150 | ;; | |
151 | esac | |
152 | fi | fi |
153 | " | |
154 | as_required="as_fn_return () { (exit \$1); } | |
155 | as_fn_success () { as_fn_return 0; } | |
156 | as_fn_failure () { as_fn_return 1; } | |
157 | as_fn_ret_success () { return 0; } | |
158 | as_fn_ret_failure () { return 1; } | |
159 | ||
if test $as_have_required = yes && (eval ": | ||
(as_func_return () { | ||
(exit \$1) | ||
} | ||
as_func_success () { | ||
as_func_return 0 | ||
} | ||
as_func_failure () { | ||
as_func_return 1 | ||
} | ||
as_func_ret_success () { | ||
return 0 | ||
} | ||
as_func_ret_failure () { | ||
return 1 | ||
} | ||
160 | exitcode=0 | exitcode=0 |
161 | if as_func_success; then | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
162 | : | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
163 | else | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
164 | exitcode=1 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
165 | echo as_func_success failed. | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
fi | ||
166 | ||
if as_func_failure; then | ||
exitcode=1 | ||
echo as_func_failure succeeded. | ||
fi | ||
if as_func_ret_success; then | ||
: | ||
167 | else | else |
168 | exitcode=1 | exitcode=1; echo positional parameters were not saved. |
echo as_func_ret_success failed. | ||
169 | fi | fi |
170 | test x\$exitcode = x0 || exit 1" | |
171 | if as_func_ret_failure; then | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
172 | exitcode=1 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
173 | echo as_func_ret_failure succeeded. | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
174 | fi | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
175 | test \$(( 1 + 1 )) = 2 || exit 1" | |
176 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | if (eval "$as_required") 2>/dev/null; then : |
177 | : | as_have_required=yes |
178 | else | else |
179 | exitcode=1 | as_have_required=no |
echo positional parameters were not saved. | ||
180 | fi | fi |
181 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
182 | ||
test \$exitcode = 0) || { (exit 1); exit 1; } | ||
( | ||
as_lineno_1=\$LINENO | ||
as_lineno_2=\$LINENO | ||
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
") 2> /dev/null; then | ||
: | ||
183 | else | else |
184 | as_candidate_shells= | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
185 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_found=false |
186 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
187 | do | do |
188 | IFS=$as_save_IFS | IFS=$as_save_IFS |
189 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
190 | case $as_dir in | as_found=: |
191 | case $as_dir in #( | |
192 | /*) | /*) |
193 | for as_base in sh bash ksh sh5; do | for as_base in sh bash ksh sh5; do |
194 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | # Try only shells that exist, to save several forks. |
195 | as_shell=$as_dir/$as_base | |
196 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
197 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
198 | CONFIG_SHELL=$as_shell as_have_required=yes | |
199 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
200 | break 2 | |
201 | fi | |
202 | fi | |
203 | done;; | done;; |
204 | esac | esac |
205 | as_found=false | |
206 | done | done |
207 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
208 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
209 | CONFIG_SHELL=$SHELL as_have_required=yes | |
210 | fi; } | |
211 | IFS=$as_save_IFS | IFS=$as_save_IFS |
212 | ||
213 | ||
214 | for as_shell in $as_candidate_shells $SHELL; do | if test "x$CONFIG_SHELL" != x; then : |
215 | # Try only shells that exist, to save several forks. | # We cannot yet assume a decent shell, so we have to provide a |
216 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | # neutralization value for shells without unset; and this also |
217 | { ("$as_shell") 2> /dev/null <<\_ASEOF | # works around shells that cannot unset nonexistent variables. |
218 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | # Preserve -v and -x to the replacement shell. |
219 | emulate sh | BASH_ENV=/dev/null |
220 | NULLCMD=: | ENV=/dev/null |
221 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
222 | # is contrary to our usage. Disable this feature. | export CONFIG_SHELL |
223 | alias -g '${1+"$@"}'='"$@"' | case $- in # (((( |
224 | setopt NO_GLOB_SUBST | *v*x* | *x*v* ) as_opts=-vx ;; |
225 | else | *v* ) as_opts=-v ;; |
226 | case `(set -o) 2>/dev/null` in | *x* ) as_opts=-x ;; |
227 | *posix*) set -o posix ;; | * ) as_opts= ;; |
228 | esac | esac |
229 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | |
230 | fi | fi |
231 | ||
232 | if test x$as_have_required = xno; then : | |
233 | : | $as_echo "$0: This script requires a shell more modern than all" |
234 | _ASEOF | $as_echo "$0: the shells that I found on your system." |
235 | }; then | if test x${ZSH_VERSION+set} = xset ; then |
236 | CONFIG_SHELL=$as_shell | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
237 | as_have_required=yes | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
238 | if { "$as_shell" 2> /dev/null <<\_ASEOF | else |
239 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
240 | emulate sh | $0: including any error possibly output before this |
241 | NULLCMD=: | $0: message. Then install a modern shell, or manually run |
242 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | $0: the script under such a shell if you do have one." |
243 | # is contrary to our usage. Disable this feature. | fi |
244 | alias -g '${1+"$@"}'='"$@"' | exit 1 |
setopt NO_GLOB_SUBST | ||
else | ||
case `(set -o) 2>/dev/null` in | ||
*posix*) set -o posix ;; | ||
esac | ||
245 | fi | fi |
: | ||
(as_func_return () { | ||
(exit $1) | ||
} | ||
as_func_success () { | ||
as_func_return 0 | ||
} | ||
as_func_failure () { | ||
as_func_return 1 | ||
} | ||
as_func_ret_success () { | ||
return 0 | ||
} | ||
as_func_ret_failure () { | ||
return 1 | ||
} | ||
exitcode=0 | ||
if as_func_success; then | ||
: | ||
else | ||
exitcode=1 | ||
echo as_func_success failed. | ||
246 | fi | fi |
if as_func_failure; then | ||
exitcode=1 | ||
echo as_func_failure succeeded. | ||
247 | fi | fi |
248 | SHELL=${CONFIG_SHELL-/bin/sh} | |
249 | export SHELL | |
250 | # Unset more variables known to interfere with behavior of common tools. | |
251 | CLICOLOR_FORCE= GREP_OPTIONS= | |
252 | unset CLICOLOR_FORCE GREP_OPTIONS | |
253 | ||
254 | if as_func_ret_success; then | ## --------------------- ## |
255 | : | ## M4sh Shell Functions. ## |
256 | else | ## --------------------- ## |
257 | exitcode=1 | # as_fn_unset VAR |
258 | echo as_func_ret_success failed. | # --------------- |
259 | fi | # Portably unset VAR. |
260 | as_fn_unset () | |
261 | { | |
262 | { eval $1=; unset $1;} | |
263 | } | |
264 | as_unset=as_fn_unset | |
265 | ||
266 | if as_func_ret_failure; then | # as_fn_set_status STATUS |
267 | exitcode=1 | # ----------------------- |
268 | echo as_func_ret_failure succeeded. | # Set $? to STATUS, without forking. |
269 | fi | as_fn_set_status () |
270 | { | |
271 | return $1 | |
272 | } # as_fn_set_status | |
273 | ||
274 | if ( set x; as_func_ret_success y && test x = "$1" ); then | # as_fn_exit STATUS |
275 | : | # ----------------- |
276 | else | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
277 | exitcode=1 | as_fn_exit () |
278 | echo positional parameters were not saved. | { |
279 | fi | set +e |
280 | as_fn_set_status $1 | |
281 | exit $1 | |
282 | } # as_fn_exit | |
283 | ||
284 | test $exitcode = 0) || { (exit 1); exit 1; } | # as_fn_mkdir_p |
285 | # ------------- | |
286 | # Create "$as_dir" as a directory, including parents if necessary. | |
287 | as_fn_mkdir_p () | |
288 | { | |
289 | ||
290 | ( | case $as_dir in #( |
291 | as_lineno_1=$LINENO | -*) as_dir=./$as_dir;; |
292 | as_lineno_2=$LINENO | esac |
293 | test "x$as_lineno_1" != "x$as_lineno_2" && | test -d "$as_dir" || eval $as_mkdir_p || { |
294 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | as_dirs= |
295 | while :; do | |
296 | case $as_dir in #( | |
297 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
298 | *) as_qdir=$as_dir;; | |
299 | esac | |
300 | as_dirs="'$as_qdir' $as_dirs" | |
301 | as_dir=`$as_dirname -- "$as_dir" || | |
302 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
303 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
304 | X"$as_dir" : 'X\(//\)$' \| \ | |
305 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
306 | $as_echo X"$as_dir" | | |
307 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
308 | s//\1/ | |
309 | q | |
310 | } | |
311 | /^X\(\/\/\)[^/].*/{ | |
312 | s//\1/ | |
313 | q | |
314 | } | |
315 | /^X\(\/\/\)$/{ | |
316 | s//\1/ | |
317 | q | |
318 | } | |
319 | /^X\(\/\).*/{ | |
320 | s//\1/ | |
321 | q | |
322 | } | |
323 | s/.*/./; q'` | |
324 | test -d "$as_dir" && break | |
325 | done | |
326 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
327 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
328 | ||
_ASEOF | ||
}; then | ||
break | ||
fi | ||
329 | ||
330 | fi | } # as_fn_mkdir_p |
331 | # as_fn_append VAR VALUE | |
332 | # ---------------------- | |
333 | # Append the text in VALUE to the end of the definition contained in VAR. Take | |
334 | # advantage of any shell optimizations that allow amortized linear growth over | |
335 | # repeated appends, instead of the typical quadratic growth present in naive | |
336 | # implementations. | |
337 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
338 | eval 'as_fn_append () | |
339 | { | |
340 | eval $1+=\$2 | |
341 | }' | |
342 | else | |
343 | as_fn_append () | |
344 | { | |
345 | eval $1=\$$1\$2 | |
346 | } | |
347 | fi # as_fn_append | |
348 | ||
349 | done | # as_fn_arith ARG... |
350 | # ------------------ | |
351 | # Perform arithmetic evaluation on the ARGs, and store the result in the | |
352 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
353 | # must be portable across $(()) and expr. | |
354 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
355 | eval 'as_fn_arith () | |
356 | { | |
357 | as_val=$(( $* )) | |
358 | }' | |
359 | else | |
360 | as_fn_arith () | |
361 | { | |
362 | as_val=`expr "$@" || test $? -eq 1` | |
363 | } | |
364 | fi # as_fn_arith | |
365 | ||
if test "x$CONFIG_SHELL" != x; then | ||
for as_var in BASH_ENV ENV | ||
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
done | ||
export CONFIG_SHELL | ||
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | ||
fi | ||
366 | ||
367 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
368 | # ---------------------------------------- | |
369 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
370 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
371 | # script with STATUS, using 1 if that was 0. | |
372 | as_fn_error () | |
373 | { | |
374 | as_status=$1; test $as_status -eq 0 && as_status=1 | |
375 | if test "$4"; then | |
376 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
377 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
378 | fi | |
379 | $as_echo "$as_me: error: $2" >&2 | |
380 | as_fn_exit $as_status | |
381 | } # as_fn_error | |
382 | ||
383 | if test $as_have_required = no; then | if expr a : '\(a\)' >/dev/null 2>&1 && |
384 | echo This script requires a shell more modern than all the | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
385 | echo shells that I found on your system. Please install a | as_expr=expr |
echo modern shell, or manually run the script under such a | ||
echo shell if you do have one. | ||
{ (exit 1); exit 1; } | ||
fi | ||
fi | ||
fi | ||
(eval "as_func_return () { | ||
(exit \$1) | ||
} | ||
as_func_success () { | ||
as_func_return 0 | ||
} | ||
as_func_failure () { | ||
as_func_return 1 | ||
} | ||
as_func_ret_success () { | ||
return 0 | ||
} | ||
as_func_ret_failure () { | ||
return 1 | ||
} | ||
exitcode=0 | ||
if as_func_success; then | ||
: | ||
386 | else | else |
387 | exitcode=1 | as_expr=false |
echo as_func_success failed. | ||
388 | fi | fi |
389 | ||
390 | if as_func_failure; then | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
391 | exitcode=1 | as_basename=basename |
echo as_func_failure succeeded. | ||
fi | ||
if as_func_ret_success; then | ||
: | ||
392 | else | else |
393 | exitcode=1 | as_basename=false |
echo as_func_ret_success failed. | ||
394 | fi | fi |
395 | ||
396 | if as_func_ret_failure; then | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
397 | exitcode=1 | as_dirname=dirname |
echo as_func_ret_failure succeeded. | ||
fi | ||
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
: | ||
398 | else | else |
399 | exitcode=1 | as_dirname=false |
echo positional parameters were not saved. | ||
400 | fi | fi |
401 | ||
402 | test \$exitcode = 0") || { | as_me=`$as_basename -- "$0" || |
403 | echo No shell found that supports shell functions. | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
404 | echo Please tell autoconf@gnu.org about your system, | X"$0" : 'X\(//\)$' \| \ |
405 | echo including any error possibly output before this | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
406 | echo message | $as_echo X/"$0" | |
407 | } | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
408 | s//\1/ | |
409 | q | |
410 | } | |
411 | /^X\/\(\/\/\)$/{ | |
412 | s//\1/ | |
413 | q | |
414 | } | |
415 | /^X\/\(\/\).*/{ | |
416 | s//\1/ | |
417 | q | |
418 | } | |
419 | s/.*/./; q'` | |
420 | ||
421 | # Avoid depending upon Character Ranges. | |
422 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
423 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
424 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
425 | as_cr_digits='0123456789' | |
426 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
427 | ||
428 | ||
429 | as_lineno_1=$LINENO | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
430 | as_lineno_2=$LINENO | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
431 | test "x$as_lineno_1" != "x$as_lineno_2" && | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
432 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
433 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
# uniformly replaced by the line number. The first 'sed' inserts a | ||
# line-number line after each line using $LINENO; the second 'sed' | ||
# does the real work. The second script uses 'N' to pair each | ||
# line-number line with the line containing $LINENO, and appends | ||
# trailing '-' during substitution so that $LINENO is not a special | ||
# case at line end. | ||
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
# scripts with optimization help from Paolo Bonzini. Blame Lee | ||
# E. McMahon (1931-1989) for sed's syntax. :-) | ||
434 | sed -n ' | sed -n ' |
435 | p | p |
436 | /[$]LINENO/= | /[$]LINENO/= |
# | Line 451 test \$exitcode = 0") || { | Line 447 test \$exitcode = 0") || { |
447 | s/-\n.*// | s/-\n.*// |
448 | ' >$as_me.lineno && | ' >$as_me.lineno && |
449 | chmod +x "$as_me.lineno" || | chmod +x "$as_me.lineno" || |
450 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
{ (exit 1); exit 1; }; } | ||
451 | ||
452 | # Don't try to exec as it changes $[0], causing all sort of problems | # Don't try to exec as it changes $[0], causing all sort of problems |
453 | # (the dirname of $[0] is not the place where we might find the | # (the dirname of $[0] is not the place where we might find the |
# | Line 462 test \$exitcode = 0") || { | Line 457 test \$exitcode = 0") || { |
457 | exit | exit |
458 | } | } |
459 | ||
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
as_dirname=dirname | ||
else | ||
as_dirname=false | ||
fi | ||
460 | ECHO_C= ECHO_N= ECHO_T= | ECHO_C= ECHO_N= ECHO_T= |
461 | case `echo -n x` in | case `echo -n x` in #((((( |
462 | -n*) | -n*) |
463 | case `echo 'x\c'` in | case `echo 'xy\c'` in |
464 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
465 | *) ECHO_C='\c';; | xy) ECHO_C='\c';; |
466 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
467 | ECHO_T=' ';; | |
468 | esac;; | esac;; |
469 | *) | *) |
470 | ECHO_N='-n';; | ECHO_N='-n';; |
471 | esac | esac |
472 | ||
if expr a : '\(a\)' >/dev/null 2>&1 && | ||
test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
as_expr=expr | ||
else | ||
as_expr=false | ||
fi | ||
473 | rm -f conf$$ conf$$.exe conf$$.file | rm -f conf$$ conf$$.exe conf$$.file |
474 | if test -d conf$$.dir; then | if test -d conf$$.dir; then |
475 | rm -f conf$$.dir/conf$$.file | rm -f conf$$.dir/conf$$.file |
476 | else | else |
477 | rm -f conf$$.dir | rm -f conf$$.dir |
478 | mkdir conf$$.dir | mkdir conf$$.dir 2>/dev/null |
479 | fi | fi |
480 | echo >conf$$.file | if (echo >conf$$.file) 2>/dev/null; then |
481 | if ln -s conf$$.file conf$$ 2>/dev/null; then | if ln -s conf$$.file conf$$ 2>/dev/null; then |
482 | as_ln_s='ln -s' | as_ln_s='ln -s' |
483 | # ... but there are two gotchas: | # ... but there are two gotchas: |
484 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
485 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
486 | # In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -p'. |
487 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
488 | as_ln_s='cp -p' | |
489 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
490 | as_ln_s=ln | |
491 | else | |
492 | as_ln_s='cp -p' | as_ln_s='cp -p' |
493 | elif ln conf$$.file conf$$ 2>/dev/null; then | fi |
as_ln_s=ln | ||
494 | else | else |
495 | as_ln_s='cp -p' | as_ln_s='cp -p' |
496 | fi | fi |
# | Line 512 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$. | Line 498 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$. |
498 | rmdir conf$$.dir 2>/dev/null | rmdir conf$$.dir 2>/dev/null |
499 | ||
500 | if mkdir -p . 2>/dev/null; then | if mkdir -p . 2>/dev/null; then |
501 | as_mkdir_p=: | as_mkdir_p='mkdir -p "$as_dir"' |
502 | else | else |
503 | test -d ./-p && rmdir ./-p | test -d ./-p && rmdir ./-p |
504 | as_mkdir_p=false | as_mkdir_p=false |
# | Line 529 else | Line 515 else |
515 | as_test_x=' | as_test_x=' |
516 | eval sh -c '\'' | eval sh -c '\'' |
517 | if test -d "$1"; then | if test -d "$1"; then |
518 | test -d "$1/."; | test -d "$1/."; |
519 | else | else |
520 | case $1 in | case $1 in #( |
521 | -*)set "./$1";; | -*)set "./$1";; |
522 | esac; | esac; |
523 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
524 | ???[sx]*):;;*)false;;esac;fi | ???[sx]*):;;*)false;;esac;fi |
525 | '\'' sh | '\'' sh |
526 | ' | ' |
# | Line 548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS | Line 534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS |
534 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
535 | ||
536 | ||
537 | test -n "$DJDIR" || exec 7<&0 </dev/null | |
538 | exec 6>&1 | |
539 | ||
exec 7<&0 </dev/null 6>&1 | ||
540 | # Name of the host. | # Name of the host. |
541 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
542 | # so uname gets run too. | # so uname gets run too. |
543 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
544 | ||
# | Line 567 cross_compiling=no | Line 553 cross_compiling=no |
553 | subdirs= | subdirs= |
554 | MFLAGS= | MFLAGS= |
555 | MAKEFLAGS= | MAKEFLAGS= |
SHELL=${CONFIG_SHELL-/bin/sh} | ||
556 | ||
557 | # Identity of this package. | # Identity of this package. |
558 | PACKAGE_NAME='T2Sami' | PACKAGE_NAME='T2Sami' |
# | Line 575 PACKAGE_TARNAME='t2sami' | Line 560 PACKAGE_TARNAME='t2sami' |
560 | PACKAGE_VERSION='2.0.0033-pre2' | PACKAGE_VERSION='2.0.0033-pre2' |
561 | PACKAGE_STRING='T2Sami 2.0.0033-pre2' | PACKAGE_STRING='T2Sami 2.0.0033-pre2' |
562 | PACKAGE_BUGREPORT='' | PACKAGE_BUGREPORT='' |
563 | PACKAGE_URL='' | |
564 | ||
565 | ac_unique_file="t2samiapp.cpp" | ac_unique_file="t2samiapp.cpp" |
566 | # Factoring default headers for most tests. | # Factoring default headers for most tests. |
# | Line 613 ac_includes_default="\ | Line 599 ac_includes_default="\ |
599 | # include <unistd.h> | # include <unistd.h> |
600 | #endif" | #endif" |
601 | ||
602 | ac_subst_vars='SHELL | ac_subst_vars='LTLIBOBJS |
PATH_SEPARATOR | ||
PACKAGE_NAME | ||
PACKAGE_TARNAME | ||
PACKAGE_VERSION | ||
PACKAGE_STRING | ||
PACKAGE_BUGREPORT | ||
exec_prefix | ||
prefix | ||
program_transform_name | ||
bindir | ||
sbindir | ||
libexecdir | ||
datarootdir | ||
datadir | ||
sysconfdir | ||
sharedstatedir | ||
localstatedir | ||
includedir | ||
oldincludedir | ||
docdir | ||
infodir | ||
htmldir | ||
dvidir | ||
pdfdir | ||
psdir | ||
libdir | ||
localedir | ||
mandir | ||
DEFS | ||
ECHO_C | ||
ECHO_N | ||
ECHO_T | ||
LIBS | ||
build_alias | ||
host_alias | ||
target_alias | ||
INSTALL_PROGRAM | ||
INSTALL_SCRIPT | ||
INSTALL_DATA | ||
am__isrc | ||
CYGPATH_W | ||
PACKAGE | ||
VERSION | ||
ACLOCAL | ||
AUTOCONF | ||
AUTOMAKE | ||
AUTOHEADER | ||
MAKEINFO | ||
install_sh | ||
STRIP | ||
INSTALL_STRIP_PROGRAM | ||
mkdir_p | ||
AWK | ||
SET_MAKE | ||
am__leading_dot | ||
AMTAR | ||
am__tar | ||
am__untar | ||
MAINTAINER_MODE_TRUE | ||
MAINTAINER_MODE_FALSE | ||
MAINT | ||
CXX | ||
CXXFLAGS | ||
LDFLAGS | ||
CPPFLAGS | ||
ac_ct_CXX | ||
EXEEXT | ||
OBJEXT | ||
DEPDIR | ||
am__include | ||
am__quote | ||
AMDEP_TRUE | ||
AMDEP_FALSE | ||
AMDEPBACKSLASH | ||
CXXDEPMODE | ||
am__fastdepCXX_TRUE | ||
am__fastdepCXX_FALSE | ||
CC | ||
CFLAGS | ||
ac_ct_CC | ||
CCDEPMODE | ||
am__fastdepCC_TRUE | ||
am__fastdepCC_FALSE | ||
CPP | ||
GREP | ||
EGREP | ||
RANLIB | ||
BOOST_CPPFLAGS | ||
BOOST_LDFLAGS | ||
BOOST_FILESYSTEM_LIB | ||
DOXYGEN | ||
603 | LIBOBJS | LIBOBJS |
604 | LTLIBOBJS' | DOXYGEN |
605 | BOOST_FILESYSTEM_LIB | |
606 | BOOST_LDFLAGS | |
607 | BOOST_CPPFLAGS | |
608 | RANLIB | |
609 | EGREP | |
610 | GREP | |
611 | CPP | |
612 | am__fastdepCC_FALSE | |
613 | am__fastdepCC_TRUE | |
614 | CCDEPMODE | |
615 | ac_ct_CC | |
616 | CFLAGS | |
617 | CC | |
618 | am__fastdepCXX_FALSE | |
619 | am__fastdepCXX_TRUE | |
620 | CXXDEPMODE | |
621 | AMDEPBACKSLASH | |
622 | AMDEP_FALSE | |
623 | AMDEP_TRUE | |
624 | am__quote | |
625 | am__include | |
626 | DEPDIR | |
627 | OBJEXT | |
628 | EXEEXT | |
629 | ac_ct_CXX | |
630 | CPPFLAGS | |
631 | LDFLAGS | |
632 | CXXFLAGS | |
633 | CXX | |
634 | MAINT | |
635 | MAINTAINER_MODE_FALSE | |
636 | MAINTAINER_MODE_TRUE | |
637 | am__untar | |
638 | am__tar | |
639 | AMTAR | |
640 | am__leading_dot | |
641 | SET_MAKE | |
642 | AWK | |
643 | mkdir_p | |
644 | MKDIR_P | |
645 | INSTALL_STRIP_PROGRAM | |
646 | STRIP | |
647 | install_sh | |
648 | MAKEINFO | |
649 | AUTOHEADER | |
650 | AUTOMAKE | |
651 | AUTOCONF | |
652 | ACLOCAL | |
653 | VERSION | |
654 | PACKAGE | |
655 | CYGPATH_W | |
656 | am__isrc | |
657 | INSTALL_DATA | |
658 | INSTALL_SCRIPT | |
659 | INSTALL_PROGRAM | |
660 | target_alias | |
661 | host_alias | |
662 | build_alias | |
663 | LIBS | |
664 | ECHO_T | |
665 | ECHO_N | |
666 | ECHO_C | |
667 | DEFS | |
668 | mandir | |
669 | localedir | |
670 | libdir | |
671 | psdir | |
672 | pdfdir | |
673 | dvidir | |
674 | htmldir | |
675 | infodir | |
676 | docdir | |
677 | oldincludedir | |
678 | includedir | |
679 | localstatedir | |
680 | sharedstatedir | |
681 | sysconfdir | |
682 | datadir | |
683 | datarootdir | |
684 | libexecdir | |
685 | sbindir | |
686 | bindir | |
687 | program_transform_name | |
688 | prefix | |
689 | exec_prefix | |
690 | PACKAGE_URL | |
691 | PACKAGE_BUGREPORT | |
692 | PACKAGE_STRING | |
693 | PACKAGE_VERSION | |
694 | PACKAGE_TARNAME | |
695 | PACKAGE_NAME | |
696 | PATH_SEPARATOR | |
697 | SHELL' | |
698 | ac_subst_files='' | ac_subst_files='' |
699 | ac_user_opts=' | |
700 | enable_option_checking | |
701 | enable_maintainer_mode | |
702 | enable_debug | |
703 | enable_dump_psdata | |
704 | enable_dump_video_pesdata | |
705 | enable_dump_audio_pesdata | |
706 | enable_dump_userdata | |
707 | enable_dump_closedcapdata | |
708 | enable_dump_picturedata | |
709 | enable_dump_all | |
710 | enable_dependency_tracking | |
711 | enable_largefile | |
712 | with_boost | |
713 | with_boost_filesystem | |
714 | ' | |
715 | ac_precious_vars='build_alias | ac_precious_vars='build_alias |
716 | host_alias | host_alias |
717 | target_alias | target_alias |
# | Line 726 DOXYGEN' | Line 730 DOXYGEN' |
730 | # Initialize some variables set by options. | # Initialize some variables set by options. |
731 | ac_init_help= | ac_init_help= |
732 | ac_init_version=false | ac_init_version=false |
733 | ac_unrecognized_opts= | |
734 | ac_unrecognized_sep= | |
735 | # The variables have the same names as the options, with | # The variables have the same names as the options, with |
736 | # dashes changed to underlines. | # dashes changed to underlines. |
737 | cache_file=/dev/null | cache_file=/dev/null |
# | Line 781 do | Line 787 do |
787 | fi | fi |
788 | ||
789 | case $ac_option in | case $ac_option in |
790 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
791 | *) ac_optarg=yes ;; | *=) ac_optarg= ;; |
792 | *) ac_optarg=yes ;; | |
793 | esac | esac |
794 | ||
795 | # Accept the important Cygnus configure options, so we can diagnose typos. | # Accept the important Cygnus configure options, so we can diagnose typos. |
# | Line 824 do | Line 831 do |
831 | datarootdir=$ac_optarg ;; | datarootdir=$ac_optarg ;; |
832 | ||
833 | -disable-* | --disable-*) | -disable-* | --disable-*) |
834 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
835 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
836 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
837 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | as_fn_error $? "invalid feature name: $ac_useropt" |
838 | { (exit 1); exit 1; }; } | ac_useropt_orig=$ac_useropt |
839 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
840 | eval enable_$ac_feature=no ;; | case $ac_user_opts in |
841 | *" | |
842 | "enable_$ac_useropt" | |
843 | "*) ;; | |
844 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
845 | ac_unrecognized_sep=', ';; | |
846 | esac | |
847 | eval enable_$ac_useropt=no ;; | |
848 | ||
849 | -docdir | --docdir | --docdi | --doc | --do) | -docdir | --docdir | --docdi | --doc | --do) |
850 | ac_prev=docdir ;; | ac_prev=docdir ;; |
# | Line 843 do | Line 857 do |
857 | dvidir=$ac_optarg ;; | dvidir=$ac_optarg ;; |
858 | ||
859 | -enable-* | --enable-*) | -enable-* | --enable-*) |
860 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
861 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
862 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
863 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | as_fn_error $? "invalid feature name: $ac_useropt" |
864 | { (exit 1); exit 1; }; } | ac_useropt_orig=$ac_useropt |
865 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
866 | eval enable_$ac_feature=\$ac_optarg ;; | case $ac_user_opts in |
867 | *" | |
868 | "enable_$ac_useropt" | |
869 | "*) ;; | |
870 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
871 | ac_unrecognized_sep=', ';; | |
872 | esac | |
873 | eval enable_$ac_useropt=\$ac_optarg ;; | |
874 | ||
875 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
876 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
# | Line 1040 do | Line 1061 do |
1061 | ac_init_version=: ;; | ac_init_version=: ;; |
1062 | ||
1063 | -with-* | --with-*) | -with-* | --with-*) |
1064 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1065 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
1066 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1067 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | as_fn_error $? "invalid package name: $ac_useropt" |
1068 | { (exit 1); exit 1; }; } | ac_useropt_orig=$ac_useropt |
1069 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1070 | eval with_$ac_package=\$ac_optarg ;; | case $ac_user_opts in |
1071 | *" | |
1072 | "with_$ac_useropt" | |
1073 | "*) ;; | |
1074 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1075 | ac_unrecognized_sep=', ';; | |
1076 | esac | |
1077 | eval with_$ac_useropt=\$ac_optarg ;; | |
1078 | ||
1079 | -without-* | --without-*) | -without-* | --without-*) |
1080 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1081 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
1082 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1083 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | as_fn_error $? "invalid package name: $ac_useropt" |
1084 | { (exit 1); exit 1; }; } | ac_useropt_orig=$ac_useropt |
1085 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1086 | eval with_$ac_package=no ;; | case $ac_user_opts in |
1087 | *" | |
1088 | "with_$ac_useropt" | |
1089 | "*) ;; | |
1090 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1091 | ac_unrecognized_sep=', ';; | |
1092 | esac | |
1093 | eval with_$ac_useropt=no ;; | |
1094 | ||
1095 | --x) | --x) |
1096 | # Obsolete; use --with-x. | # Obsolete; use --with-x. |
# | Line 1075 do | Line 1110 do |
1110 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1111 | x_libraries=$ac_optarg ;; | x_libraries=$ac_optarg ;; |
1112 | ||
1113 | -*) { echo "$as_me: error: unrecognized option: $ac_option | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1114 | Try \`$0 --help' for more information." >&2 | Try \`$0 --help' for more information" |
{ (exit 1); exit 1; }; } | ||
1115 | ;; | ;; |
1116 | ||
1117 | *=*) | *=*) |
1118 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1119 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
1120 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | case $ac_envvar in #( |
1121 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1122 | { (exit 1); exit 1; }; } | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1123 | esac | |
1124 | eval $ac_envvar=\$ac_optarg | eval $ac_envvar=\$ac_optarg |
1125 | export $ac_envvar ;; | export $ac_envvar ;; |
1126 | ||
1127 | *) | *) |
1128 | # FIXME: should be removed in autoconf 3.0. | # FIXME: should be removed in autoconf 3.0. |
1129 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1130 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1131 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1132 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1133 | ;; | ;; |
1134 | ||
1135 | esac | esac |
# | Line 1102 done | Line 1137 done |
1137 | ||
1138 | if test -n "$ac_prev"; then | if test -n "$ac_prev"; then |
1139 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1140 | { echo "$as_me: error: missing argument to $ac_option" >&2 | as_fn_error $? "missing argument to $ac_option" |
{ (exit 1); exit 1; }; } | ||
1141 | fi | fi |
1142 | ||
1143 | # Be sure to have absolute directory names. | if test -n "$ac_unrecognized_opts"; then |
1144 | case $enable_option_checking in | |
1145 | no) ;; | |
1146 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1147 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1148 | esac | |
1149 | fi | |
1150 | ||
1151 | # Check all directory arguments for consistency. | |
1152 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1153 | datadir sysconfdir sharedstatedir localstatedir includedir \ | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1154 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1155 | libdir localedir mandir | libdir localedir mandir |
1156 | do | do |
1157 | eval ac_val=\$$ac_var | eval ac_val=\$$ac_var |
1158 | # Remove trailing slashes. | |
1159 | case $ac_val in | case $ac_val in |
1160 | */ ) | |
1161 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1162 | eval $ac_var=\$ac_val;; | |
1163 | esac | |
1164 | # Be sure to have absolute directory names. | |
1165 | case $ac_val in | |
1166 | [\\/$]* | ?:[\\/]* ) continue;; | [\\/$]* | ?:[\\/]* ) continue;; |
1167 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1168 | esac | esac |
1169 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
{ (exit 1); exit 1; }; } | ||
1170 | done | done |
1171 | ||
1172 | # There might be people who depend on the old broken behavior: `$host' | # There might be people who depend on the old broken behavior: `$host' |
# | Line 1132 target=$target_alias | Line 1180 target=$target_alias |
1180 | if test "x$host_alias" != x; then | if test "x$host_alias" != x; then |
1181 | if test "x$build_alias" = x; then | if test "x$build_alias" = x; then |
1182 | cross_compiling=maybe | cross_compiling=maybe |
1183 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1184 | If a cross compiler is detected then cross compile mode will be used." >&2 | If a cross compiler is detected then cross compile mode will be used" >&2 |
1185 | elif test "x$build_alias" != "x$host_alias"; then | elif test "x$build_alias" != "x$host_alias"; then |
1186 | cross_compiling=yes | cross_compiling=yes |
1187 | fi | fi |
# | Line 1148 test "$silent" = yes && exec 6>/dev/null | Line 1196 test "$silent" = yes && exec 6>/dev/null |
1196 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1197 | ac_ls_di=`ls -di .` && | ac_ls_di=`ls -di .` && |
1198 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1199 | { echo "$as_me: error: Working directory cannot be determined" >&2 | as_fn_error $? "working directory cannot be determined" |
{ (exit 1); exit 1; }; } | ||
1200 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1201 | { echo "$as_me: error: pwd does not report name of working directory" >&2 | as_fn_error $? "pwd does not report name of working directory" |
{ (exit 1); exit 1; }; } | ||
1202 | ||
1203 | ||
1204 | # Find the source files, if location was not specified. | # Find the source files, if location was not specified. |
1205 | if test -z "$srcdir"; then | if test -z "$srcdir"; then |
1206 | ac_srcdir_defaulted=yes | ac_srcdir_defaulted=yes |
1207 | # Try the directory containing this script, then the parent directory. | # Try the directory containing this script, then the parent directory. |
1208 | ac_confdir=`$as_dirname -- "$0" || | ac_confdir=`$as_dirname -- "$as_myself" || |
1209 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1210 | X"$0" : 'X\(//\)[^/]' \| \ | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1211 | X"$0" : 'X\(//\)$' \| \ | X"$as_myself" : 'X\(//\)$' \| \ |
1212 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1213 | echo X"$0" | | $as_echo X"$as_myself" | |
1214 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1215 | s//\1/ | s//\1/ |
1216 | q | q |
# | Line 1191 else | Line 1237 else |
1237 | fi | fi |
1238 | if test ! -r "$srcdir/$ac_unique_file"; then | if test ! -r "$srcdir/$ac_unique_file"; then |
1239 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1240 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
{ (exit 1); exit 1; }; } | ||
1241 | fi | fi |
1242 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1243 | ac_abs_confdir=`( | ac_abs_confdir=`( |
1244 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
{ (exit 1); exit 1; }; } | ||
1245 | pwd)` | pwd)` |
1246 | # When building in place, set srcdir=. | # When building in place, set srcdir=. |
1247 | if test "$ac_abs_confdir" = "$ac_pwd"; then | if test "$ac_abs_confdir" = "$ac_pwd"; then |
# | Line 1237 Configuration: | Line 1281 Configuration: |
1281 | --help=short display options specific to this package | --help=short display options specific to this package |
1282 | --help=recursive display the short help of all the included packages | --help=recursive display the short help of all the included packages |
1283 | -V, --version display version information and exit | -V, --version display version information and exit |
1284 | -q, --quiet, --silent do not print \`checking...' messages | -q, --quiet, --silent do not print \`checking ...' messages |
1285 | --cache-file=FILE cache test results in FILE [disabled] | --cache-file=FILE cache test results in FILE [disabled] |
1286 | -C, --config-cache alias for \`--cache-file=config.cache' | -C, --config-cache alias for \`--cache-file=config.cache' |
1287 | -n, --no-create do not create output files | -n, --no-create do not create output files |
# | Line 1245 Configuration: | Line 1289 Configuration: |
1289 | ||
1290 | Installation directories: | Installation directories: |
1291 | --prefix=PREFIX install architecture-independent files in PREFIX | --prefix=PREFIX install architecture-independent files in PREFIX |
1292 | [$ac_default_prefix] | [$ac_default_prefix] |
1293 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1294 | [PREFIX] | [PREFIX] |
1295 | ||
1296 | By default, \`make install' will install all the files in | By default, \`make install' will install all the files in |
1297 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
# | Line 1257 for instance \`--prefix=\$HOME'. | Line 1301 for instance \`--prefix=\$HOME'. |
1301 | For better control, use the options below. | For better control, use the options below. |
1302 | ||
1303 | Fine tuning of the installation directories: | Fine tuning of the installation directories: |
1304 | --bindir=DIR user executables [EPREFIX/bin] | --bindir=DIR user executables [EPREFIX/bin] |
1305 | --sbindir=DIR system admin executables [EPREFIX/sbin] | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1306 | --libexecdir=DIR program executables [EPREFIX/libexec] | --libexecdir=DIR program executables [EPREFIX/libexec] |
1307 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1308 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1309 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1310 | --libdir=DIR object code libraries [EPREFIX/lib] | --libdir=DIR object code libraries [EPREFIX/lib] |
1311 | --includedir=DIR C header files [PREFIX/include] | --includedir=DIR C header files [PREFIX/include] |
1312 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1313 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1314 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1315 | --infodir=DIR info documentation [DATAROOTDIR/info] | --infodir=DIR info documentation [DATAROOTDIR/info] |
1316 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1317 | --mandir=DIR man documentation [DATAROOTDIR/man] | --mandir=DIR man documentation [DATAROOTDIR/man] |
1318 | --docdir=DIR documentation root [DATAROOTDIR/doc/t2sami] | --docdir=DIR documentation root [DATAROOTDIR/doc/t2sami] |
1319 | --htmldir=DIR html documentation [DOCDIR] | --htmldir=DIR html documentation [DOCDIR] |
1320 | --dvidir=DIR dvi documentation [DOCDIR] | --dvidir=DIR dvi documentation [DOCDIR] |
1321 | --pdfdir=DIR pdf documentation [DOCDIR] | --pdfdir=DIR pdf documentation [DOCDIR] |
1322 | --psdir=DIR ps documentation [DOCDIR] | --psdir=DIR ps documentation [DOCDIR] |
1323 | _ACEOF | _ACEOF |
1324 | ||
1325 | cat <<\_ACEOF | cat <<\_ACEOF |
# | Line 1294 if test -n "$ac_init_help"; then | Line 1338 if test -n "$ac_init_help"; then |
1338 | cat <<\_ACEOF | cat <<\_ACEOF |
1339 | ||
1340 | Optional Features: | Optional Features: |
1341 | --disable-option-checking ignore unrecognized --enable/--with options | |
1342 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1343 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1344 | --enable-maintainer-mode enable make rules and dependencies not useful | --enable-maintainer-mode enable make rules and dependencies not useful |
# | Line 1326 Some influential environment variables: | Line 1371 Some influential environment variables: |
1371 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1372 | nonstandard directory <lib dir> | nonstandard directory <lib dir> |
1373 | LIBS libraries to pass to the linker, e.g. -l<library> | LIBS libraries to pass to the linker, e.g. -l<library> |
1374 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1375 | you have headers in a nonstandard directory <include dir> | you have headers in a nonstandard directory <include dir> |
1376 | CC C compiler command | CC C compiler command |
1377 | CFLAGS C compiler flags | CFLAGS C compiler flags |
# | Line 1336 Some influential environment variables: | Line 1381 Some influential environment variables: |
1381 | Use these variables to override the choices made by `configure' or to help | Use these variables to override the choices made by `configure' or to help |
1382 | it to find libraries and programs with nonstandard names/locations. | it to find libraries and programs with nonstandard names/locations. |
1383 | ||
1384 | Report bugs to the package provider. | |
1385 | _ACEOF | _ACEOF |
1386 | ac_status=$? | ac_status=$? |
1387 | fi | fi |
# | Line 1343 fi | Line 1389 fi |
1389 | if test "$ac_init_help" = "recursive"; then | if test "$ac_init_help" = "recursive"; then |
1390 | # If there are subdirs, report their specific --help. | # If there are subdirs, report their specific --help. |
1391 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1392 | test -d "$ac_dir" || continue | test -d "$ac_dir" || |
1393 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1394 | continue | |
1395 | ac_builddir=. | ac_builddir=. |
1396 | ||
1397 | case "$ac_dir" in | case "$ac_dir" in |
1398 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1399 | *) | *) |
1400 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1401 | # A ".." for each directory in $ac_dir_suffix. | # A ".." for each directory in $ac_dir_suffix. |
1402 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1403 | case $ac_top_builddir_sub in | case $ac_top_builddir_sub in |
1404 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1405 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
# | Line 1387 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | Line 1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1435 | echo && | echo && |
1436 | $SHELL "$ac_srcdir/configure" --help=recursive | $SHELL "$ac_srcdir/configure" --help=recursive |
1437 | else | else |
1438 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1439 | fi || ac_status=$? | fi || ac_status=$? |
1440 | cd "$ac_pwd" || { ac_status=$?; break; } | cd "$ac_pwd" || { ac_status=$?; break; } |
1441 | done | done |
# | Line 1397 test -n "$ac_init_help" && exit $ac_status | Line 1445 test -n "$ac_init_help" && exit $ac_status |
1445 | if $ac_init_version; then | if $ac_init_version; then |
1446 | cat <<\_ACEOF | cat <<\_ACEOF |
1447 | T2Sami configure 2.0.0033-pre2 | T2Sami configure 2.0.0033-pre2 |
1448 | generated by GNU Autoconf 2.61 | generated by GNU Autoconf 2.68 |
1449 | ||
1450 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | Copyright (C) 2010 Free Software Foundation, Inc. |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | ||
1451 | This configure script is free software; the Free Software Foundation | This configure script is free software; the Free Software Foundation |
1452 | gives unlimited permission to copy, distribute and modify it. | gives unlimited permission to copy, distribute and modify it. |
1453 | _ACEOF | _ACEOF |
1454 | exit | exit |
1455 | fi | fi |
1456 | ||
1457 | ## ------------------------ ## | |
1458 | ## Autoconf initialization. ## | |
1459 | ## ------------------------ ## | |
1460 | ||
1461 | # ac_fn_cxx_try_compile LINENO | |
1462 | # ---------------------------- | |
1463 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1464 | ac_fn_cxx_try_compile () | |
1465 | { | |
1466 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1467 | rm -f conftest.$ac_objext | |
1468 | if { { ac_try="$ac_compile" | |
1469 | case "(($ac_try" in | |
1470 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1471 | *) ac_try_echo=$ac_try;; | |
1472 | esac | |
1473 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1474 | $as_echo "$ac_try_echo"; } >&5 | |
1475 | (eval "$ac_compile") 2>conftest.err | |
1476 | ac_status=$? | |
1477 | if test -s conftest.err; then | |
1478 | grep -v '^ *+' conftest.err >conftest.er1 | |
1479 | cat conftest.er1 >&5 | |
1480 | mv -f conftest.er1 conftest.err | |
1481 | fi | |
1482 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1483 | test $ac_status = 0; } && { | |
1484 | test -z "$ac_cxx_werror_flag" || | |
1485 | test ! -s conftest.err | |
1486 | } && test -s conftest.$ac_objext; then : | |
1487 | ac_retval=0 | |
1488 | else | |
1489 | $as_echo "$as_me: failed program was:" >&5 | |
1490 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1491 | ||
1492 | ac_retval=1 | |
1493 | fi | |
1494 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1495 | as_fn_set_status $ac_retval | |
1496 | ||
1497 | } # ac_fn_cxx_try_compile | |
1498 | ||
1499 | # ac_fn_c_try_compile LINENO | |
1500 | # -------------------------- | |
1501 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1502 | ac_fn_c_try_compile () | |
1503 | { | |
1504 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1505 | rm -f conftest.$ac_objext | |
1506 | if { { ac_try="$ac_compile" | |
1507 | case "(($ac_try" in | |
1508 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1509 | *) ac_try_echo=$ac_try;; | |
1510 | esac | |
1511 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1512 | $as_echo "$ac_try_echo"; } >&5 | |
1513 | (eval "$ac_compile") 2>conftest.err | |
1514 | ac_status=$? | |
1515 | if test -s conftest.err; then | |
1516 | grep -v '^ *+' conftest.err >conftest.er1 | |
1517 | cat conftest.er1 >&5 | |
1518 | mv -f conftest.er1 conftest.err | |
1519 | fi | |
1520 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1521 | test $ac_status = 0; } && { | |
1522 | test -z "$ac_c_werror_flag" || | |
1523 | test ! -s conftest.err | |
1524 | } && test -s conftest.$ac_objext; then : | |
1525 | ac_retval=0 | |
1526 | else | |
1527 | $as_echo "$as_me: failed program was:" >&5 | |
1528 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1529 | ||
1530 | ac_retval=1 | |
1531 | fi | |
1532 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1533 | as_fn_set_status $ac_retval | |
1534 | ||
1535 | } # ac_fn_c_try_compile | |
1536 | ||
1537 | # ac_fn_c_try_cpp LINENO | |
1538 | # ---------------------- | |
1539 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1540 | ac_fn_c_try_cpp () | |
1541 | { | |
1542 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1543 | if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1544 | case "(($ac_try" in | |
1545 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1546 | *) ac_try_echo=$ac_try;; | |
1547 | esac | |
1548 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1549 | $as_echo "$ac_try_echo"; } >&5 | |
1550 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1551 | ac_status=$? | |
1552 | if test -s conftest.err; then | |
1553 | grep -v '^ *+' conftest.err >conftest.er1 | |
1554 | cat conftest.er1 >&5 | |
1555 | mv -f conftest.er1 conftest.err | |
1556 | fi | |
1557 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1558 | test $ac_status = 0; } > conftest.i && { | |
1559 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1560 | test ! -s conftest.err | |
1561 | }; then : | |
1562 | ac_retval=0 | |
1563 | else | |
1564 | $as_echo "$as_me: failed program was:" >&5 | |
1565 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1566 | ||
1567 | ac_retval=1 | |
1568 | fi | |
1569 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1570 | as_fn_set_status $ac_retval | |
1571 | ||
1572 | } # ac_fn_c_try_cpp | |
1573 | ||
1574 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1575 | # ------------------------------------------------------- | |
1576 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1577 | # the include files in INCLUDES and setting the cache variable VAR | |
1578 | # accordingly. | |
1579 | ac_fn_c_check_header_mongrel () | |
1580 | { | |
1581 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1582 | if eval \${$3+:} false; then : | |
1583 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1584 | $as_echo_n "checking for $2... " >&6; } | |
1585 | if eval \${$3+:} false; then : | |
1586 | $as_echo_n "(cached) " >&6 | |
1587 | fi | |
1588 | eval ac_res=\$$3 | |
1589 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1590 | $as_echo "$ac_res" >&6; } | |
1591 | else | |
1592 | # Is the header compilable? | |
1593 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
1594 | $as_echo_n "checking $2 usability... " >&6; } | |
1595 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1596 | /* end confdefs.h. */ | |
1597 | $4 | |
1598 | #include <$2> | |
1599 | _ACEOF | |
1600 | if ac_fn_c_try_compile "$LINENO"; then : | |
1601 | ac_header_compiler=yes | |
1602 | else | |
1603 | ac_header_compiler=no | |
1604 | fi | |
1605 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1606 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
1607 | $as_echo "$ac_header_compiler" >&6; } | |
1608 | ||
1609 | # Is the header present? | |
1610 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
1611 | $as_echo_n "checking $2 presence... " >&6; } | |
1612 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1613 | /* end confdefs.h. */ | |
1614 | #include <$2> | |
1615 | _ACEOF | |
1616 | if ac_fn_c_try_cpp "$LINENO"; then : | |
1617 | ac_header_preproc=yes | |
1618 | else | |
1619 | ac_header_preproc=no | |
1620 | fi | |
1621 | rm -f conftest.err conftest.i conftest.$ac_ext | |
1622 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
1623 | $as_echo "$ac_header_preproc" >&6; } | |
1624 | ||
1625 | # So? What about this header? | |
1626 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
1627 | yes:no: ) | |
1628 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
1629 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
1630 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1631 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1632 | ;; | |
1633 | no:yes:* ) | |
1634 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
1635 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
1636 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
1637 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
1638 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
1639 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
1640 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
1641 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
1642 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1643 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1644 | ;; | |
1645 | esac | |
1646 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1647 | $as_echo_n "checking for $2... " >&6; } | |
1648 | if eval \${$3+:} false; then : | |
1649 | $as_echo_n "(cached) " >&6 | |
1650 | else | |
1651 | eval "$3=\$ac_header_compiler" | |
1652 | fi | |
1653 | eval ac_res=\$$3 | |
1654 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1655 | $as_echo "$ac_res" >&6; } | |
1656 | fi | |
1657 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1658 | ||
1659 | } # ac_fn_c_check_header_mongrel | |
1660 | ||
1661 | # ac_fn_c_try_run LINENO | |
1662 | # ---------------------- | |
1663 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1664 | # that executables *can* be run. | |
1665 | ac_fn_c_try_run () | |
1666 | { | |
1667 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1668 | if { { ac_try="$ac_link" | |
1669 | case "(($ac_try" in | |
1670 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1671 | *) ac_try_echo=$ac_try;; | |
1672 | esac | |
1673 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1674 | $as_echo "$ac_try_echo"; } >&5 | |
1675 | (eval "$ac_link") 2>&5 | |
1676 | ac_status=$? | |
1677 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1678 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1679 | { { case "(($ac_try" in | |
1680 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1681 | *) ac_try_echo=$ac_try;; | |
1682 | esac | |
1683 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1684 | $as_echo "$ac_try_echo"; } >&5 | |
1685 | (eval "$ac_try") 2>&5 | |
1686 | ac_status=$? | |
1687 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1688 | test $ac_status = 0; }; }; then : | |
1689 | ac_retval=0 | |
1690 | else | |
1691 | $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1692 | $as_echo "$as_me: failed program was:" >&5 | |
1693 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1694 | ||
1695 | ac_retval=$ac_status | |
1696 | fi | |
1697 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1698 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1699 | as_fn_set_status $ac_retval | |
1700 | ||
1701 | } # ac_fn_c_try_run | |
1702 | ||
1703 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
1704 | # ------------------------------------------------------- | |
1705 | # Tests whether HEADER exists and can be compiled using the include files in | |
1706 | # INCLUDES, setting the cache variable VAR accordingly. | |
1707 | ac_fn_c_check_header_compile () | |
1708 | { | |
1709 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1710 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1711 | $as_echo_n "checking for $2... " >&6; } | |
1712 | if eval \${$3+:} false; then : | |
1713 | $as_echo_n "(cached) " >&6 | |
1714 | else | |
1715 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1716 | /* end confdefs.h. */ | |
1717 | $4 | |
1718 | #include <$2> | |
1719 | _ACEOF | |
1720 | if ac_fn_c_try_compile "$LINENO"; then : | |
1721 | eval "$3=yes" | |
1722 | else | |
1723 | eval "$3=no" | |
1724 | fi | |
1725 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1726 | fi | |
1727 | eval ac_res=\$$3 | |
1728 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1729 | $as_echo "$ac_res" >&6; } | |
1730 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1731 | ||
1732 | } # ac_fn_c_check_header_compile | |
1733 | ||
1734 | # ac_fn_c_try_link LINENO | |
1735 | # ----------------------- | |
1736 | # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1737 | ac_fn_c_try_link () | |
1738 | { | |
1739 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1740 | rm -f conftest.$ac_objext conftest$ac_exeext | |
1741 | if { { ac_try="$ac_link" | |
1742 | case "(($ac_try" in | |
1743 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1744 | *) ac_try_echo=$ac_try;; | |
1745 | esac | |
1746 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1747 | $as_echo "$ac_try_echo"; } >&5 | |
1748 | (eval "$ac_link") 2>conftest.err | |
1749 | ac_status=$? | |
1750 | if test -s conftest.err; then | |
1751 | grep -v '^ *+' conftest.err >conftest.er1 | |
1752 | cat conftest.er1 >&5 | |
1753 | mv -f conftest.er1 conftest.err | |
1754 | fi | |
1755 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1756 | test $ac_status = 0; } && { | |
1757 | test -z "$ac_c_werror_flag" || | |
1758 | test ! -s conftest.err | |
1759 | } && test -s conftest$ac_exeext && { | |
1760 | test "$cross_compiling" = yes || | |
1761 | $as_test_x conftest$ac_exeext | |
1762 | }; then : | |
1763 | ac_retval=0 | |
1764 | else | |
1765 | $as_echo "$as_me: failed program was:" >&5 | |
1766 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1767 | ||
1768 | ac_retval=1 | |
1769 | fi | |
1770 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1771 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1772 | # interfere with the next link command; also delete a directory that is | |
1773 | # left behind by Apple's compiler. We do this before executing the actions. | |
1774 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1775 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1776 | as_fn_set_status $ac_retval | |
1777 | ||
1778 | } # ac_fn_c_try_link | |
1779 | ||
1780 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | |
1781 | # ------------------------------------------- | |
1782 | # Tests whether TYPE exists after having included INCLUDES, setting cache | |
1783 | # variable VAR accordingly. | |
1784 | ac_fn_c_check_type () | |
1785 | { | |
1786 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1788 | $as_echo_n "checking for $2... " >&6; } | |
1789 | if eval \${$3+:} false; then : | |
1790 | $as_echo_n "(cached) " >&6 | |
1791 | else | |
1792 | eval "$3=no" | |
1793 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1794 | /* end confdefs.h. */ | |
1795 | $4 | |
1796 | int | |
1797 | main () | |
1798 | { | |
1799 | if (sizeof ($2)) | |
1800 | return 0; | |
1801 | ; | |
1802 | return 0; | |
1803 | } | |
1804 | _ACEOF | |
1805 | if ac_fn_c_try_compile "$LINENO"; then : | |
1806 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1807 | /* end confdefs.h. */ | |
1808 | $4 | |
1809 | int | |
1810 | main () | |
1811 | { | |
1812 | if (sizeof (($2))) | |
1813 | return 0; | |
1814 | ; | |
1815 | return 0; | |
1816 | } | |
1817 | _ACEOF | |
1818 | if ac_fn_c_try_compile "$LINENO"; then : | |
1819 | ||
1820 | else | |
1821 | eval "$3=yes" | |
1822 | fi | |
1823 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1824 | fi | |
1825 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1826 | fi | |
1827 | eval ac_res=\$$3 | |
1828 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1829 | $as_echo "$ac_res" >&6; } | |
1830 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1831 | ||
1832 | } # ac_fn_c_check_type | |
1833 | ||
1834 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES | |
1835 | # -------------------------------------------- | |
1836 | # Tries to find the compile-time value of EXPR in a program that includes | |
1837 | # INCLUDES, setting VAR accordingly. Returns whether the value could be | |
1838 | # computed | |
1839 | ac_fn_c_compute_int () | |
1840 | { | |
1841 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1842 | if test "$cross_compiling" = yes; then | |
1843 | # Depending upon the size, compute the lo and hi bounds. | |
1844 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1845 | /* end confdefs.h. */ | |
1846 | $4 | |
1847 | int | |
1848 | main () | |
1849 | { | |
1850 | static int test_array [1 - 2 * !(($2) >= 0)]; | |
1851 | test_array [0] = 0 | |
1852 | ||
1853 | ; | |
1854 | return 0; | |
1855 | } | |
1856 | _ACEOF | |
1857 | if ac_fn_c_try_compile "$LINENO"; then : | |
1858 | ac_lo=0 ac_mid=0 | |
1859 | while :; do | |
1860 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1861 | /* end confdefs.h. */ | |
1862 | $4 | |
1863 | int | |
1864 | main () | |
1865 | { | |
1866 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | |
1867 | test_array [0] = 0 | |
1868 | ||
1869 | ; | |
1870 | return 0; | |
1871 | } | |
1872 | _ACEOF | |
1873 | if ac_fn_c_try_compile "$LINENO"; then : | |
1874 | ac_hi=$ac_mid; break | |
1875 | else | |
1876 | as_fn_arith $ac_mid + 1 && ac_lo=$as_val | |
1877 | if test $ac_lo -le $ac_mid; then | |
1878 | ac_lo= ac_hi= | |
1879 | break | |
1880 | fi | |
1881 | as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val | |
1882 | fi | |
1883 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1884 | done | |
1885 | else | |
1886 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1887 | /* end confdefs.h. */ | |
1888 | $4 | |
1889 | int | |
1890 | main () | |
1891 | { | |
1892 | static int test_array [1 - 2 * !(($2) < 0)]; | |
1893 | test_array [0] = 0 | |
1894 | ||
1895 | ; | |
1896 | return 0; | |
1897 | } | |
1898 | _ACEOF | |
1899 | if ac_fn_c_try_compile "$LINENO"; then : | |
1900 | ac_hi=-1 ac_mid=-1 | |
1901 | while :; do | |
1902 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1903 | /* end confdefs.h. */ | |
1904 | $4 | |
1905 | int | |
1906 | main () | |
1907 | { | |
1908 | static int test_array [1 - 2 * !(($2) >= $ac_mid)]; | |
1909 | test_array [0] = 0 | |
1910 | ||
1911 | ; | |
1912 | return 0; | |
1913 | } | |
1914 | _ACEOF | |
1915 | if ac_fn_c_try_compile "$LINENO"; then : | |
1916 | ac_lo=$ac_mid; break | |
1917 | else | |
1918 | as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val | |
1919 | if test $ac_mid -le $ac_hi; then | |
1920 | ac_lo= ac_hi= | |
1921 | break | |
1922 | fi | |
1923 | as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val | |
1924 | fi | |
1925 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1926 | done | |
1927 | else | |
1928 | ac_lo= ac_hi= | |
1929 | fi | |
1930 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1931 | fi | |
1932 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1933 | # Binary search between lo and hi bounds. | |
1934 | while test "x$ac_lo" != "x$ac_hi"; do | |
1935 | as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val | |
1936 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1937 | /* end confdefs.h. */ | |
1938 | $4 | |
1939 | int | |
1940 | main () | |
1941 | { | |
1942 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | |
1943 | test_array [0] = 0 | |
1944 | ||
1945 | ; | |
1946 | return 0; | |
1947 | } | |
1948 | _ACEOF | |
1949 | if ac_fn_c_try_compile "$LINENO"; then : | |
1950 | ac_hi=$ac_mid | |
1951 | else | |
1952 | as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val | |
1953 | fi | |
1954 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1955 | done | |
1956 | case $ac_lo in #(( | |
1957 | ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; | |
1958 | '') ac_retval=1 ;; | |
1959 | esac | |
1960 | else | |
1961 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1962 | /* end confdefs.h. */ | |
1963 | $4 | |
1964 | static long int longval () { return $2; } | |
1965 | static unsigned long int ulongval () { return $2; } | |
1966 | #include <stdio.h> | |
1967 | #include <stdlib.h> | |
1968 | int | |
1969 | main () | |
1970 | { | |
1971 | ||
1972 | FILE *f = fopen ("conftest.val", "w"); | |
1973 | if (! f) | |
1974 | return 1; | |
1975 | if (($2) < 0) | |
1976 | { | |
1977 | long int i = longval (); | |
1978 | if (i != ($2)) | |
1979 | return 1; | |
1980 | fprintf (f, "%ld", i); | |
1981 | } | |
1982 | else | |
1983 | { | |
1984 | unsigned long int i = ulongval (); | |
1985 | if (i != ($2)) | |
1986 | return 1; | |
1987 | fprintf (f, "%lu", i); | |
1988 | } | |
1989 | /* Do not output a trailing newline, as this causes \r\n confusion | |
1990 | on some platforms. */ | |
1991 | return ferror (f) || fclose (f) != 0; | |
1992 | ||
1993 | ; | |
1994 | return 0; | |
1995 | } | |
1996 | _ACEOF | |
1997 | if ac_fn_c_try_run "$LINENO"; then : | |
1998 | echo >>conftest.val; read $3 <conftest.val; ac_retval=0 | |
1999 | else | |
2000 | ac_retval=1 | |
2001 | fi | |
2002 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
2003 | conftest.$ac_objext conftest.beam conftest.$ac_ext | |
2004 | rm -f conftest.val | |
2005 | ||
2006 | fi | |
2007 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
2008 | as_fn_set_status $ac_retval | |
2009 | ||
2010 | } # ac_fn_c_compute_int | |
2011 | ||
2012 | # ac_fn_cxx_try_link LINENO | |
2013 | # ------------------------- | |
2014 | # Try to link conftest.$ac_ext, and return whether this succeeded. | |
2015 | ac_fn_cxx_try_link () | |
2016 | { | |
2017 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2018 | rm -f conftest.$ac_objext conftest$ac_exeext | |
2019 | if { { ac_try="$ac_link" | |
2020 | case "(($ac_try" in | |
2021 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2022 | *) ac_try_echo=$ac_try;; | |
2023 | esac | |
2024 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2025 | $as_echo "$ac_try_echo"; } >&5 | |
2026 | (eval "$ac_link") 2>conftest.err | |
2027 | ac_status=$? | |
2028 | if test -s conftest.err; then | |
2029 | grep -v '^ *+' conftest.err >conftest.er1 | |
2030 | cat conftest.er1 >&5 | |
2031 | mv -f conftest.er1 conftest.err | |
2032 | fi | |
2033 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2034 | test $ac_status = 0; } && { | |
2035 | test -z "$ac_cxx_werror_flag" || | |
2036 | test ! -s conftest.err | |
2037 | } && test -s conftest$ac_exeext && { | |
2038 | test "$cross_compiling" = yes || | |
2039 | $as_test_x conftest$ac_exeext | |
2040 | }; then : | |
2041 | ac_retval=0 | |
2042 | else | |
2043 | $as_echo "$as_me: failed program was:" >&5 | |
2044 | sed 's/^/| /' conftest.$ac_ext >&5 | |
2045 | ||
2046 | ac_retval=1 | |
2047 | fi | |
2048 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
2049 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
2050 | # interfere with the next link command; also delete a directory that is | |
2051 | # left behind by Apple's compiler. We do this before executing the actions. | |
2052 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
2053 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
2054 | as_fn_set_status $ac_retval | |
2055 | ||
2056 | } # ac_fn_cxx_try_link | |
2057 | ||
2058 | # ac_fn_c_check_func LINENO FUNC VAR | |
2059 | # ---------------------------------- | |
2060 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | |
2061 | ac_fn_c_check_func () | |
2062 | { | |
2063 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2064 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
2065 | $as_echo_n "checking for $2... " >&6; } | |
2066 | if eval \${$3+:} false; then : | |
2067 | $as_echo_n "(cached) " >&6 | |
2068 | else | |
2069 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2070 | /* end confdefs.h. */ | |
2071 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
2072 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
2073 | #define $2 innocuous_$2 | |
2074 | ||
2075 | /* System header to define __stub macros and hopefully few prototypes, | |
2076 | which can conflict with char $2 (); below. | |
2077 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
2078 | <limits.h> exists even on freestanding compilers. */ | |
2079 | ||
2080 | #ifdef __STDC__ | |
2081 | # include <limits.h> | |
2082 | #else | |
2083 | # include <assert.h> | |
2084 | #endif | |
2085 | ||
2086 | #undef $2 | |
2087 | ||
2088 | /* Override any GCC internal prototype to avoid an error. | |
2089 | Use char because int might match the return type of a GCC | |
2090 | builtin and then its argument prototype would still apply. */ | |
2091 | #ifdef __cplusplus | |
2092 | extern "C" | |
2093 | #endif | |
2094 | char $2 (); | |
2095 | /* The GNU C library defines this for functions which it implements | |
2096 | to always fail with ENOSYS. Some functions are actually named | |
2097 | something starting with __ and the normal name is an alias. */ | |
2098 | #if defined __stub_$2 || defined __stub___$2 | |
2099 | choke me | |
2100 | #endif | |
2101 | ||
2102 | int | |
2103 | main () | |
2104 | { | |
2105 | return $2 (); | |
2106 | ; | |
2107 | return 0; | |
2108 | } | |
2109 | _ACEOF | |
2110 | if ac_fn_c_try_link "$LINENO"; then : | |
2111 | eval "$3=yes" | |
2112 | else | |
2113 | eval "$3=no" | |
2114 | fi | |
2115 | rm -f core conftest.err conftest.$ac_objext \ | |
2116 | conftest$ac_exeext conftest.$ac_ext | |
2117 | fi | |
2118 | eval ac_res=\$$3 | |
2119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2120 | $as_echo "$ac_res" >&6; } | |
2121 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
2122 | ||
2123 | } # ac_fn_c_check_func | |
2124 | cat >config.log <<_ACEOF | cat >config.log <<_ACEOF |
2125 | This file contains any messages produced by compilers while | This file contains any messages produced by compilers while |
2126 | running configure, to aid debugging if configure makes a mistake. | running configure, to aid debugging if configure makes a mistake. |
2127 | ||
2128 | It was created by T2Sami $as_me 2.0.0033-pre2, which was | It was created by T2Sami $as_me 2.0.0033-pre2, which was |
2129 | generated by GNU Autoconf 2.61. Invocation command line was | generated by GNU Autoconf 2.68. Invocation command line was |
2130 | ||
2131 | $ $0 $@ | $ $0 $@ |
2132 | ||
# | Line 1447 for as_dir in $PATH | Line 2162 for as_dir in $PATH |
2162 | do | do |
2163 | IFS=$as_save_IFS | IFS=$as_save_IFS |
2164 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
2165 | echo "PATH: $as_dir" | $as_echo "PATH: $as_dir" |
2166 | done | done |
2167 | IFS=$as_save_IFS | IFS=$as_save_IFS |
2168 | ||
2169 | } >&5 | } >&5 |
# | Line 1482 do | Line 2197 do |
2197 | | -silent | --silent | --silen | --sile | --sil) | | -silent | --silent | --silen | --sile | --sil) |
2198 | continue ;; | continue ;; |
2199 | *\'*) | *\'*) |
2200 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2201 | esac | esac |
2202 | case $ac_pass in | case $ac_pass in |
2203 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
2204 | 2) | 2) |
2205 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | as_fn_append ac_configure_args1 " '$ac_arg'" |
2206 | if test $ac_must_keep_next = true; then | if test $ac_must_keep_next = true; then |
2207 | ac_must_keep_next=false # Got value, back to normal. | ac_must_keep_next=false # Got value, back to normal. |
2208 | else | else |
# | Line 1503 do | Line 2218 do |
2218 | -* ) ac_must_keep_next=true ;; | -* ) ac_must_keep_next=true ;; |
2219 | esac | esac |
2220 | fi | fi |
2221 | ac_configure_args="$ac_configure_args '$ac_arg'" | as_fn_append ac_configure_args " '$ac_arg'" |
2222 | ;; | ;; |
2223 | esac | esac |
2224 | done | done |
2225 | done | done |
2226 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | { ac_configure_args0=; unset ac_configure_args0;} |
2227 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | { ac_configure_args1=; unset ac_configure_args1;} |
2228 | ||
2229 | # When interrupted or exit'd, cleanup temporary files, and complete | # When interrupted or exit'd, cleanup temporary files, and complete |
2230 | # config.log. We remove comments because anyway the quotes in there | # config.log. We remove comments because anyway the quotes in there |
# | Line 1521 trap 'exit_status=$? | Line 2236 trap 'exit_status=$? |
2236 | { | { |
2237 | echo | echo |
2238 | ||
2239 | cat <<\_ASBOX | $as_echo "## ---------------- ## |
## ---------------- ## | ||
2240 | ## Cache variables. ## | ## Cache variables. ## |
2241 | ## ---------------- ## | ## ---------------- ##" |
_ASBOX | ||
2242 | echo | echo |
2243 | # The following way of writing the cache mishandles newlines in values, | # The following way of writing the cache mishandles newlines in values, |
2244 | ( | ( |
# | Line 1534 _ASBOX | Line 2247 _ASBOX |
2247 | case $ac_val in #( | case $ac_val in #( |
2248 | *${as_nl}*) | *${as_nl}*) |
2249 | case $ac_var in #( | case $ac_var in #( |
2250 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2251 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2252 | esac | esac |
2253 | case $ac_var in #( | case $ac_var in #( |
2254 | _ | IFS | as_nl) ;; #( | _ | IFS | as_nl) ;; #( |
2255 | *) $as_unset $ac_var ;; | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2256 | *) { eval $ac_var=; unset $ac_var;} ;; | |
2257 | esac ;; | esac ;; |
2258 | esac | esac |
2259 | done | done |
# | Line 1558 echo "$as_me: WARNING: Cache variable $ac_var contains | Line 2272 echo "$as_me: WARNING: Cache variable $ac_var contains |
2272 | ) | ) |
2273 | echo | echo |
2274 | ||
2275 | cat <<\_ASBOX | $as_echo "## ----------------- ## |
## ----------------- ## | ||
2276 | ## Output variables. ## | ## Output variables. ## |
2277 | ## ----------------- ## | ## ----------------- ##" |
_ASBOX | ||
2278 | echo | echo |
2279 | for ac_var in $ac_subst_vars | for ac_var in $ac_subst_vars |
2280 | do | do |
2281 | eval ac_val=\$$ac_var | eval ac_val=\$$ac_var |
2282 | case $ac_val in | case $ac_val in |
2283 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2284 | esac | esac |
2285 | echo "$ac_var='\''$ac_val'\''" | $as_echo "$ac_var='\''$ac_val'\''" |
2286 | done | sort | done | sort |
2287 | echo | echo |
2288 | ||
2289 | if test -n "$ac_subst_files"; then | if test -n "$ac_subst_files"; then |
2290 | cat <<\_ASBOX | $as_echo "## ------------------- ## |
## ------------------- ## | ||
2291 | ## File substitutions. ## | ## File substitutions. ## |
2292 | ## ------------------- ## | ## ------------------- ##" |
_ASBOX | ||
2293 | echo | echo |
2294 | for ac_var in $ac_subst_files | for ac_var in $ac_subst_files |
2295 | do | do |
2296 | eval ac_val=\$$ac_var | eval ac_val=\$$ac_var |
2297 | case $ac_val in | case $ac_val in |
2298 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2299 | esac | esac |
2300 | echo "$ac_var='\''$ac_val'\''" | $as_echo "$ac_var='\''$ac_val'\''" |
2301 | done | sort | done | sort |
2302 | echo | echo |
2303 | fi | fi |
2304 | ||
2305 | if test -s confdefs.h; then | if test -s confdefs.h; then |
2306 | cat <<\_ASBOX | $as_echo "## ----------- ## |
## ----------- ## | ||
2307 | ## confdefs.h. ## | ## confdefs.h. ## |
2308 | ## ----------- ## | ## ----------- ##" |
_ASBOX | ||
2309 | echo | echo |
2310 | cat confdefs.h | cat confdefs.h |
2311 | echo | echo |
2312 | fi | fi |
2313 | test "$ac_signal" != 0 && | test "$ac_signal" != 0 && |
2314 | echo "$as_me: caught signal $ac_signal" | $as_echo "$as_me: caught signal $ac_signal" |
2315 | echo "$as_me: exit $exit_status" | $as_echo "$as_me: exit $exit_status" |
2316 | } >&5 | } >&5 |
2317 | rm -f core *.core core.conftest.* && | rm -f core *.core core.conftest.* && |
2318 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2319 | exit $exit_status | exit $exit_status |
2320 | ' 0 | ' 0 |
2321 | for ac_signal in 1 2 13 15; do | for ac_signal in 1 2 13 15; do |
2322 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
2323 | done | done |
2324 | ac_signal=0 | ac_signal=0 |
2325 | ||
2326 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2327 | rm -f -r conftest* confdefs.h | rm -f -r conftest* confdefs.h |
2328 | ||
2329 | $as_echo "/* confdefs.h */" > confdefs.h | |
2330 | ||
2331 | # Predefined preprocessor variables. | # Predefined preprocessor variables. |
2332 | ||
2333 | cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF |
2334 | #define PACKAGE_NAME "$PACKAGE_NAME" | #define PACKAGE_NAME "$PACKAGE_NAME" |
2335 | _ACEOF | _ACEOF |
2336 | ||
2337 | cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF |
2338 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2339 | _ACEOF | _ACEOF |
2340 | ||
2341 | cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF |
2342 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
2343 | _ACEOF | _ACEOF |
2344 | ||
2345 | cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF |
2346 | #define PACKAGE_STRING "$PACKAGE_STRING" | #define PACKAGE_STRING "$PACKAGE_STRING" |
2347 | _ACEOF | _ACEOF |
2348 | ||
2349 | cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF |
2350 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2351 | _ACEOF | _ACEOF |
2352 | ||
2353 | cat >>confdefs.h <<_ACEOF | |
2354 | #define PACKAGE_URL "$PACKAGE_URL" | |
2355 | _ACEOF | |
2356 | ||
2357 | ||
2358 | # Let the site file select an alternate cache file if it wants to. | # Let the site file select an alternate cache file if it wants to. |
2359 | # Prefer explicitly selected file to automatically selected ones. | # Prefer an explicitly selected file to automatically selected ones. |
2360 | ac_site_file1=NONE | |
2361 | ac_site_file2=NONE | |
2362 | if test -n "$CONFIG_SITE"; then | if test -n "$CONFIG_SITE"; then |
2363 | set x "$CONFIG_SITE" | # We do not want a PATH search for config.site. |
2364 | case $CONFIG_SITE in #(( | |
2365 | -*) ac_site_file1=./$CONFIG_SITE;; | |
2366 | */*) ac_site_file1=$CONFIG_SITE;; | |
2367 | *) ac_site_file1=./$CONFIG_SITE;; | |
2368 | esac | |
2369 | elif test "x$prefix" != xNONE; then | elif test "x$prefix" != xNONE; then |
2370 | set x "$prefix/share/config.site" "$prefix/etc/config.site" | ac_site_file1=$prefix/share/config.site |
2371 | ac_site_file2=$prefix/etc/config.site | |
2372 | else | else |
2373 | set x "$ac_default_prefix/share/config.site" \ | ac_site_file1=$ac_default_prefix/share/config.site |
2374 | "$ac_default_prefix/etc/config.site" | ac_site_file2=$ac_default_prefix/etc/config.site |
2375 | fi | fi |
2376 | shift | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
for ac_site_file | ||
2377 | do | do |
2378 | if test -r "$ac_site_file"; then | test "x$ac_site_file" = xNONE && continue |
2379 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2380 | echo "$as_me: loading site script $ac_site_file" >&6;} | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2381 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
2382 | sed 's/^/| /' "$ac_site_file" >&5 | sed 's/^/| /' "$ac_site_file" >&5 |
2383 | . "$ac_site_file" | . "$ac_site_file" \ |
2384 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2385 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2386 | as_fn_error $? "failed to load site script $ac_site_file | |
2387 | See \`config.log' for more details" "$LINENO" 5; } | |
2388 | fi | fi |
2389 | done | done |
2390 | ||
2391 | if test -r "$cache_file"; then | if test -r "$cache_file"; then |
2392 | # Some versions of bash will fail to source /dev/null (special | # Some versions of bash will fail to source /dev/null (special files |
2393 | # files actually), so we avoid doing that. | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2394 | if test -f "$cache_file"; then | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2395 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2396 | echo "$as_me: loading cache $cache_file" >&6;} | $as_echo "$as_me: loading cache $cache_file" >&6;} |
2397 | case $cache_file in | case $cache_file in |
2398 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2399 | *) . "./$cache_file";; | *) . "./$cache_file";; |
2400 | esac | esac |
2401 | fi | fi |
2402 | else | else |
2403 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2404 | echo "$as_me: creating cache $cache_file" >&6;} | $as_echo "$as_me: creating cache $cache_file" >&6;} |
2405 | >$cache_file | >$cache_file |
2406 | fi | fi |
2407 | ||
# | Line 1693 for ac_var in $ac_precious_vars; do | Line 2415 for ac_var in $ac_precious_vars; do |
2415 | eval ac_new_val=\$ac_env_${ac_var}_value | eval ac_new_val=\$ac_env_${ac_var}_value |
2416 | case $ac_old_set,$ac_new_set in | case $ac_old_set,$ac_new_set in |
2417 | set,) | set,) |
2418 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2419 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2420 | ac_cache_corrupted=: ;; | ac_cache_corrupted=: ;; |
2421 | ,set) | ,set) |
2422 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2423 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2424 | ac_cache_corrupted=: ;; | ac_cache_corrupted=: ;; |
2425 | ,);; | ,);; |
2426 | *) | *) |
2427 | if test "x$ac_old_val" != "x$ac_new_val"; then | if test "x$ac_old_val" != "x$ac_new_val"; then |
2428 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | # differences in whitespace do not lead to failure. |
2429 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ac_old_val_w=`echo x $ac_old_val` |
2430 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | ac_new_val_w=`echo x $ac_new_val` |
2431 | echo "$as_me: former value: $ac_old_val" >&2;} | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2432 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
2433 | echo "$as_me: current value: $ac_new_val" >&2;} | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2434 | ac_cache_corrupted=: | ac_cache_corrupted=: |
2435 | else | |
2436 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
2437 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
2438 | eval $ac_var=\$ac_old_val | |
2439 | fi | |
2440 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
2441 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
2442 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
2443 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
2444 | fi;; | fi;; |
2445 | esac | esac |
2446 | # Pass precious variables to config.status. | # Pass precious variables to config.status. |
2447 | if test "$ac_new_set" = set; then | if test "$ac_new_set" = set; then |
2448 | case $ac_new_val in | case $ac_new_val in |
2449 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2450 | *) ac_arg=$ac_var=$ac_new_val ;; | *) ac_arg=$ac_var=$ac_new_val ;; |
2451 | esac | esac |
2452 | case " $ac_configure_args " in | case " $ac_configure_args " in |
2453 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2454 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
2455 | esac | esac |
2456 | fi | fi |
2457 | done | done |
2458 | if $ac_cache_corrupted; then | if $ac_cache_corrupted; then |
2459 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2460 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2461 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2462 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2463 | { (exit 1); exit 1; }; } | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2464 | fi | fi |
2465 | ## -------------------- ## | |
2466 | ## Main body of script. ## | |
2467 | ## -------------------- ## | |
2468 | ||
2469 | ac_ext=c | ac_ext=c |
2470 | ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' |
2471 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
# | Line 1784 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; | Line 2494 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; |
2494 | fi | fi |
2495 | done | done |
2496 | if test -z "$ac_aux_dir"; then | if test -z "$ac_aux_dir"; then |
2497 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
2498 | fi | fi |
2499 | ||
2500 | # These three variables are undocumented and unsupported, | # These three variables are undocumented and unsupported, |
# | Line 1811 ac_configure="$SHELL $ac_aux_dir/configure" # Please | Line 2519 ac_configure="$SHELL $ac_aux_dir/configure" # Please |
2519 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2520 | # OS/2's system install, which has a completely different semantic | # OS/2's system install, which has a completely different semantic |
2521 | # ./install, which can be erroneously created by make from ./install.sh. | # ./install, which can be erroneously created by make from ./install.sh. |
2522 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | # Reject install programs that cannot install multiple files. |
2523 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2524 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
2525 | if test -z "$INSTALL"; then | if test -z "$INSTALL"; then |
2526 | if test "${ac_cv_path_install+set}" = set; then | if ${ac_cv_path_install+:} false; then : |
2527 | echo $ECHO_N "(cached) $ECHO_C" >&6 | $as_echo_n "(cached) " >&6 |
2528 | else | else |
2529 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2530 | for as_dir in $PATH | for as_dir in $PATH |
2531 | do | do |
2532 | IFS=$as_save_IFS | IFS=$as_save_IFS |
2533 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
2534 | # Account for people who put trailing slashes in PATH elements. | # Account for people who put trailing slashes in PATH elements. |
2535 | case $as_dir/ in | case $as_dir/ in #(( |
2536 | ./ | .// | /cC/* | \ | ./ | .// | /[cC]/* | \ |
2537 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2538 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
2539 | /usr/ucb/* ) ;; | /usr/ucb/* ) ;; |
2540 | *) | *) |
2541 | # OSF1 and SCO ODT 3.0 have their own names for install. | # OSF1 and SCO ODT 3.0 have their own names for install. |
# | Line 1844 case $as_dir/ in | Line 2553 case $as_dir/ in |
2553 | # program-specific install script used by HP pwplus--don't use. | # program-specific install script used by HP pwplus--don't use. |
2554 | : | : |
2555 | else | else |
2556 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | rm -rf conftest.one conftest.two conftest.dir |
2557 | break 3 | echo one > conftest.one |
2558 | echo two > conftest.two | |
2559 | mkdir conftest.dir | |
2560 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
2561 | test -s conftest.one && test -s conftest.two && | |
2562 | test -s conftest.dir/conftest.one && | |
2563 | test -s conftest.dir/conftest.two | |
2564 | then | |
2565 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
2566 | break 3 | |
2567 | fi | |
2568 | fi | fi |
2569 | fi | fi |
2570 | done | done |
2571 | done | done |
2572 | ;; | ;; |
2573 | esac | esac |
2574 | done | |
2575 | done | |
2576 | IFS=$as_save_IFS | IFS=$as_save_IFS |
2577 | ||
2578 | rm -rf conftest.one conftest.two conftest.dir | |
2579 | ||
2580 | fi | fi |
2581 | if test "${ac_cv_path_install+set}" = set; then | if test "${ac_cv_path_install+set}" = set; then |
# | Line 1867 fi | Line 2588 fi |
2588 | INSTALL=$ac_install_sh | INSTALL=$ac_install_sh |
2589 | fi | fi |
2590 | fi | fi |
2591 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
2592 | echo "${ECHO_T}$INSTALL" >&6; } | $as_echo "$INSTALL" >&6; } |
2593 | ||
2594 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2595 | # It thinks the first close brace ends the variable substitution. | # It thinks the first close brace ends the variable substitution. |
# | Line 1878 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL | Line 2599 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL |
2599 | ||
2600 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2601 | ||
2602 | { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2603 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } | $as_echo_n "checking whether build environment is sane... " >&6; } |
2604 | # Just in case | # Just in case |
2605 | sleep 1 | sleep 1 |
2606 | echo timestamp > conftest.file | echo timestamp > conftest.file |
# | Line 1902 if ( | Line 2623 if ( |
2623 | # if, for instance, CONFIG_SHELL is bash and it inherits a | # if, for instance, CONFIG_SHELL is bash and it inherits a |
2624 | # broken ls alias from the environment. This has actually | # broken ls alias from the environment. This has actually |
2625 | # happened. Such a system could not be considered "sane". | # happened. Such a system could not be considered "sane". |
2626 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2627 | alias in your environment" >&5 | alias in your environment" "$LINENO" 5 |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | ||
alias in your environment" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
2628 | fi | fi |
2629 | ||
2630 | test "$2" = conftest.file | test "$2" = conftest.file |
# | Line 1915 then | Line 2633 then |
2633 | # Ok. | # Ok. |
2634 | : | : |
2635 | else | else |
2636 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! | as_fn_error $? "newly created file is older than distributed files! |
2637 | Check your system clock" >&5 | Check your system clock" "$LINENO" 5 |
echo "$as_me: error: newly created file is older than distributed files! | ||
Check your system clock" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
2638 | fi | fi |
2639 | { echo "$as_me:$LINENO: result: yes" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2640 | echo "${ECHO_T}yes" >&6; } | $as_echo "yes" >&6; } |
2641 | test "$program_prefix" != NONE && | test "$program_prefix" != NONE && |
2642 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2643 | # Use a double $ so make ignores it. | # Use a double $ so make ignores it. |
2644 | test "$program_suffix" != NONE && | test "$program_suffix" != NONE && |
2645 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
2646 | # Double any \ or $. echo might interpret backslashes. | # Double any \ or $. |
2647 | # By default was `s,x,x', remove it if useless. | # By default was `s,x,x', remove it if useless. |
2648 | cat <<\_ACEOF >conftest.sed | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2649 | s/[\\$]/&&/g;s/;s,x,x,$// | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
_ACEOF | ||
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | ||
rm -f conftest.sed | ||
2650 | ||
2651 | # expand $ac_aux_dir to an absolute path | # expand $ac_aux_dir to an absolute path |
2652 | am_aux_dir=`cd $ac_aux_dir && pwd` | am_aux_dir=`cd $ac_aux_dir && pwd` |
# | Line 1945 if eval "$MISSING --run true"; then | Line 2657 if eval "$MISSING --run true"; then |
2657 | am_missing_run="$MISSING --run " | am_missing_run="$MISSING --run " |
2658 | else | else |
2659 | am_missing_run= | am_missing_run= |
2660 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
2661 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2662 | fi | fi |
2663 | ||
2664 | { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} |
2665 | echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } | |
2666 | # Installed binaries are usually stripped using `strip' when the user | |
2667 | # run `make install-strip'. However `strip' might not be the right | |
2668 | # tool to use in cross-compilation environments, therefore Automake | |
2669 | # will honor the `STRIP' environment variable to overrule this program. | |
2670 | if test "$cross_compiling" != no; then | |
2671 | if test -n "$ac_tool_prefix"; then | |
2672 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
2673 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
2674 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2675 | $as_echo_n "checking for $ac_word... " >&6; } | |
2676 | if ${ac_cv_prog_STRIP+:} false; then : | |
2677 | $as_echo_n "(cached) " >&6 | |
2678 | else | |
2679 | if test -n "$STRIP"; then | |
2680 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
2681 | else | |
2682 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2683 | for as_dir in $PATH | |
2684 | do | |
2685 | IFS=$as_save_IFS | |
2686 | test -z "$as_dir" && as_dir=. | |
2687 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2688 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2689 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
2690 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2691 | break 2 | |
2692 | fi | |
2693 | done | |
2694 | done | |
2695 | IFS=$as_save_IFS | |
2696 | ||
2697 | fi | |
2698 | fi | |
2699 | STRIP=$ac_cv_prog_STRIP | |
2700 | if test -n "$STRIP"; then | |
2701 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
2702 | $as_echo "$STRIP" >&6; } | |
2703 | else | |
2704 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2705 | $as_echo "no" >&6; } | |
2706 | fi | |
2707 | ||
2708 | ||
2709 | fi | |
2710 | if test -z "$ac_cv_prog_STRIP"; then | |
2711 | ac_ct_STRIP=$STRIP | |
2712 | # Extract the first word of "strip", so it can be a program name with args. | |
2713 | set dummy strip; ac_word=$2 | |
2714 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2715 | $as_echo_n "checking for $ac_word... " >&6; } | |
2716 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | |
2717 | $as_echo_n "(cached) " >&6 | |
2718 | else | |
2719 | if test -n "$ac_ct_STRIP"; then | |
2720 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
2721 | else | |
2722 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2723 | for as_dir in $PATH | |
2724 | do | |
2725 | IFS=$as_save_IFS | |
2726 | test -z "$as_dir" && as_dir=. | |
2727 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2728 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2729 | ac_cv_prog_ac_ct_STRIP="strip" | |
2730 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2731 | break 2 | |
2732 | fi | |
2733 | done | |
2734 | done | |
2735 | IFS=$as_save_IFS | |
2736 | ||
2737 | fi | |
2738 | fi | |
2739 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
2740 | if test -n "$ac_ct_STRIP"; then | |
2741 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
2742 | $as_echo "$ac_ct_STRIP" >&6; } | |
2743 | else | |
2744 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2745 | $as_echo "no" >&6; } | |
2746 | fi | |
2747 | ||
2748 | if test "x$ac_ct_STRIP" = x; then | |
2749 | STRIP=":" | |
2750 | else | |
2751 | case $cross_compiling:$ac_tool_warned in | |
2752 | yes:) | |
2753 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2754 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2755 | ac_tool_warned=yes ;; | |
2756 | esac | |
2757 | STRIP=$ac_ct_STRIP | |
2758 | fi | |
2759 | else | |
2760 | STRIP="$ac_cv_prog_STRIP" | |
2761 | fi | |
2762 | ||
2763 | fi | |
2764 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
2765 | ||
2766 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | |
2767 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
2768 | if test -z "$MKDIR_P"; then | if test -z "$MKDIR_P"; then |
2769 | if test "${ac_cv_path_mkdir+set}" = set; then | if ${ac_cv_path_mkdir+:} false; then : |
2770 | echo $ECHO_N "(cached) $ECHO_C" >&6 | $as_echo_n "(cached) " >&6 |
2771 | else | else |
2772 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2773 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
2774 | do | do |
2775 | IFS=$as_save_IFS | IFS=$as_save_IFS |
2776 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
2777 | for ac_prog in mkdir gmkdir; do | for ac_prog in mkdir gmkdir; do |
2778 | for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
2779 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
2780 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
# | Line 1972 do | Line 2786 do |
2786 | esac | esac |
2787 | done | done |
2788 | done | done |
2789 | done | done |
2790 | IFS=$as_save_IFS | IFS=$as_save_IFS |
2791 | ||
2792 | fi | fi |
2793 | ||
2794 | test -d ./--version && rmdir ./--version | |
2795 | if test "${ac_cv_path_mkdir+set}" = set; then | if test "${ac_cv_path_mkdir+set}" = set; then |
2796 | MKDIR_P="$ac_cv_path_mkdir -p" | MKDIR_P="$ac_cv_path_mkdir -p" |
2797 | else | else |
# | Line 1984 fi | Line 2799 fi |
2799 | # value for MKDIR_P within a source directory, because that will | # value for MKDIR_P within a source directory, because that will |
2800 | # break other packages using the cache if that directory is | # break other packages using the cache if that directory is |
2801 | # removed, or if the value is a relative name. | # removed, or if the value is a relative name. |
test -d ./--version && rmdir ./--version | ||
2802 | MKDIR_P="$ac_install_sh -d" | MKDIR_P="$ac_install_sh -d" |
2803 | fi | fi |
2804 | fi | fi |
2805 | { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
2806 | echo "${ECHO_T}$MKDIR_P" >&6; } | $as_echo "$MKDIR_P" >&6; } |
2807 | ||
2808 | mkdir_p="$MKDIR_P" | mkdir_p="$MKDIR_P" |
2809 | case $mkdir_p in | case $mkdir_p in |
# | Line 2001 for ac_prog in gawk mawk nawk awk | Line 2815 for ac_prog in gawk mawk nawk awk |
2815 | do | do |
2816 | # Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2817 | set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 |
2818 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2819 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | $as_echo_n "checking for $ac_word... " >&6; } |
2820 | if test "${ac_cv_prog_AWK+set}" = set; then | if ${ac_cv_prog_AWK+:} false; then : |
2821 | echo $ECHO_N "(cached) $ECHO_C" >&6 | $as_echo_n "(cached) " >&6 |
2822 | else | else |
2823 | if test -n "$AWK"; then | if test -n "$AWK"; then |
2824 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
# | Line 2014 for as_dir in $PATH | Line 2828 for as_dir in $PATH |
2828 | do | do |
2829 | IFS=$as_save_IFS | IFS=$as_save_IFS |
2830 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
2831 | for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
2832 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2833 | ac_cv_prog_AWK="$ac_prog" | ac_cv_prog_AWK="$ac_prog" |
2834 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2835 | break 2 | break 2 |
2836 | fi | fi |
2837 | done | done |
2838 | done | done |
2839 | IFS=$as_save_IFS | IFS=$as_save_IFS |
2840 | ||
2841 | fi | fi |
2842 | fi | fi |
2843 | AWK=$ac_cv_prog_AWK | AWK=$ac_cv_prog_AWK |
2844 | if test -n "$AWK"; then | if test -n "$AWK"; then |
2845 | { echo "$as_me:$LINENO: result: $AWK" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
2846 | echo "${ECHO_T}$AWK" >&6; } | $as_echo "$AWK" >&6; } |
2847 | else | else |
2848 | { echo "$as_me:$LINENO: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2849 | echo "${ECHO_T}no" >&6; } | $as_echo "no" >&6; } |
2850 | fi | fi |
2851 | ||
2852 | ||
2853 | test -n "$AWK" && break | test -n "$AWK" && break |
2854 | done | done |
2855 | ||
2856 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2857 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2858 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | set x ${MAKE-make} |
2859 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2860 | echo $ECHO_N "(cached) $ECHO_C" >&6 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2861 | $as_echo_n "(cached) " >&6 | |
2862 | else | else |
2863 | cat >conftest.make <<\_ACEOF | cat >conftest.make <<\_ACEOF |
2864 | SHELL = /bin/sh | SHELL = /bin/sh |
2865 | all: | all: |
2866 | @echo '@@@%%%=$(MAKE)=@@@%%%' | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2867 | _ACEOF | _ACEOF |
2868 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
2869 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2870 | *@@@%%%=?*=@@@%%%*) | *@@@%%%=?*=@@@%%%*) |
2871 | eval ac_cv_prog_make_${ac_make}_set=yes;; | eval ac_cv_prog_make_${ac_make}_set=yes;; |
# | Line 2060 esac | Line 2875 esac |
2875 | rm -f conftest.make | rm -f conftest.make |
2876 | fi | fi |
2877 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
2878 | { echo "$as_me:$LINENO: result: yes" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2879 | echo "${ECHO_T}yes" >&6; } | $as_echo "yes" >&6; } |
2880 | SET_MAKE= | SET_MAKE= |
2881 | else | else |
2882 | { echo "$as_me:$LINENO: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2883 | echo "${ECHO_T}no" >&6; } | $as_echo "no" >&6; } |
2884 | SET_MAKE="MAKE=${MAKE-make}" | SET_MAKE="MAKE=${MAKE-make}" |
2885 | fi | fi |
2886 | ||
# | Line 2084 if test "`cd $srcdir && pwd`" != "`pwd`"; then | Line 2899 if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2899 | am__isrc=' -I$(srcdir)' | am__isrc=' -I$(srcdir)' |
2900 | # test to see if srcdir already configured | # test to see if srcdir already configured |
2901 | if test -f $srcdir/config.status; then | if test -f $srcdir/config.status; then |
2902 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
2903 | fi | fi |
2904 | fi | fi |
2905 | ||
# | Line 2130 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | Line 2943 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
2943 | ||
2944 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2945 | ||
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | ||
# Installed binaries are usually stripped using `strip' when the user | ||
# run `make install-strip'. However `strip' might not be the right | ||
# tool to use in cross-compilation environments, therefore Automake | ||
# will honor the `STRIP' environment variable to overrule this program. | ||
if test "$cross_compiling" != no; then | ||
if test -n "$ac_tool_prefix"; then | ||
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | ||
set dummy ${ac_tool_prefix}strip; ac_word=$2 | ||
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
if test "${ac_cv_prog_STRIP+set}" = set; then | ||
echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
else | ||
if test -n "$STRIP"; then | ||
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | ||
else | ||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
for as_dir in $PATH | ||
do | ||
IFS=$as_save_IFS | ||
test -z "$as_dir" && as_dir=. | ||
for ac_exec_ext in '' $ac_executable_extensions; do | ||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
ac_cv_prog_STRIP="${ac_tool_prefix}strip" | ||
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
break 2 | ||
fi | ||
done | ||
done | ||
IFS=$as_save_IFS | ||
fi | ||
fi | ||
STRIP=$ac_cv_prog_STRIP | ||
if test -n "$STRIP"; then | ||
{ echo "$as_me:$LINENO: result: $STRIP" >&5 | ||
echo "${ECHO_T}$STRIP" >&6; } | ||
else | ||
{ echo "$as_me:$LINENO: result: no" >&5 | ||
echo "${ECHO_T}no" >&6; } | ||
fi | ||
fi | ||
if test -z "$ac_cv_prog_STRIP"; then | ||
ac_ct_STRIP=$STRIP | ||
# Extract the first word of "strip", so it can be a program name with args. | ||
set dummy strip; ac_word=$2 | ||
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | ||
echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
else | ||
if test -n "$ac_ct_STRIP"; then | ||
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | ||
else | ||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
for as_dir in $PATH | ||
do | ||
IFS=$as_save_IFS | ||
test -z "$as_dir" && as_dir=. | ||
for ac_exec_ext in '' $ac_executable_extensions; do | ||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
ac_cv_prog_ac_ct_STRIP="strip" | ||
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
break 2 | ||
fi | ||
done | ||
done | ||
IFS=$as_save_IFS | ||
fi | ||
fi | ||
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | ||
if test -n "$ac_ct_STRIP"; then | ||
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | ||
echo "${ECHO_T}$ac_ct_STRIP" >&6; } | ||
else | ||
{ echo "$as_me:$LINENO: result: no" >&5 | ||
echo "${ECHO_T}no" >&6; } | ||
fi | ||
if test "x$ac_ct_STRIP" = x; then | ||
STRIP=":" | ||
else | ||
case $cross_compiling:$ac_tool_warned in | ||
yes:) | ||
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
whose name does not start with the host triplet. If you think this | ||
configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
whose name does not start with the host triplet. If you think this | ||
configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
ac_tool_warned=yes ;; | ||
esac | ||
STRIP=$ac_ct_STRIP | ||
fi | ||
else | ||
STRIP="$ac_cv_prog_STRIP" | ||
fi | ||
fi | ||
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | ||
2946 | # We need awk for the "check" target. The system "awk" is bad on | # We need awk for the "check" target. The system "awk" is bad on |
2947 | # some platforms. | # some platforms. |
2948 | # Always define AMTAR for backward compatibility. | # Always define AMTAR for backward compatibility. |
# | Line 2248 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMT | Line 2955 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMT |
2955 | ||
2956 | ||
2957 | ||
2958 | { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
2959 | echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
2960 | # Check whether --enable-maintainer-mode was given. | # Check whether --enable-maintainer-mode was given. |
2961 | if test "${enable_maintainer_mode+set}" = set; then | if test "${enable_maintainer_mode+set}" = set; then : |
2962 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
2963 | else | else |
2964 | USE_MAINTAINER_MODE=no | USE_MAINTAINER_MODE=no |
2965 | fi | fi |
2966 | ||
2967 | { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
2968 | echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
2969 | if test $USE_MAINTAINER_MODE = yes; then | if test $USE_MAINTAINER_MODE = yes; then |
2970 | MAINTAINER_MODE_TRUE= | MAINTAINER_MODE_TRUE= |
2971 | MAINTAINER_MODE_FALSE='#' | MAINTAINER_MODE_FALSE='#' |
# | Line 2277 ac_config_headers="$ac_config_headers config.h" | Line 2984 ac_config_headers="$ac_config_headers config.h" |
2984 | pgac_args="$pgac_args enable_debug" | pgac_args="$pgac_args enable_debug" |
2985 | ||
2986 | # Check whether --enable-debug was given. | # Check whether --enable-debug was given. |
2987 | if test "${enable_debug+set}" = set; then | if test "${enable_debug+set}" = set; then : |
2988 | enableval=$enable_debug; | enableval=$enable_debug; |
2989 | case $enableval in | case $enableval in |
2990 | yes) | yes) |
2991 | ||
2992 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define _DEBUG 1" >>confdefs.h |
#define _DEBUG 1 | ||
_ACEOF | ||
2993 | ||
2994 | ;; | ;; |
2995 | no) | no) |
2996 | : | : |
2997 | ;; | ;; |
2998 | *) | *) |
2999 | { { echo "$as_me:$LINENO: error: no argument expected for --enable-debug option" >&5 | as_fn_error $? "no argument expected for --enable-debug option" "$LINENO" 5 |
echo "$as_me: error: no argument expected for --enable-debug option" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
3000 | ;; | ;; |
3001 | esac | esac |
3002 | ||
# | Line 2308 fi | Line 3011 fi |
3011 | pgac_args="$pgac_args enable_dump_psdata" | pgac_args="$pgac_args enable_dump_psdata" |
3012 | ||
3013 | # Check whether --enable-dump-psdata was given. | # Check whether --enable-dump-psdata was given. |
3014 | if test "${enable_dump_psdata+set}" = set; then | if test "${enable_dump_psdata+set}" = set; then : |
3015 | enableval=$enable_dump_psdata; | enableval=$enable_dump_psdata; |
3016 | case $enableval in | case $enableval in |
3017 | yes) | yes) |
3018 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define _DEBUG 1" >>confdefs.h |
#define _DEBUG 1 | ||
_ACEOF | ||
3019 | ||
3020 | ||
3021 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define DumpPSData TRUE" >>confdefs.h |
#define DumpPSData TRUE | ||
_ACEOF | ||
3022 | ||
3023 | ;; | ;; |
3024 | no) | no) |
3025 | : | : |
3026 | ;; | ;; |
3027 | *) | *) |
3028 | { { echo "$as_me:$LINENO: error: no argument expected for --enable-dump-psdata option" >&5 | as_fn_error $? "no argument expected for --enable-dump-psdata option" "$LINENO" 5 |
echo "$as_me: error: no argument expected for --enable-dump-psdata option" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
3029 | ;; | ;; |
3030 | esac | esac |
3031 | ||
# | Line 2343 fi | Line 3040 fi |
3040 | pgac_args="$pgac_args enable_dump_video_pesdata" | pgac_args="$pgac_args enable_dump_video_pesdata" |
3041 | ||
3042 | # Check whether --enable-dump-video-pesdata was given. | # Check whether --enable-dump-video-pesdata was given. |
3043 | if test "${enable_dump_video_pesdata+set}" = set; then | if test "${enable_dump_video_pesdata+set}" = set; then : |
3044 | enableval=$enable_dump_video_pesdata; | enableval=$enable_dump_video_pesdata; |
3045 | case $enableval in | case $enableval in |
3046 | yes) | yes) |
3047 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define _DEBUG 1" >>confdefs.h |
#define _DEBUG 1 | ||
_ACEOF | ||
3048 | ||
3049 | ||
3050 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define DumpVideoPESData TRUE" >>confdefs.h |
#define DumpVideoPESData TRUE | ||
_ACEOF | ||
3051 | ||
3052 | ;; | ;; |
3053 | no) | no) |
3054 | : | : |
3055 | ;; | ;; |
3056 | *) | *) |
3057 | { { echo "$as_me:$LINENO: error: no argument expected for --enable-dump-video-pesdata option" >&5 | as_fn_error $? "no argument expected for --enable-dump-video-pesdata option" "$LINENO" 5 |
echo "$as_me: error: no argument expected for --enable-dump-video-pesdata option" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
3058 | ;; | ;; |
3059 | esac | esac |
3060 | ||
# | Line 2378 fi | Line 3069 fi |
3069 | pgac_args="$pgac_args enable_dump_audio_pesdata" | pgac_args="$pgac_args enable_dump_audio_pesdata" |
3070 | ||
3071 | # Check whether --enable-dump-audio-pesdata was given. | # Check whether --enable-dump-audio-pesdata was given. |
3072 | if test "${enable_dump_audio_pesdata+set}" = set; then | if test "${enable_dump_audio_pesdata+set}" = set; then : |
3073 | enableval=$enable_dump_audio_pesdata; | enableval=$enable_dump_audio_pesdata; |
3074 | case $enableval in | case $enableval in |
3075 | yes) | yes) |
3076 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define _DEBUG 1" >>confdefs.h |
#define _DEBUG 1 | ||
_ACEOF | ||
3077 | ||
3078 | ||
3079 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define DumpAudioPESData TRUE" >>confdefs.h |
#define DumpAudioPESData TRUE | ||
_ACEOF | ||
3080 | ||
3081 | ;; | ;; |
3082 | no) | no) |
3083 | : | : |
3084 | ;; | ;; |
3085 | *) | *) |
3086 | { { echo "$as_me:$LINENO: error: no argument expected for --enable-dump-audio-pesdata option" >&5 | as_fn_error $? "no argument expected for --enable-dump-audio-pesdata option" "$LINENO" 5 |
echo "$as_me: error: no argument expected for --enable-dump-audio-pesdata option" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
3087 | ;; | ;; |
3088 | esac | esac |
3089 | ||
# | Line 2413 fi | Line 3098 fi |
3098 | pgac_args="$pgac_args enable_dump_userdata" | pgac_args="$pgac_args enable_dump_userdata" |
3099 | ||
3100 | # Check whether --enable-dump-userdata was given. | # Check whether --enable-dump-userdata was given. |
3101 | if test "${enable_dump_userdata+set}" = set; then | if test "${enable_dump_userdata+set}" = set; then : |
3102 | enableval=$enable_dump_userdata; | enableval=$enable_dump_userdata; |
3103 | case $enableval in | case $enableval in |
3104 | yes) | yes) |
3105 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define _DEBUG 1" >>confdefs.h |
#define _DEBUG 1 | ||
_ACEOF | ||
3106 | ||
3107 | ||
3108 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define DumpUserData TRUE" >>confdefs.h |
#define DumpUserData TRUE | ||
_ACEOF | ||
3109 | ||
3110 | ;; | ;; |
3111 | no) | no) |
3112 | : | : |
3113 | ;; | ;; |
3114 | *) | *) |
3115 | { { echo "$as_me:$LINENO: error: no argument expected for --enable-dump-userdata option" >&5 | as_fn_error $? "no argument expected for --enable-dump-userdata option" "$LINENO" 5 |
echo "$as_me: error: no argument expected for --enable-dump-userdata option" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
3116 | ;; | ;; |
3117 | esac | esac |
3118 | ||
# | Line 2448 fi | Line 3127 fi |
3127 | pgac_args="$pgac_args enable_dump_closedcapdata" | pgac_args="$pgac_args enable_dump_closedcapdata" |
3128 | ||
3129 | # Check whether --enable-dump-closedcapdata was given. | # Check whether --enable-dump-closedcapdata was given. |
3130 | if test "${enable_dump_closedcapdata+set}" = set; then | if test "${enable_dump_closedcapdata+set}" = set; then : |
3131 | enableval=$enable_dump_closedcapdata; | enableval=$enable_dump_closedcapdata; |
3132 | case $enableval in | case $enableval in |
3133 | yes) | yes) |
3134 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define _DEBUG 1" >>confdefs.h |
#define _DEBUG 1 | ||
_ACEOF | ||
3135 | ||
3136 | ||
3137 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define DumpClosedCapData TRUE" >>confdefs.h |
#define DumpClosedCapData TRUE | ||
_ACEOF | ||
3138 | ||
3139 | ;; | ;; |
3140 | no) | no) |
3141 | : | : |
3142 | ;; | ;; |
3143 | *) | *) |
3144 | { { echo "$as_me:$LINENO: error: no argument expected for --enable-dump-closedcapdata option" >&5 | as_fn_error $? "no argument expected for --enable-dump-closedcapdata option" "$LINENO" 5 |
echo "$as_me: error: no argument expected for --enable-dump-closedcapdata option" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
3145 | ;; | ;; |
3146 | esac | esac |
3147 | ||
# | Line 2483 fi | Line 3156 fi |
3156 | pgac_args="$pgac_args enable_dump_picturedata" | pgac_args="$pgac_args enable_dump_picturedata" |
3157 | ||
3158 | # Check whether --enable-dump-picturedata was given. | # Check whether --enable-dump-picturedata was given. |
3159 | if test "${enable_dump_picturedata+set}" = set; then | if test "${enable_dump_picturedata+set}" = set; then : |
3160 | enableval=$enable_dump_picturedata; | enableval=$enable_dump_picturedata; |
3161 | case $enableval in | case $enableval in |
3162 | yes) | yes) |
3163 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define _DEBUG 1" >>confdefs.h |
#define _DEBUG 1 | ||
_ACEOF | ||
3164 | ||
3165 | ||
3166 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define DumpPictureData TRUE" >>confdefs.h |
#define DumpPictureData TRUE | ||
_ACEOF | ||
3167 | ||
3168 | ;; | ;; |
3169 | no) | no) |
3170 | : | : |
3171 | ;; | ;; |
3172 | *) | *) |
3173 | { { echo "$as_me:$LINENO: error: no argument expected for --enable-dump-picturedata option" >&5 | as_fn_error $? "no argument expected for --enable-dump-picturedata option" "$LINENO" 5 |
echo "$as_me: error: no argument expected for --enable-dump-picturedata option" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
3174 | ;; | ;; |
3175 | esac | esac |
3176 | ||
# | Line 2518 fi | Line 3185 fi |
3185 | pgac_args="$pgac_args enable_dump_all" | pgac_args="$pgac_args enable_dump_all" |
3186 | ||
3187 | # Check whether --enable-dump-all was given. | # Check whether --enable-dump-all was given. |
3188 | if test "${enable_dump_all+set}" = set; then | if test "${enable_dump_all+set}" = set; then : |
3189 | enableval=$enable_dump_all; | enableval=$enable_dump_all; |
3190 | case $enableval in | case $enableval in |
3191 | yes) | yes) |
3192 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define _DEBUG 1" >>confdefs.h |
#define _DEBUG 1 | ||
_ACEOF | ||
3193 | ||
3194 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define DumpPSData TRUE" >>confdefs.h |
#define DumpPSData TRUE | ||
_ACEOF | ||
3195 | ||
3196 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define DumpVideoPESData TRUE" >>confdefs.h |
#define DumpVideoPESData TRUE | ||
_ACEOF | ||
3197 | ||
3198 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define DumpAudioPESData TRUE" >>confdefs.h |
#define DumpAudioPESData TRUE | ||
_ACEOF | ||
3199 | ||
3200 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define DumpUserData TRUE" >>confdefs.h |
#define DumpUserData TRUE | ||
_ACEOF | ||
3201 | ||
3202 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define DumpClosedCapData TRUE" >>confdefs.h |
#define DumpClosedCapData TRUE | ||
_ACEOF | ||
3203 | ||
3204 | cat >>confdefs.h <<\_ACEOF | $as_echo "#define DumpPictureData TRUE" >>confdefs.h |
#define DumpPictureData TRUE | ||
_ACEOF | ||
3205 | ||
3206 | ;; | ;; |
3207 | no) | no) |
3208 | : | : |
3209 | ;; | ;; |
3210 | *) | *) |
3211 | { { echo "$as_me:$LINENO: error: no argument expected for --enable-dump-all option" >&5 | as_fn_error $? "no argument expected for --enable-dump-all option" "$LINENO" 5 |
echo "$as_me: error: no argument expected for --enable-dump-all option" >&2;} | ||
{ (exit 1); exit 1; }; } | ||
3212 | ;; | ;; |
3213 | esac | esac |
3214 | ||
# | Line 2582 if test -z "$CXX"; then | Line 3233 if test -z "$CXX"; then |
3233 | do | do |
3234 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3235 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3236 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3237 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | $as_echo_n "checking for $ac_word... " >&6; } |
3238 | if test "${ac_cv_prog_CXX+set}" = set; then | if ${ac_cv_prog_CXX+:} false; then : |
3239 | echo $ECHO_N "(cached) $ECHO_C" >&6 | $as_echo_n "(cached) " >&6 |
3240 | else | else |
3241 | if test -n "$CXX"; then | if test -n "$CXX"; then |
3242 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
# | Line 2595 for as_dir in $PATH | Line 3246 for as_dir in $PATH |
3246 | do | do |
3247 | IFS=$as_save_IFS | IFS=$as_save_IFS |
3248 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
3249 | for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
3250 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3251 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3252 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3253 | break 2 | break 2 |
3254 | fi | fi |
3255 | done | done |
3256 | done | done |
3257 | IFS=$as_save_IFS | IFS=$as_save_IFS |
3258 | ||
3259 | fi | fi |
3260 | fi | fi |
3261 | CXX=$ac_cv_prog_CXX | CXX=$ac_cv_prog_CXX |
3262 | if test -n "$CXX"; then | if test -n "$CXX"; then |
3263 | { echo "$as_me:$LINENO: result: $CXX" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
3264 | echo "${ECHO_T}$CXX" >&6; } | $as_echo "$CXX" >&6; } |
3265 | else | else |
3266 | { echo "$as_me:$LINENO: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3267 | echo "${ECHO_T}no" >&6; } | $as_echo "no" >&6; } |
3268 | fi | fi |
3269 | ||
3270 | ||
# | Line 2626 if test -z "$CXX"; then | Line 3277 if test -z "$CXX"; then |
3277 | do | do |
3278 | # Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3279 | set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 |
3280 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3281 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | $as_echo_n "checking for $ac_word... " >&6; } |
3282 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
3283 | echo $ECHO_N "(cached) $ECHO_C" >&6 | $as_echo_n "(cached) " >&6 |
3284 | else | else |
3285 | if test -n "$ac_ct_CXX"; then | if test -n "$ac_ct_CXX"; then |
3286 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
# | Line 2639 for as_dir in $PATH | Line 3290 for as_dir in $PATH |
3290 | do | do |
3291 | IFS=$as_save_IFS | IFS=$as_save_IFS |
3292 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
3293 | for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
3294 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3295 | ac_cv_prog_ac_ct_CXX="$ac_prog" | ac_cv_prog_ac_ct_CXX="$ac_prog" |
3296 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3297 | break 2 | break 2 |
3298 | fi | fi |
3299 | done | done |
3300 | done | done |
3301 | IFS=$as_save_IFS | IFS=$as_save_IFS |
3302 | ||
3303 | fi | fi |
3304 | fi | fi |
3305 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
3306 | if test -n "$ac_ct_CXX"; then | if test -n "$ac_ct_CXX"; then |
3307 | { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
3308 | echo "${ECHO_T}$ac_ct_CXX" >&6; } | $as_echo "$ac_ct_CXX" >&6; } |
3309 | else | else |
3310 | { echo "$as_me:$LINENO: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3311 | echo "${ECHO_T}no" >&6; } | $as_echo "no" >&6; } |
3312 | fi | fi |
3313 | ||
3314 | ||
# | Line 2669 done | Line 3320 done |
3320 | else | else |
3321 | case $cross_compiling:$ac_tool_warned in | case $cross_compiling:$ac_tool_warned in |
3322 | yes:) | yes:) |
3323 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3324 | whose name does not start with the host triplet. If you think this | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
whose name does not start with the host triplet. If you think this | ||
configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
3325 | ac_tool_warned=yes ;; | ac_tool_warned=yes ;; |
3326 | esac | esac |
3327 | CXX=$ac_ct_CXX | CXX=$ac_ct_CXX |
# | Line 2684 fi | Line 3331 fi |
3331 | fi | fi |
3332 | fi | fi |
3333 | # Provide some information about the compiler. | # Provide some information about the compiler. |
3334 | echo "$as_me:$LINENO: checking for C++ compiler version" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
3335 | ac_compiler=`set X $ac_compile; echo $2` | set X $ac_compile |
3336 | { (ac_try="$ac_compiler --version >&5" | ac_compiler=$2 |
3337 | for ac_option in --version -v -V -qversion; do | |
3338 | { { ac_try="$ac_compiler $ac_option >&5" | |
3339 | case "(($ac_try" in | case "(($ac_try" in |
3340 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3341 | *) ac_try_echo=$ac_try;; | *) ac_try_echo=$ac_try;; |
3342 | esac | esac |
3343 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3344 | (eval "$ac_compiler --version >&5") 2>&5 | $as_echo "$ac_try_echo"; } >&5 |
3345 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
3346 | ac_status=$? | ac_status=$? |
3347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | if test -s conftest.err; then |
3348 | (exit $ac_status); } | sed '10a\ |
3349 | { (ac_try="$ac_compiler -v >&5" | ... rest of stderr output deleted ... |
3350 | case "(($ac_try" in | 10q' conftest.err >conftest.er1 |
3351 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | cat conftest.er1 >&5 |
3352 | *) ac_try_echo=$ac_try;; | fi |
3353 | esac | rm -f conftest.er1 conftest.err |
3354 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3355 | (eval "$ac_compiler -v >&5") 2>&5 | test $ac_status = 0; } |
3356 | ac_status=$? | done |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
(exit $ac_status); } | ||
{ (ac_try="$ac_compiler -V >&5" | ||
case "(($ac_try" in | ||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
*) ac_try_echo=$ac_try;; | ||
esac | ||
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
(eval "$ac_compiler -V >&5") 2>&5 | ||
ac_status=$? | ||
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
(exit $ac_status); } | ||
3357 | ||
3358 | cat >conftest.$ac_ext <<_ACEOF | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* confdefs.h. */ | ||
_ACEOF | ||
cat confdefs.h >>conftest.$ac_ext | ||
cat >>conftest.$ac_ext <<_ACEOF | ||
3359 | /* end confdefs.h. */ | /* end confdefs.h. */ |
3360 | ||
3361 | int | int |
# | Line 2733 main () | Line 3367 main () |
3367 | } | } |
3368 | _ACEOF | _ACEOF |
3369 | ac_clean_files_save=$ac_clean_files | ac_clean_files_save=$ac_clean_files |
3370 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3371 | # Try to create an executable without -o first, disregard a.out. | # Try to create an executable without -o first, disregard a.out. |
3372 | # It will help us diagnose broken compilers, and finding out an intuition | # It will help us diagnose broken compilers, and finding out an intuition |
3373 | # of exeext. | # of exeext. |
3374 | { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 |
3375 | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } | $as_echo_n "checking whether the C++ compiler works... " >&6; } |
3376 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3377 | # | |
3378 | # List of possible output files, starting from the most likely. | # The possible output files: |
3379 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
3380 | # only as a last resort. b.out is created by i960 compilers. | |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | ||
# | ||
# The IRIX 6 linker writes into existing files which may not be | ||
# executable, retaining their permissions. Remove them first so a | ||
# subsequent execution test works. | ||
3381 | ac_rmfiles= | ac_rmfiles= |
3382 | for ac_file in $ac_files | for ac_file in $ac_files |
3383 | do | do |
3384 | case $ac_file in | case $ac_file in |
3385 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3386 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3387 | esac | esac |
3388 | done | done |
3389 | rm -f $ac_rmfiles | rm -f $ac_rmfiles |
3390 | ||
3391 | if { (ac_try="$ac_link_default" | if { { ac_try="$ac_link_default" |
3392 | case "(($ac_try" in | case "(($ac_try" in |
3393 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3394 | *) ac_try_echo=$ac_try;; | *) ac_try_echo=$ac_try;; |
3395 | esac | esac |
3396 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3397 | $as_echo "$ac_try_echo"; } >&5 | |
3398 | (eval "$ac_link_default") 2>&5 | (eval "$ac_link_default") 2>&5 |
3399 | ac_status=$? | ac_status=$? |
3400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3401 | (exit $ac_status); }; then | test $ac_status = 0; }; then : |
3402 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3403 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3404 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
# | Line 2778 for ac_file in $ac_files '' | Line 3408 for ac_file in $ac_files '' |
3408 | do | do |
3409 | test -f "$ac_file" || continue | test -f "$ac_file" || continue |
3410 | case $ac_file in | case $ac_file in |
3411 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
3412 | ;; | ;; |
3413 | [ab].out ) | [ab].out ) |
3414 | # We found the default executable, but exeext='' is most | # We found the default executable, but exeext='' is most |
3415 | # certainly right. | # certainly right. |
3416 | break;; | break;; |
3417 | *.* ) | *.* ) |
3418 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3419 | then :; else | then :; else |
3420 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3421 | fi | fi |
# | Line 2804 test "$ac_cv_exeext" = no && ac_cv_exeext= | Line 3434 test "$ac_cv_exeext" = no && ac_cv_exeext= |
3434 | else | else |
3435 | ac_file='' | ac_file='' |
3436 | fi | fi |
3437 | if test -z "$ac_file"; then : | |
3438 | { echo "$as_me:$LINENO: result: $ac_file" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3439 | echo "${ECHO_T}$ac_file" >&6; } | $as_echo "no" >&6; } |
3440 | if test -z "$ac_file"; then | $as_echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 | ||
3441 | sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
3442 | ||
3443 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3444 | See \`config.log' for more details." >&5 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3445 | echo "$as_me: error: C++ compiler cannot create executables | as_fn_error 77 "C++ compiler cannot create executables |
3446 | See \`config.log' for more details." >&2;} | See \`config.log' for more details" "$LINENO" 5; } |
3447 | { (exit 77); exit 77; }; } | else |
3448 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
3449 | $as_echo "yes" >&6; } | |
3450 | fi | fi |
3451 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 | |
3452 | $as_echo_n "checking for C++ compiler default output file name... " >&6; } | |
3453 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
3454 | $as_echo "$ac_file" >&6; } | |
3455 | ac_exeext=$ac_cv_exeext | ac_exeext=$ac_cv_exeext |
3456 | ||
3457 | # Check that the compiler produces executables we can run. If not, either | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
# the compiler is broken, or we cross compile. | ||
{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | ||
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } | ||
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
# If not cross compiling, check that we can run a simple program. | ||
if test "$cross_compiling" != yes; then | ||
if { ac_try='./$ac_file' | ||
{ (case "(($ac_try" in | ||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
*) ac_try_echo=$ac_try;; | ||
esac | ||
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
(eval "$ac_try") 2>&5 | ||
ac_status=$? | ||
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
(exit $ac_status); }; }; then | ||
cross_compiling=no | ||
else | ||
if test "$cross_compiling" = maybe; then | ||
cross_compiling=yes | ||
else | ||
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | ||
If you meant to cross compile, use \`--host'. | ||
See \`config.log' for more details." >&5 | ||
echo "$as_me: error: cannot run C++ compiled programs. | ||
If you meant to cross compile, use \`--host'. | ||
See \`config.log' for more details." >&2;} | ||
{ (exit 1); exit 1; }; } | ||
fi | ||
fi | ||
fi | ||
{ echo "$as_me:$LINENO: result: yes" >&5 | ||
echo "${ECHO_T}yes" >&6; } | ||
rm -f a.out a.exe conftest$ac_cv_exeext b.out | ||
3458 | ac_clean_files=$ac_clean_files_save | ac_clean_files=$ac_clean_files_save |
3459 | # Check that the compiler produces executables we can run. If not, either | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3460 | # the compiler is broken, or we cross compile. | $as_echo_n "checking for suffix of executables... " >&6; } |
3461 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | if { { ac_try="$ac_link" |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | ||
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
echo "${ECHO_T}$cross_compiling" >&6; } | ||
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | ||
if { (ac_try="$ac_link" | ||
3462 | case "(($ac_try" in | case "(($ac_try" in |
3463 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3464 | *) ac_try_echo=$ac_try;; | *) ac_try_echo=$ac_try;; |
3465 | esac | esac |
3466 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3467 | $as_echo "$ac_try_echo"; } >&5 | |
3468 | (eval "$ac_link") 2>&5 | (eval "$ac_link") 2>&5 |
3469 | ac_status=$? | ac_status=$? |
3470 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3471 | (exit $ac_status); }; then | test $ac_status = 0; }; then : |
3472 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3473 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3474 | # work properly (i.e., refer to `conftest.exe'), while it won't with | # work properly (i.e., refer to `conftest.exe'), while it won't with |
# | Line 2883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | Line 3476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3476 | for ac_file in conftest.exe conftest conftest.*; do | for ac_file in conftest.exe conftest conftest.*; do |
3477 | test -f "$ac_file" || continue | test -f "$ac_file" || continue |
3478 | case $ac_file in | case $ac_file in |
3479 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3480 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3481 | break;; | break;; |
3482 | * ) break;; | * ) break;; |
3483 | esac | esac |
3484 | done | done |
3485 | else | else |
3486 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3487 | See \`config.log' for more details." >&5 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3488 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3489 | See \`config.log' for more details." >&2;} | See \`config.log' for more details" "$LINENO" 5; } |
{ (exit 1); exit 1; }; } | ||
3490 | fi | fi |
3491 | rm -f conftest conftest$ac_cv_exeext | |
3492 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
3493 | $as_echo "$ac_cv_exeext" >&6; } | |
3494 | ||
rm -f conftest$ac_cv_exeext | ||
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
echo "${ECHO_T}$ac_cv_exeext" >&6; } | ||
3495 | rm -f conftest.$ac_ext | rm -f conftest.$ac_ext |
3496 | EXEEXT=$ac_cv_exeext | EXEEXT=$ac_cv_exeext |
3497 | ac_exeext=$EXEEXT | ac_exeext=$EXEEXT |
3498 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3499 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | /* end confdefs.h. */ |
3500 | if test "${ac_cv_objext+set}" = set; then | #include <stdio.h> |
3501 | echo $ECHO_N "(cached) $ECHO_C" >&6 | int |
3502 | else | main () |
3503 | cat >conftest.$ac_ext <<_ACEOF | { |
3504 | /* confdefs.h. */ | FILE *f = fopen ("conftest.out", "w"); |
3505 | return ferror (f) || fclose (f) != 0; | |
3506 | ||
3507 | ; | |
3508 | return 0; | |
3509 | } | |
3510 | _ACEOF | _ACEOF |
3511 | cat confdefs.h >>conftest.$ac_ext | ac_clean_files="$ac_clean_files conftest.out" |
3512 | cat >>conftest.$ac_ext <<_ACEOF | # Check that the compiler produces executables we can run. If not, either |
3513 | # the compiler is broken, or we cross compile. | |
3514 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
3515 | $as_echo_n "checking whether we are cross compiling... " >&6; } | |
3516 | if test "$cross_compiling" != yes; then | |
3517 | { { ac_try="$ac_link" | |
3518 | case "(($ac_try" in | |
3519 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3520 | *) ac_try_echo=$ac_try;; | |
3521 | esac | |
3522 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3523 | $as_echo "$ac_try_echo"; } >&5 | |
3524 | (eval "$ac_link") 2>&5 | |
3525 | ac_status=$? | |
3526 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3527 | test $ac_status = 0; } | |
3528 | if { ac_try='./conftest$ac_cv_exeext' | |
3529 | { { case "(($ac_try" in | |
3530 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3531 | *) ac_try_echo=$ac_try;; | |
3532 | esac | |
3533 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3534 | $as_echo "$ac_try_echo"; } >&5 | |
3535 | (eval "$ac_try") 2>&5 | |
3536 | ac_status=$? | |
3537 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3538 | test $ac_status = 0; }; }; then | |
3539 | cross_compiling=no | |
3540 | else | |
3541 | if test "$cross_compiling" = maybe; then | |
3542 | cross_compiling=yes | |
3543 | else | |
3544 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3545 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3546 | as_fn_error $? "cannot run C++ compiled programs. | |
3547 | If you meant to cross compile, use \`--host'. | |
3548 | See \`config.log' for more details" "$LINENO" 5; } | |
3549 | fi | |
3550 | fi | |
3551 | fi | |
3552 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
3553 | $as_echo "$cross_compiling" >&6; } | |
3554 | ||
3555 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
3556 | ac_clean_files=$ac_clean_files_save | |
3557 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
3558 | $as_echo_n "checking for suffix of object files... " >&6; } | |
3559 | if ${ac_cv_objext+:} false; then : | |
3560 | $as_echo_n "(cached) " >&6 | |
3561 | else | |
3562 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3563 | /* end confdefs.h. */ | /* end confdefs.h. */ |
3564 | ||
3565 | int | int |
# | Line 2925 main () | Line 3571 main () |
3571 | } | } |
3572 | _ACEOF | _ACEOF |
3573 | rm -f conftest.o conftest.obj | rm -f conftest.o conftest.obj |
3574 | if { (ac_try="$ac_compile" | if { { ac_try="$ac_compile" |
3575 | case "(($ac_try" in | case "(($ac_try" in |
3576 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3577 | *) ac_try_echo=$ac_try;; | *) ac_try_echo=$ac_try;; |
3578 | esac | esac |
3579 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3580 | $as_echo "$ac_try_echo"; } >&5 | |
3581 | (eval "$ac_compile") 2>&5 | (eval "$ac_compile") 2>&5 |
3582 | ac_status=$? | ac_status=$? |
3583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3584 | (exit $ac_status); }; then | test $ac_status = 0; }; then : |
3585 | for ac_file in conftest.o conftest.obj conftest.*; do | for ac_file in conftest.o conftest.obj conftest.*; do |
3586 | test -f "$ac_file" || continue; | test -f "$ac_file" || continue; |
3587 | case $ac_file in | case $ac_file in |
3588 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
3589 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3590 | break;; | break;; |
3591 | esac | esac |
3592 | done | done |
3593 | else | else |
3594 | echo "$as_me: failed program was:" >&5 | $as_echo "$as_me: failed program was:" >&5 |
3595 | sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
3596 | ||
3597 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3598 | See \`config.log' for more details." >&5 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3599 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3600 | See \`config.log' for more details." >&2;} | See \`config.log' for more details" "$LINENO" 5; } |
{ (exit 1); exit 1; }; } | ||
3601 | fi | fi |
3602 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3603 | fi | fi |
3604 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3605 | echo "${ECHO_T}$ac_cv_objext" >&6; } | $as_echo "$ac_cv_objext" >&6; } |
3606 | OBJEXT=$ac_cv_objext | OBJEXT=$ac_cv_objext |
3607 | ac_objext=$OBJEXT | ac_objext=$OBJEXT |
3608 | { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3609 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3610 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
3611 | echo $ECHO_N "(cached) $ECHO_C" >&6 | $as_echo_n "(cached) " >&6 |
3612 | else | else |
3613 | cat >conftest.$ac_ext <<_ACEOF | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* confdefs.h. */ | ||
_ACEOF | ||
cat confdefs.h >>conftest.$ac_ext | ||
cat >>conftest.$ac_ext <<_ACEOF | ||
3614 | /* end confdefs.h. */ | /* end confdefs.h. */ |
3615 | ||
3616 | int | int |
# | Line 2983 main () | Line 3624 main () |
3624 | return 0; | return 0; |
3625 | } | } |
3626 | _ACEOF | _ACEOF |
3627 | rm -f conftest.$ac_objext | if ac_fn_cxx_try_compile "$LINENO"; then : |
if { (ac_try="$ac_compile" | ||
case "(($ac_try" in | ||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
*) ac_try_echo=$ac_try;; | ||
esac | ||
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
(eval "$ac_compile") 2>conftest.er1 | ||
ac_status=$? | ||
grep -v '^ *+' conftest.er1 >conftest.err | ||
rm -f conftest.er1 | ||
cat conftest.err >&5 | ||
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
(exit $ac_status); } && { | ||
test -z "$ac_cxx_werror_flag" || | ||
test ! -s conftest.err | ||
} && test -s conftest.$ac_objext; then | ||
3628 | ac_compiler_gnu=yes | ac_compiler_gnu=yes |
3629 | else | else |
3630 | echo "$as_me: failed program was:" >&5 | ac_compiler_gnu=no |
sed 's/^/| /' conftest.$ac_ext >&5 | ||
ac_compiler_gnu=no | ||
3631 | fi | fi |
3632 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3633 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
3634 | ||
3635 | fi | fi |
3636 | { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
3637 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
3638 | GXX=`test $ac_compiler_gnu = yes && echo yes` | if test $ac_compiler_gnu = yes; then |
3639 | GXX=yes | |
3640 | else | |
3641 | GXX= | |
3642 | fi | |
3643 | ac_test_CXXFLAGS=${CXXFLAGS+set} | ac_test_CXXFLAGS=${CXXFLAGS+set} |
3644 | ac_save_CXXFLAGS=$CXXFLAGS | ac_save_CXXFLAGS=$CXXFLAGS |
3645 | { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3646 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3647 | if test "${ac_cv_prog_cxx_g+set}" = set; then | if ${ac_cv_prog_cxx_g+:} false; then : |
3648 | echo $ECHO_N "(cached) $ECHO_C" >&6 | $as_echo_n "(cached) " >&6 |
3649 | else | else |
3650 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3651 | ac_cxx_werror_flag=yes | ac_cxx_werror_flag=yes |
3652 | ac_cv_prog_cxx_g=no | ac_cv_prog_cxx_g=no |
3653 | CXXFLAGS="-g" | CXXFLAGS="-g" |
3654 | cat >conftest.$ac_ext <<_ACEOF | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* confdefs.h. */ | ||
_ACEOF | ||
cat confdefs.h >>conftest.$ac_ext | ||
cat >>conftest.$ac_ext <<_ACEOF | ||
3655 | /* end confdefs.h. */ | /* end confdefs.h. */ |
3656 | ||
3657 | int | int |
# | Line 3041 main () | Line 3662 main () |
3662 | return 0; | return 0; |
3663 | } | } |
3664 | _ACEOF | _ACEOF |
3665 | rm -f conftest.$ac_objext | if ac_fn_cxx_try_compile "$LINENO"; then : |
if { (ac_try="$ac_compile" | ||
case "(($ac_try" in | ||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
*) ac_try_echo=$ac_try;; | ||
esac | ||
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
(eval "$ac_compile") 2>conftest.er1 | ||
ac_status=$? | ||
grep -v '^ *+' conftest.er1 >conftest.err | ||
rm -f conftest.er1 | ||
cat conftest.err >&5 | ||
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
(exit $ac_status); } && { | ||
test -z "$ac_cxx_werror_flag" || | ||
test ! -s conftest.err | ||
} && test -s conftest.$ac_objext; then | ||
3666 | ac_cv_prog_cxx_g=yes | ac_cv_prog_cxx_g=yes |
3667 | else | else |
3668 | echo "$as_me: failed program was:" >&5 | CXXFLAGS="" |
3669 | sed 's/^/| /' conftest.$ac_ext >&5 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
CXXFLAGS="" | ||
cat >conftest.$ac_ext <<_ACEOF | ||
/* confdefs.h. */ | ||
_ACEOF | ||
cat confdefs.h >>conftest.$ac_ext | ||
cat >>conftest.$ac_ext <<_ACEOF | ||
3670 | /* end confdefs.h. */ | /* end confdefs.h. */ |
3671 | ||
3672 | int | int |
# | Line 3079 main () | Line 3677 main () |
3677 | return 0; | return 0; |
3678 | } | } |
3679 | _ACEOF | _ACEOF |
3680 | rm -f conftest.$ac_objext | if ac_fn_cxx_try_compile "$LINENO"; then : |
if { (ac_try="$ac_compile" | ||
case "(($ac_try" in | ||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
*) ac_try_echo=$ac_try;; | ||
esac | ||
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
(eval "$ac_compile") 2>conftest.er1 | ||
ac_status=$? | ||
grep -v '^ *+' conftest.er1 >conftest.err | ||
rm -f conftest.er1 | ||
cat conftest.err >&5 | ||
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
(exit $ac_status); } && { | ||
test -z "$ac_cxx_werror_flag" || | ||
test ! -s conftest.err | ||
} && test -s conftest.$ac_objext; then | ||
: | ||
else | ||
echo "$as_me: failed program was:" >&5 | ||
sed 's/^/| /' conftest.$ac_ext >&5 | ||
3681 | ||
3682 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | else |
3683 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
3684 | CXXFLAGS="-g" | CXXFLAGS="-g" |
3685 | cat >conftest.$ac_ext <<_ACEOF | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* confdefs.h. */ | ||
_ACEOF | ||
cat confdefs.h >>conftest.$ac_ext | ||
cat >>conftest.$ac_ext <<_ACEOF | ||
3686 | /* end confdefs.h. */ | /* end confdefs.h. */ |
3687 | ||
3688 | int | int |
# | Line 3118 main () | Line 3693 main () |
3693 | return 0; | return 0; |
3694 | } | } |
3695 | _ACEOF | _ACEOF |
3696 | rm -f conftest.$ac_objext | if ac_fn_cxx_try_compile "$LINENO"; then : |
if { (ac_try="$ac_compile" | ||
case "(($ac_try" in | ||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
*) ac_try_echo=$ac_try;; | ||
esac | ||
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
(eval "$ac_compile") 2>conftest.er1 | ||
ac_status=$? | ||
grep -v '^ *+' conftest.er1 >conftest.err | ||
rm -f conftest.er1 | ||
cat conftest.err >&5 | ||
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
(exit $ac_status); } && { | ||
test -z "$ac_cxx_werror_flag" || | ||
test ! -s conftest.err | ||
} && test -s conftest.$ac_objext; then | ||
3697 | ac_cv_prog_cxx_g=yes | ac_cv_prog_cxx_g=yes |
else | ||
echo "$as_me: failed program was:" >&5 | ||
sed 's/^/| /' conftest.$ac_ext >&5 | ||
3698 | fi | fi |
3699 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3700 | fi | fi |
3701 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3702 | fi | fi |
3703 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3704 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
3705 | fi | fi |
3706 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
3707 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } | $as_echo "$ac_cv_prog_cxx_g" >&6; } |
3708 | if test "$ac_test_CXXFLAGS" = set; then | if test "$ac_test_CXXFLAGS" = set; then |
3709 | CXXFLAGS=$ac_save_CXXFLAGS | CXXFLAGS=$ac_save_CXXFLAGS |
3710 | elif test $ac_cv_prog_cxx_g = yes; then | elif test $ac_cv_prog_cxx_g = yes; then |
# | Line 3186 am__doit: | Line 3737 am__doit: |
3737 | .PHONY: am__doit | .PHONY: am__doit |
3738 | END | END |
3739 | # If we don't find an include directive, just comment out the code. | # If we don't find an include directive, just comment out the code. |
3740 | { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3741 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
3742 | am__include="#" | am__include="#" |
3743 | am__quote= | am__quote= |
3744 | _am_result=none | _am_result=none |
# | Line 3214 if test "$am__include" = "#"; then | Line 3765 if test "$am__include" = "#"; then |
3765 | fi | fi |
3766 | ||
3767 | ||
3768 | { echo "$as_me:$LINENO: result: $_am_result" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3769 | echo "${ECHO_T}$_am_result" >&6; } | $as_echo "$_am_result" >&6; } |
3770 | rm -f confinc confmf | rm -f confinc confmf |
3771 | ||
3772 | # Check whether --enable-dependency-tracking was given. | # Check whether --enable-dependency-tracking was given. |
3773 | if test "${enable_dependency_tracking+set}" = set; then | if test "${enable_dependency_tracking+set}" = set; then : |
3774 | enableval=$enable_dependency_tracking; | enableval=$enable_dependency_tracking; |
3775 | fi | fi |
3776 | ||
# | Line 3239 fi | Line 3790 fi |
3790 | ||
3791 | depcc="$CXX" am_compiler_list= | depcc="$CXX" am_compiler_list= |
3792 | ||
3793 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3794 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } | $as_echo_n "checking dependency style of $depcc... " >&6; } |
3795 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
3796 | echo $ECHO_N "(cached) $ECHO_C" >&6 | $as_echo_n "(cached) " >&6 |
3797 | else | else |
3798 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3799 | # We make a subdir and do the tests there. Otherwise we can end up | # We make a subdir and do the tests there. Otherwise we can end up |
# | Line 3267 else | Line 3818 else |
3818 | if test "$am_compiler_list" = ""; then | if test "$am_compiler_list" = ""; then |
3819 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
3820 | fi | fi |
3821 | am__universal=false | |
3822 | case " $depcc " in #( | |
3823 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
3824 | esac | |
3825 | ||
3826 | for depmode in $am_compiler_list; do | for depmode in $am_compiler_list; do |
3827 | # Setup a source with many dependencies, because some compilers | # Setup a source with many dependencies, because some compilers |
3828 | # like to wrap large dependency lists on column 80 (with \), and | # like to wrap large dependency lists on column 80 (with \), and |
# | Line 3284 else | Line 3840 else |
3840 | done | done |
3841 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3842 | ||
3843 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
3844 | # mode. It turns out that the SunPro C++ compiler does not properly | |
3845 | # handle `-M -o', and we need to detect this. Also, some Intel | |
3846 | # versions had trouble with output in subdirs | |
3847 | am__obj=sub/conftest.${OBJEXT-o} | |
3848 | am__minus_obj="-o $am__obj" | |
3849 | case $depmode in | case $depmode in |
3850 | gcc) | |
3851 | # This depmode causes a compiler race in universal mode. | |
3852 | test "$am__universal" = false || continue | |
3853 | ;; | |
3854 | nosideeffect) | nosideeffect) |
3855 | # after this tag, mechanisms are not by side-effect, so they'll | # after this tag, mechanisms are not by side-effect, so they'll |
3856 | # only be used when explicitly requested | # only be used when explicitly requested |
# | Line 3294 else | Line 3860 else |
3860 | break | break |
3861 | fi | fi |
3862 | ;; | ;; |
3863 | msvisualcpp | msvcmsys) | |
3864 | # This compiler won't grok `-c -o', but also, the minuso test has | |
3865 | # not run yet. These depmodes are late enough in the game, and | |
3866 | # so weak that their functioning should not be impacted. | |
3867 | am__obj=conftest.${OBJEXT-o} | |
3868 | am__minus_obj= | |
3869 | ;; | |
3870 | none) break ;; | none) break ;; |
3871 | esac | esac |
# We check with `-c' and `-o' for the sake of the "dashmstdout" | ||
# mode. It turns out that the SunPro C++ compiler does not properly | ||
# handle `-M -o', and we need to detect this. | ||
3872 | if depmode=$depmode \ | if depmode=$depmode \ |
3873 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | source=sub/conftest.c object=$am__obj \ |
3874 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
3875 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
3876 | >/dev/null 2>conftest.err && | >/dev/null 2>conftest.err && |
3877 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
3878 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3879 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
3880 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3881 | # icc doesn't choke on unknown options, it will just issue warnings | # icc doesn't choke on unknown options, it will just issue warnings |
3882 | # or remarks (even with -Werror). So we grep stderr for any message | # or remarks (even with -Werror). So we grep stderr for any message |
# | Line 3330 else | Line 3900 else |
3900 | fi | fi |
3901 | ||
3902 | fi | fi |
3903 | { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
3904 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
3905 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
3906 | ||
3907 | if | if |
# | Line 3353 ac_compiler_gnu=$ac_cv_c_compiler_gnu | Line 3923 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3923 | if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
3924 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3925 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3926 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3927 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | $as_echo_n "checking for $ac_word... " >&6; } |
3928 | if test "${ac_cv_prog_CC+set}" = set; then | if ${ac_cv_prog_CC+:} false; then : |
3929 | echo $ECHO_N "(cached) $ECHO_C" >&6 | $as_echo_n "(cached) " >&6 |