1 | #! /bin/bash |
---|
2 | # Generated by configure. |
---|
3 | # Run this file to recreate the current configuration. |
---|
4 | # Compiler output produced by configure, useful for debugging |
---|
5 | # configure, is in config.log if it exists. |
---|
6 | |
---|
7 | debug=false |
---|
8 | ac_cs_recheck=false |
---|
9 | ac_cs_silent=false |
---|
10 | |
---|
11 | SHELL=${CONFIG_SHELL-/bin/bash} |
---|
12 | export SHELL |
---|
13 | ## -------------------- ## |
---|
14 | ## M4sh Initialization. ## |
---|
15 | ## -------------------- ## |
---|
16 | |
---|
17 | # Be more Bourne compatible |
---|
18 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
20 | emulate sh |
---|
21 | NULLCMD=: |
---|
22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
23 | # is contrary to our usage. Disable this feature. |
---|
24 | alias -g '${1+"$@"}'='"$@"' |
---|
25 | setopt NO_GLOB_SUBST |
---|
26 | else |
---|
27 | case `(set -o) 2>/dev/null` in #( |
---|
28 | *posix*) : |
---|
29 | set -o posix ;; #( |
---|
30 | *) : |
---|
31 | ;; |
---|
32 | esac |
---|
33 | fi |
---|
34 | |
---|
35 | |
---|
36 | as_nl=' |
---|
37 | ' |
---|
38 | export as_nl |
---|
39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
43 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
44 | # but without wasting forks for bash or zsh. |
---|
45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
47 | as_echo='print -r --' |
---|
48 | as_echo_n='print -rn --' |
---|
49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
50 | as_echo='printf %s\n' |
---|
51 | as_echo_n='printf %s' |
---|
52 | 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 |
---|
57 | 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 |
---|
70 | export as_echo_body |
---|
71 | as_echo='sh -c $as_echo_body as_echo' |
---|
72 | fi |
---|
73 | |
---|
74 | # The user is always right. |
---|
75 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
76 | PATH_SEPARATOR=: |
---|
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
79 | PATH_SEPARATOR=';' |
---|
80 | } |
---|
81 | fi |
---|
82 | |
---|
83 | |
---|
84 | # IFS |
---|
85 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
86 | # there to prevent editors from complaining about space-tab. |
---|
87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
88 | # splitting by setting IFS to empty value.) |
---|
89 | IFS=" "" $as_nl" |
---|
90 | |
---|
91 | # Find who we are. Look in the path if we contain no directory separator. |
---|
92 | as_myself= |
---|
93 | case $0 in #(( |
---|
94 | *[\\/]* ) as_myself=$0 ;; |
---|
95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
96 | for as_dir in $PATH |
---|
97 | do |
---|
98 | IFS=$as_save_IFS |
---|
99 | test -z "$as_dir" && as_dir=. |
---|
100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
101 | done |
---|
102 | IFS=$as_save_IFS |
---|
103 | |
---|
104 | ;; |
---|
105 | esac |
---|
106 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
107 | # in which case we are not to be found in the path. |
---|
108 | if test "x$as_myself" = x; then |
---|
109 | as_myself=$0 |
---|
110 | fi |
---|
111 | if test ! -f "$as_myself"; then |
---|
112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
113 | exit 1 |
---|
114 | fi |
---|
115 | |
---|
116 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
118 | # suppresses any "Segmentation fault" message there. '((' could |
---|
119 | # trigger a bug in pdksh 5.2.14. |
---|
120 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
121 | do eval test x\${$as_var+set} = xset \ |
---|
122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
123 | done |
---|
124 | PS1='$ ' |
---|
125 | PS2='> ' |
---|
126 | PS4='+ ' |
---|
127 | |
---|
128 | # NLS nuisances. |
---|
129 | LC_ALL=C |
---|
130 | export LC_ALL |
---|
131 | LANGUAGE=C |
---|
132 | export LANGUAGE |
---|
133 | |
---|
134 | # CDPATH. |
---|
135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
136 | |
---|
137 | |
---|
138 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
139 | # ---------------------------------------- |
---|
140 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
141 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
142 | # script with STATUS, using 1 if that was 0. |
---|
143 | as_fn_error () |
---|
144 | { |
---|
145 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
146 | if test "$4"; then |
---|
147 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
148 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
149 | fi |
---|
150 | $as_echo "$as_me: error: $2" >&2 |
---|
151 | as_fn_exit $as_status |
---|
152 | } # as_fn_error |
---|
153 | |
---|
154 | |
---|
155 | # as_fn_set_status STATUS |
---|
156 | # ----------------------- |
---|
157 | # Set $? to STATUS, without forking. |
---|
158 | as_fn_set_status () |
---|
159 | { |
---|
160 | return $1 |
---|
161 | } # as_fn_set_status |
---|
162 | |
---|
163 | # as_fn_exit STATUS |
---|
164 | # ----------------- |
---|
165 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
166 | as_fn_exit () |
---|
167 | { |
---|
168 | set +e |
---|
169 | as_fn_set_status $1 |
---|
170 | exit $1 |
---|
171 | } # as_fn_exit |
---|
172 | |
---|
173 | # as_fn_unset VAR |
---|
174 | # --------------- |
---|
175 | # Portably unset VAR. |
---|
176 | as_fn_unset () |
---|
177 | { |
---|
178 | { eval $1=; unset $1;} |
---|
179 | } |
---|
180 | as_unset=as_fn_unset |
---|
181 | # as_fn_append VAR VALUE |
---|
182 | # ---------------------- |
---|
183 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
184 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
185 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
186 | # implementations. |
---|
187 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
188 | eval 'as_fn_append () |
---|
189 | { |
---|
190 | eval $1+=\$2 |
---|
191 | }' |
---|
192 | else |
---|
193 | as_fn_append () |
---|
194 | { |
---|
195 | eval $1=\$$1\$2 |
---|
196 | } |
---|
197 | fi # as_fn_append |
---|
198 | |
---|
199 | # as_fn_arith ARG... |
---|
200 | # ------------------ |
---|
201 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
202 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
203 | # must be portable across $(()) and expr. |
---|
204 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
205 | eval 'as_fn_arith () |
---|
206 | { |
---|
207 | as_val=$(( $* )) |
---|
208 | }' |
---|
209 | else |
---|
210 | as_fn_arith () |
---|
211 | { |
---|
212 | as_val=`expr "$@" || test $? -eq 1` |
---|
213 | } |
---|
214 | fi # as_fn_arith |
---|
215 | |
---|
216 | |
---|
217 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
218 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
219 | as_expr=expr |
---|
220 | else |
---|
221 | as_expr=false |
---|
222 | fi |
---|
223 | |
---|
224 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
225 | as_basename=basename |
---|
226 | else |
---|
227 | as_basename=false |
---|
228 | fi |
---|
229 | |
---|
230 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
231 | as_dirname=dirname |
---|
232 | else |
---|
233 | as_dirname=false |
---|
234 | fi |
---|
235 | |
---|
236 | as_me=`$as_basename -- "$0" || |
---|
237 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
238 | X"$0" : 'X\(//\)$' \| \ |
---|
239 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
240 | $as_echo X/"$0" | |
---|
241 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
242 | s//\1/ |
---|
243 | q |
---|
244 | } |
---|
245 | /^X\/\(\/\/\)$/{ |
---|
246 | s//\1/ |
---|
247 | q |
---|
248 | } |
---|
249 | /^X\/\(\/\).*/{ |
---|
250 | s//\1/ |
---|
251 | q |
---|
252 | } |
---|
253 | s/.*/./; q'` |
---|
254 | |
---|
255 | # Avoid depending upon Character Ranges. |
---|
256 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
257 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
258 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
259 | as_cr_digits='0123456789' |
---|
260 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
261 | |
---|
262 | ECHO_C= ECHO_N= ECHO_T= |
---|
263 | case `echo -n x` in #((((( |
---|
264 | -n*) |
---|
265 | case `echo 'xy\c'` in |
---|
266 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
267 | xy) ECHO_C='\c';; |
---|
268 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
269 | ECHO_T=' ';; |
---|
270 | esac;; |
---|
271 | *) |
---|
272 | ECHO_N='-n';; |
---|
273 | esac |
---|
274 | |
---|
275 | rm -f conf$$ conf$$.exe conf$$.file |
---|
276 | if test -d conf$$.dir; then |
---|
277 | rm -f conf$$.dir/conf$$.file |
---|
278 | else |
---|
279 | rm -f conf$$.dir |
---|
280 | mkdir conf$$.dir 2>/dev/null |
---|
281 | fi |
---|
282 | if (echo >conf$$.file) 2>/dev/null; then |
---|
283 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
284 | as_ln_s='ln -s' |
---|
285 | # ... but there are two gotchas: |
---|
286 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
287 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
288 | # In both cases, we have to default to `cp -p'. |
---|
289 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
290 | as_ln_s='cp -p' |
---|
291 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
292 | as_ln_s=ln |
---|
293 | else |
---|
294 | as_ln_s='cp -p' |
---|
295 | fi |
---|
296 | else |
---|
297 | as_ln_s='cp -p' |
---|
298 | fi |
---|
299 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
300 | rmdir conf$$.dir 2>/dev/null |
---|
301 | |
---|
302 | |
---|
303 | # as_fn_mkdir_p |
---|
304 | # ------------- |
---|
305 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
306 | as_fn_mkdir_p () |
---|
307 | { |
---|
308 | |
---|
309 | case $as_dir in #( |
---|
310 | -*) as_dir=./$as_dir;; |
---|
311 | esac |
---|
312 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
313 | as_dirs= |
---|
314 | while :; do |
---|
315 | case $as_dir in #( |
---|
316 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
317 | *) as_qdir=$as_dir;; |
---|
318 | esac |
---|
319 | as_dirs="'$as_qdir' $as_dirs" |
---|
320 | as_dir=`$as_dirname -- "$as_dir" || |
---|
321 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
322 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
323 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
324 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
325 | $as_echo X"$as_dir" | |
---|
326 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
327 | s//\1/ |
---|
328 | q |
---|
329 | } |
---|
330 | /^X\(\/\/\)[^/].*/{ |
---|
331 | s//\1/ |
---|
332 | q |
---|
333 | } |
---|
334 | /^X\(\/\/\)$/{ |
---|
335 | s//\1/ |
---|
336 | q |
---|
337 | } |
---|
338 | /^X\(\/\).*/{ |
---|
339 | s//\1/ |
---|
340 | q |
---|
341 | } |
---|
342 | s/.*/./; q'` |
---|
343 | test -d "$as_dir" && break |
---|
344 | done |
---|
345 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
346 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
347 | |
---|
348 | |
---|
349 | } # as_fn_mkdir_p |
---|
350 | if mkdir -p . 2>/dev/null; then |
---|
351 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
352 | else |
---|
353 | test -d ./-p && rmdir ./-p |
---|
354 | as_mkdir_p=false |
---|
355 | fi |
---|
356 | |
---|
357 | if test -x / >/dev/null 2>&1; then |
---|
358 | as_test_x='test -x' |
---|
359 | else |
---|
360 | if ls -dL / >/dev/null 2>&1; then |
---|
361 | as_ls_L_option=L |
---|
362 | else |
---|
363 | as_ls_L_option= |
---|
364 | fi |
---|
365 | as_test_x=' |
---|
366 | eval sh -c '\'' |
---|
367 | if test -d "$1"; then |
---|
368 | test -d "$1/."; |
---|
369 | else |
---|
370 | case $1 in #( |
---|
371 | -*)set "./$1";; |
---|
372 | esac; |
---|
373 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
---|
374 | ???[sx]*):;;*)false;;esac;fi |
---|
375 | '\'' sh |
---|
376 | ' |
---|
377 | fi |
---|
378 | as_executable_p=$as_test_x |
---|
379 | |
---|
380 | # Sed expression to map a string onto a valid CPP name. |
---|
381 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
382 | |
---|
383 | # Sed expression to map a string onto a valid variable name. |
---|
384 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
385 | |
---|
386 | |
---|
387 | exec 6>&1 |
---|
388 | ## ----------------------------------- ## |
---|
389 | ## Main body of $CONFIG_STATUS script. ## |
---|
390 | ## ----------------------------------- ## |
---|
391 | # Save the log message, to keep $0 and so on meaningful, and to |
---|
392 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
393 | # values after options handling. |
---|
394 | ac_log=" |
---|
395 | This file was extended by cfa-cc $as_me 1.0, which was |
---|
396 | generated by GNU Autoconf 2.68. Invocation command line was |
---|
397 | |
---|
398 | CONFIG_FILES = $CONFIG_FILES |
---|
399 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
400 | CONFIG_LINKS = $CONFIG_LINKS |
---|
401 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
402 | $ $0 $@ |
---|
403 | |
---|
404 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
405 | " |
---|
406 | |
---|
407 | # Files that config.status was made for. |
---|
408 | config_files=" Makefile translator/Makefile driver/Makefile libcfa/Makefile" |
---|
409 | config_headers=" config.h" |
---|
410 | config_commands=" depfiles" |
---|
411 | |
---|
412 | ac_cs_usage="\ |
---|
413 | \`$as_me' instantiates files and other configuration actions |
---|
414 | from templates according to the current configuration. Unless the files |
---|
415 | and actions are specified as TAGs, all are instantiated by default. |
---|
416 | |
---|
417 | Usage: $0 [OPTION]... [TAG]... |
---|
418 | |
---|
419 | -h, --help print this help, then exit |
---|
420 | -V, --version print version number and configuration settings, then exit |
---|
421 | --config print configuration, then exit |
---|
422 | -q, --quiet, --silent |
---|
423 | do not print progress messages |
---|
424 | -d, --debug don't remove temporary files |
---|
425 | --recheck update $as_me by reconfiguring in the same conditions |
---|
426 | --file=FILE[:TEMPLATE] |
---|
427 | instantiate the configuration file FILE |
---|
428 | --header=FILE[:TEMPLATE] |
---|
429 | instantiate the configuration header FILE |
---|
430 | |
---|
431 | Configuration files: |
---|
432 | $config_files |
---|
433 | |
---|
434 | Configuration headers: |
---|
435 | $config_headers |
---|
436 | |
---|
437 | Configuration commands: |
---|
438 | $config_commands |
---|
439 | |
---|
440 | Report bugs to <cforall@plg.uwaterloo.ca>." |
---|
441 | |
---|
442 | ac_cs_config="'--prefix=/u/pabuhr/software/cfa/cfa-cc'" |
---|
443 | ac_cs_version="\ |
---|
444 | cfa-cc config.status 1.0 |
---|
445 | configured by ./configure, generated by GNU Autoconf 2.68, |
---|
446 | with options \"$ac_cs_config\" |
---|
447 | |
---|
448 | Copyright (C) 2010 Free Software Foundation, Inc. |
---|
449 | This config.status script is free software; the Free Software Foundation |
---|
450 | gives unlimited permission to copy, distribute and modify it." |
---|
451 | |
---|
452 | ac_pwd='/u/pabuhr/software/cfa/cfa-cc' |
---|
453 | srcdir='.' |
---|
454 | INSTALL='/usr/bin/install -c' |
---|
455 | MKDIR_P='/bin/mkdir -p' |
---|
456 | AWK='gawk' |
---|
457 | test -n "$AWK" || AWK=awk |
---|
458 | # The default lists apply if the user does not specify any file. |
---|
459 | ac_need_defaults=: |
---|
460 | while test $# != 0 |
---|
461 | do |
---|
462 | case $1 in |
---|
463 | --*=?*) |
---|
464 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
465 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
466 | ac_shift=: |
---|
467 | ;; |
---|
468 | --*=) |
---|
469 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
470 | ac_optarg= |
---|
471 | ac_shift=: |
---|
472 | ;; |
---|
473 | *) |
---|
474 | ac_option=$1 |
---|
475 | ac_optarg=$2 |
---|
476 | ac_shift=shift |
---|
477 | ;; |
---|
478 | esac |
---|
479 | |
---|
480 | case $ac_option in |
---|
481 | # Handling of the options. |
---|
482 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
483 | ac_cs_recheck=: ;; |
---|
484 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
485 | $as_echo "$ac_cs_version"; exit ;; |
---|
486 | --config | --confi | --conf | --con | --co | --c ) |
---|
487 | $as_echo "$ac_cs_config"; exit ;; |
---|
488 | --debug | --debu | --deb | --de | --d | -d ) |
---|
489 | debug=: ;; |
---|
490 | --file | --fil | --fi | --f ) |
---|
491 | $ac_shift |
---|
492 | case $ac_optarg in |
---|
493 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
494 | '') as_fn_error $? "missing file argument" ;; |
---|
495 | esac |
---|
496 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
---|
497 | ac_need_defaults=false;; |
---|
498 | --header | --heade | --head | --hea ) |
---|
499 | $ac_shift |
---|
500 | case $ac_optarg in |
---|
501 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
502 | esac |
---|
503 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
---|
504 | ac_need_defaults=false;; |
---|
505 | --he | --h) |
---|
506 | # Conflict between --help and --header |
---|
507 | as_fn_error $? "ambiguous option: \`$1' |
---|
508 | Try \`$0 --help' for more information.";; |
---|
509 | --help | --hel | -h ) |
---|
510 | $as_echo "$ac_cs_usage"; exit ;; |
---|
511 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
512 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
513 | ac_cs_silent=: ;; |
---|
514 | |
---|
515 | # This is an error. |
---|
516 | -*) as_fn_error $? "unrecognized option: \`$1' |
---|
517 | Try \`$0 --help' for more information." ;; |
---|
518 | |
---|
519 | *) as_fn_append ac_config_targets " $1" |
---|
520 | ac_need_defaults=false ;; |
---|
521 | |
---|
522 | esac |
---|
523 | shift |
---|
524 | done |
---|
525 | |
---|
526 | ac_configure_extra_args= |
---|
527 | |
---|
528 | if $ac_cs_silent; then |
---|
529 | exec 6>/dev/null |
---|
530 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
531 | fi |
---|
532 | |
---|
533 | if $ac_cs_recheck; then |
---|
534 | set X '/bin/bash' './configure' '--prefix=/u/pabuhr/software/cfa/cfa-cc' $ac_configure_extra_args --no-create --no-recursion |
---|
535 | shift |
---|
536 | $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 |
---|
537 | CONFIG_SHELL='/bin/bash' |
---|
538 | export CONFIG_SHELL |
---|
539 | exec "$@" |
---|
540 | fi |
---|
541 | |
---|
542 | exec 5>>config.log |
---|
543 | { |
---|
544 | echo |
---|
545 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
546 | ## Running $as_me. ## |
---|
547 | _ASBOX |
---|
548 | $as_echo "$ac_log" |
---|
549 | } >&5 |
---|
550 | |
---|
551 | # |
---|
552 | # INIT-COMMANDS |
---|
553 | # |
---|
554 | AMDEP_TRUE="" ac_aux_dir="." |
---|
555 | |
---|
556 | |
---|
557 | # Handling of arguments. |
---|
558 | for ac_config_target in $ac_config_targets |
---|
559 | do |
---|
560 | case $ac_config_target in |
---|
561 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
562 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
563 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
564 | "translator/Makefile") CONFIG_FILES="$CONFIG_FILES translator/Makefile" ;; |
---|
565 | "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;; |
---|
566 | "libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES libcfa/Makefile" ;; |
---|
567 | |
---|
568 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
---|
569 | esac |
---|
570 | done |
---|
571 | |
---|
572 | |
---|
573 | # If the user did not use the arguments to specify the items to instantiate, |
---|
574 | # then the envvar interface is used. Set only those that are not. |
---|
575 | # We use the long form for the default assignment because of an extremely |
---|
576 | # bizarre bug on SunOS 4.1.3. |
---|
577 | if $ac_need_defaults; then |
---|
578 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
579 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
580 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
581 | fi |
---|
582 | |
---|
583 | # Have a temporary directory for convenience. Make it in the build tree |
---|
584 | # simply because there is no reason against having it here, and in addition, |
---|
585 | # creating and moving files from /tmp can sometimes cause problems. |
---|
586 | # Hook for its removal unless debugging. |
---|
587 | # Note that there is a small window in which the directory will not be cleaned: |
---|
588 | # after its creation but before its name has been assigned to `$tmp'. |
---|
589 | $debug || |
---|
590 | { |
---|
591 | tmp= ac_tmp= |
---|
592 | trap 'exit_status=$? |
---|
593 | : "${ac_tmp:=$tmp}" |
---|
594 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
---|
595 | ' 0 |
---|
596 | trap 'as_fn_exit 1' 1 2 13 15 |
---|
597 | } |
---|
598 | # Create a (secure) tmp directory for tmp files. |
---|
599 | |
---|
600 | { |
---|
601 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
602 | test -d "$tmp" |
---|
603 | } || |
---|
604 | { |
---|
605 | tmp=./conf$$-$RANDOM |
---|
606 | (umask 077 && mkdir "$tmp") |
---|
607 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
---|
608 | ac_tmp=$tmp |
---|
609 | |
---|
610 | # Set up the scripts for CONFIG_FILES section. |
---|
611 | # No need to generate them if there are no CONFIG_FILES. |
---|
612 | # This happens for instance with `./config.status config.h'. |
---|
613 | if test -n "$CONFIG_FILES"; then |
---|
614 | |
---|
615 | |
---|
616 | ac_cr=`echo X | tr X '\015'` |
---|
617 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
---|
618 | # But we know of no other shell where ac_cr would be empty at this |
---|
619 | # point, so we can use a bashism as a fallback. |
---|
620 | if test "x$ac_cr" = x; then |
---|
621 | eval ac_cr=\$\'\\r\' |
---|
622 | fi |
---|
623 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
624 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
625 | ac_cs_awk_cr='\\r' |
---|
626 | else |
---|
627 | ac_cs_awk_cr=$ac_cr |
---|
628 | fi |
---|
629 | |
---|
630 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
---|
631 | cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && |
---|
632 | S["am__EXEEXT_FALSE"]="" |
---|
633 | S["am__EXEEXT_TRUE"]="#" |
---|
634 | S["LTLIBOBJS"]="" |
---|
635 | S["LIBOBJS"]="" |
---|
636 | S["CFA_LIBDIR"]="/u/pabuhr/software/cfa/cfa-cc/lib" |
---|
637 | S["CFA_BINDIR"]="/u/pabuhr/software/cfa/cfa-cc/bin" |
---|
638 | S["CFA_INCDIR"]="/u/pabuhr/software/cfa/cfa-cc/include" |
---|
639 | S["CFA_PREFIX"]="/u/pabuhr/software/cfa/cfa-cc" |
---|
640 | S["CPP_PATH"]="/usr/bin/cpp" |
---|
641 | S["BACKEND_CC"]="/u/pabuhr/bin/gcc" |
---|
642 | S["GCC_PATH"]="/u/pabuhr/bin/gcc" |
---|
643 | S["preludedir"]="/u/pabuhr/software/cfa/cfa-cc/share/cfa" |
---|
644 | S["EGREP"]="/bin/grep -E" |
---|
645 | S["GREP"]="/bin/grep" |
---|
646 | S["CPP"]="gcc -E" |
---|
647 | S["LEXLIB"]="-lfl" |
---|
648 | S["LEX_OUTPUT_ROOT"]="lex.yy" |
---|
649 | S["LEX"]="flex" |
---|
650 | S["am__fastdepCC_FALSE"]="" |
---|
651 | S["am__fastdepCC_TRUE"]="#" |
---|
652 | S["CCDEPMODE"]="depmode=none" |
---|
653 | S["ac_ct_CC"]="gcc" |
---|
654 | S["CFLAGS"]="-g -O2" |
---|
655 | S["CC"]="gcc" |
---|
656 | S["am__fastdepCXX_FALSE"]="" |
---|
657 | S["am__fastdepCXX_TRUE"]="#" |
---|
658 | S["CXXDEPMODE"]="depmode=none" |
---|
659 | S["am__nodep"]="_no" |
---|
660 | S["AMDEPBACKSLASH"]="\\" |
---|
661 | S["AMDEP_FALSE"]="#" |
---|
662 | S["AMDEP_TRUE"]="" |
---|
663 | S["am__quote"]="" |
---|
664 | S["am__include"]="include" |
---|
665 | S["DEPDIR"]=".deps" |
---|
666 | S["OBJEXT"]="o" |
---|
667 | S["EXEEXT"]="" |
---|
668 | S["ac_ct_CXX"]="g++" |
---|
669 | S["CPPFLAGS"]="" |
---|
670 | S["LDFLAGS"]="" |
---|
671 | S["CXXFLAGS"]="-g -O2" |
---|
672 | S["CXX"]="g++" |
---|
673 | S["YFLAGS"]="" |
---|
674 | S["YACC"]="bison -y" |
---|
675 | S["am__untar"]="$${TAR-tar} xf -" |
---|
676 | S["am__tar"]="$${TAR-tar} chof - \"$$tardir\"" |
---|
677 | S["AMTAR"]="$${TAR-tar}" |
---|
678 | S["am__leading_dot"]="." |
---|
679 | S["SET_MAKE"]="" |
---|
680 | S["AWK"]="gawk" |
---|
681 | S["mkdir_p"]="/bin/mkdir -p" |
---|
682 | S["MKDIR_P"]="/bin/mkdir -p" |
---|
683 | S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" |
---|
684 | S["STRIP"]="" |
---|
685 | S["install_sh"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/install-sh" |
---|
686 | S["MAKEINFO"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run makeinfo" |
---|
687 | S["AUTOHEADER"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoheader" |
---|
688 | S["AUTOMAKE"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run automake-1.11" |
---|
689 | S["AUTOCONF"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoconf" |
---|
690 | S["ACLOCAL"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run aclocal-1.11" |
---|
691 | S["VERSION"]="1.0" |
---|
692 | S["PACKAGE"]="cfa" |
---|
693 | S["CYGPATH_W"]="echo" |
---|
694 | S["am__isrc"]="" |
---|
695 | S["INSTALL_DATA"]="${INSTALL} -m 644" |
---|
696 | S["INSTALL_SCRIPT"]="${INSTALL}" |
---|
697 | S["INSTALL_PROGRAM"]="${INSTALL}" |
---|
698 | S["target_alias"]="" |
---|
699 | S["host_alias"]="" |
---|
700 | S["build_alias"]="" |
---|
701 | S["LIBS"]="" |
---|
702 | S["ECHO_T"]="" |
---|
703 | S["ECHO_N"]="-n" |
---|
704 | S["ECHO_C"]="" |
---|
705 | S["DEFS"]="-DHAVE_CONFIG_H" |
---|
706 | S["mandir"]="${datarootdir}/man" |
---|
707 | S["localedir"]="${datarootdir}/locale" |
---|
708 | S["libdir"]="${exec_prefix}/lib" |
---|
709 | S["psdir"]="${docdir}" |
---|
710 | S["pdfdir"]="${docdir}" |
---|
711 | S["dvidir"]="${docdir}" |
---|
712 | S["htmldir"]="${docdir}" |
---|
713 | S["infodir"]="${datarootdir}/info" |
---|
714 | S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" |
---|
715 | S["oldincludedir"]="/usr/include" |
---|
716 | S["includedir"]="${prefix}/include" |
---|
717 | S["localstatedir"]="${prefix}/var" |
---|
718 | S["sharedstatedir"]="${prefix}/com" |
---|
719 | S["sysconfdir"]="${prefix}/etc" |
---|
720 | S["datadir"]="${datarootdir}" |
---|
721 | S["datarootdir"]="${prefix}/share" |
---|
722 | S["libexecdir"]="${exec_prefix}/libexec" |
---|
723 | S["sbindir"]="${exec_prefix}/sbin" |
---|
724 | S["bindir"]="${exec_prefix}/bin" |
---|
725 | S["program_transform_name"]="s,x,x," |
---|
726 | S["prefix"]="/u/pabuhr/software/cfa/cfa-cc" |
---|
727 | S["exec_prefix"]="${prefix}" |
---|
728 | S["PACKAGE_URL"]="" |
---|
729 | S["PACKAGE_BUGREPORT"]="cforall@plg.uwaterloo.ca" |
---|
730 | S["PACKAGE_STRING"]="cfa-cc 1.0" |
---|
731 | S["PACKAGE_VERSION"]="1.0" |
---|
732 | S["PACKAGE_TARNAME"]="cfa-cc" |
---|
733 | S["PACKAGE_NAME"]="cfa-cc" |
---|
734 | S["PATH_SEPARATOR"]=":" |
---|
735 | S["SHELL"]="/bin/bash" |
---|
736 | _ACAWK |
---|
737 | cat >>"$ac_tmp/subs1.awk" <<_ACAWK && |
---|
738 | for (key in S) S_is_set[key] = 1 |
---|
739 | FS = "" |
---|
740 | |
---|
741 | } |
---|
742 | { |
---|
743 | line = $ 0 |
---|
744 | nfields = split(line, field, "@") |
---|
745 | substed = 0 |
---|
746 | len = length(field[1]) |
---|
747 | for (i = 2; i < nfields; i++) { |
---|
748 | key = field[i] |
---|
749 | keylen = length(key) |
---|
750 | if (S_is_set[key]) { |
---|
751 | value = S[key] |
---|
752 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
753 | len += length(value) + length(field[++i]) |
---|
754 | substed = 1 |
---|
755 | } else |
---|
756 | len += 1 + keylen |
---|
757 | } |
---|
758 | |
---|
759 | print line |
---|
760 | } |
---|
761 | |
---|
762 | _ACAWK |
---|
763 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
764 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
765 | else |
---|
766 | cat |
---|
767 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
---|
768 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
---|
769 | fi # test -n "$CONFIG_FILES" |
---|
770 | |
---|
771 | # Set up the scripts for CONFIG_HEADERS section. |
---|
772 | # No need to generate them if there are no CONFIG_HEADERS. |
---|
773 | # This happens for instance with `./config.status Makefile'. |
---|
774 | if test -n "$CONFIG_HEADERS"; then |
---|
775 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
---|
776 | BEGIN { |
---|
777 | D["PACKAGE_NAME"]=" \"cfa-cc\"" |
---|
778 | D["PACKAGE_TARNAME"]=" \"cfa-cc\"" |
---|
779 | D["PACKAGE_VERSION"]=" \"1.0\"" |
---|
780 | D["PACKAGE_STRING"]=" \"cfa-cc 1.0\"" |
---|
781 | D["PACKAGE_BUGREPORT"]=" \"cforall@plg.uwaterloo.ca\"" |
---|
782 | D["PACKAGE_URL"]=" \"\"" |
---|
783 | D["PACKAGE"]=" \"cfa\"" |
---|
784 | D["VERSION"]=" \"1.0\"" |
---|
785 | D["YYTEXT_POINTER"]=" 1" |
---|
786 | D["STDC_HEADERS"]=" 1" |
---|
787 | D["HAVE_SYS_TYPES_H"]=" 1" |
---|
788 | D["HAVE_SYS_STAT_H"]=" 1" |
---|
789 | D["HAVE_STDLIB_H"]=" 1" |
---|
790 | D["HAVE_STRING_H"]=" 1" |
---|
791 | D["HAVE_MEMORY_H"]=" 1" |
---|
792 | D["HAVE_STRINGS_H"]=" 1" |
---|
793 | D["HAVE_INTTYPES_H"]=" 1" |
---|
794 | D["HAVE_STDINT_H"]=" 1" |
---|
795 | D["HAVE_UNISTD_H"]=" 1" |
---|
796 | D["HAVE_MALLOC_H"]=" 1" |
---|
797 | D["HAVE_UNISTD_H"]=" 1" |
---|
798 | D["GCC_PATH"]=" \"/u/pabuhr/bin/gcc\"" |
---|
799 | D["CPP_PATH"]=" \"/usr/bin/cpp\"" |
---|
800 | D["CFA_PREFIX"]=" \"/u/pabuhr/software/cfa/cfa-cc\"" |
---|
801 | D["CFA_INCDIR"]=" \"/u/pabuhr/software/cfa/cfa-cc/include\"" |
---|
802 | D["CFA_BINDIR"]=" \"/u/pabuhr/software/cfa/cfa-cc/bin\"" |
---|
803 | D["CFA_LIBDIR"]=" \"/u/pabuhr/software/cfa/cfa-cc/lib\"" |
---|
804 | for (key in D) D_is_set[key] = 1 |
---|
805 | FS = "" |
---|
806 | } |
---|
807 | /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { |
---|
808 | line = $ 0 |
---|
809 | split(line, arg, " ") |
---|
810 | if (arg[1] == "#") { |
---|
811 | defundef = arg[2] |
---|
812 | mac1 = arg[3] |
---|
813 | } else { |
---|
814 | defundef = substr(arg[1], 2) |
---|
815 | mac1 = arg[2] |
---|
816 | } |
---|
817 | split(mac1, mac2, "(") #) |
---|
818 | macro = mac2[1] |
---|
819 | prefix = substr(line, 1, index(line, defundef) - 1) |
---|
820 | if (D_is_set[macro]) { |
---|
821 | # Preserve the white space surrounding the "#". |
---|
822 | print prefix "define", macro P[macro] D[macro] |
---|
823 | next |
---|
824 | } else { |
---|
825 | # Replace #undef with comments. This is necessary, for example, |
---|
826 | # in the case of _POSIX_SOURCE, which is predefined and required |
---|
827 | # on some systems where configure will not decide to define it. |
---|
828 | if (defundef == "undef") { |
---|
829 | print "/*", prefix defundef, macro, "*/" |
---|
830 | next |
---|
831 | } |
---|
832 | } |
---|
833 | } |
---|
834 | { print } |
---|
835 | _ACAWK |
---|
836 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
---|
837 | fi # test -n "$CONFIG_HEADERS" |
---|
838 | |
---|
839 | |
---|
840 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
---|
841 | shift |
---|
842 | for ac_tag |
---|
843 | do |
---|
844 | case $ac_tag in |
---|
845 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
846 | esac |
---|
847 | case $ac_mode$ac_tag in |
---|
848 | :[FHL]*:*);; |
---|
849 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
---|
850 | :[FH]-) ac_tag=-:-;; |
---|
851 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
852 | esac |
---|
853 | ac_save_IFS=$IFS |
---|
854 | IFS=: |
---|
855 | set x $ac_tag |
---|
856 | IFS=$ac_save_IFS |
---|
857 | shift |
---|
858 | ac_file=$1 |
---|
859 | shift |
---|
860 | |
---|
861 | case $ac_mode in |
---|
862 | :L) ac_source=$1;; |
---|
863 | :[FH]) |
---|
864 | ac_file_inputs= |
---|
865 | for ac_f |
---|
866 | do |
---|
867 | case $ac_f in |
---|
868 | -) ac_f="$ac_tmp/stdin";; |
---|
869 | *) # Look for the file first in the build tree, then in the source tree |
---|
870 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
871 | # because $ac_f cannot contain `:'. |
---|
872 | test -f "$ac_f" || |
---|
873 | case $ac_f in |
---|
874 | [\\/$]*) false;; |
---|
875 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
876 | esac || |
---|
877 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
---|
878 | esac |
---|
879 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
880 | as_fn_append ac_file_inputs " '$ac_f'" |
---|
881 | done |
---|
882 | |
---|
883 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
884 | # use $as_me), people would be surprised to read: |
---|
885 | # /* config.h. Generated by config.status. */ |
---|
886 | configure_input='Generated from '` |
---|
887 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
888 | `' by configure.' |
---|
889 | if test x"$ac_file" != x-; then |
---|
890 | configure_input="$ac_file. $configure_input" |
---|
891 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
---|
892 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
893 | fi |
---|
894 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
895 | case $configure_input in #( |
---|
896 | *\&* | *\|* | *\\* ) |
---|
897 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
898 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
899 | *) ac_sed_conf_input=$configure_input;; |
---|
900 | esac |
---|
901 | |
---|
902 | case $ac_tag in |
---|
903 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
---|
904 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
---|
905 | esac |
---|
906 | ;; |
---|
907 | esac |
---|
908 | |
---|
909 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
910 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
911 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
912 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
913 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
914 | $as_echo X"$ac_file" | |
---|
915 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
916 | s//\1/ |
---|
917 | q |
---|
918 | } |
---|
919 | /^X\(\/\/\)[^/].*/{ |
---|
920 | s//\1/ |
---|
921 | q |
---|
922 | } |
---|
923 | /^X\(\/\/\)$/{ |
---|
924 | s//\1/ |
---|
925 | q |
---|
926 | } |
---|
927 | /^X\(\/\).*/{ |
---|
928 | s//\1/ |
---|
929 | q |
---|
930 | } |
---|
931 | s/.*/./; q'` |
---|
932 | as_dir="$ac_dir"; as_fn_mkdir_p |
---|
933 | ac_builddir=. |
---|
934 | |
---|
935 | case "$ac_dir" in |
---|
936 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
937 | *) |
---|
938 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
939 | # A ".." for each directory in $ac_dir_suffix. |
---|
940 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
941 | case $ac_top_builddir_sub in |
---|
942 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
943 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
944 | esac ;; |
---|
945 | esac |
---|
946 | ac_abs_top_builddir=$ac_pwd |
---|
947 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
948 | # for backward compatibility: |
---|
949 | ac_top_builddir=$ac_top_build_prefix |
---|
950 | |
---|
951 | case $srcdir in |
---|
952 | .) # We are building in place. |
---|
953 | ac_srcdir=. |
---|
954 | ac_top_srcdir=$ac_top_builddir_sub |
---|
955 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
956 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
957 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
958 | ac_top_srcdir=$srcdir |
---|
959 | ac_abs_top_srcdir=$srcdir ;; |
---|
960 | *) # Relative name. |
---|
961 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
962 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
963 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
964 | esac |
---|
965 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
966 | |
---|
967 | |
---|
968 | case $ac_mode in |
---|
969 | :F) |
---|
970 | # |
---|
971 | # CONFIG_FILE |
---|
972 | # |
---|
973 | |
---|
974 | case $INSTALL in |
---|
975 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
976 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
977 | esac |
---|
978 | ac_MKDIR_P=$MKDIR_P |
---|
979 | case $MKDIR_P in |
---|
980 | [\\/$]* | ?:[\\/]* ) ;; |
---|
981 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
---|
982 | esac |
---|
983 | # If the template does not know about datarootdir, expand it. |
---|
984 | # FIXME: This hack should be removed a few years after 2.60. |
---|
985 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
986 | ac_sed_dataroot=' |
---|
987 | /datarootdir/ { |
---|
988 | p |
---|
989 | q |
---|
990 | } |
---|
991 | /@datadir@/p |
---|
992 | /@docdir@/p |
---|
993 | /@infodir@/p |
---|
994 | /@localedir@/p |
---|
995 | /@mandir@/p' |
---|
996 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
997 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
998 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
999 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
1000 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
1001 | ac_datarootdir_hack=' |
---|
1002 | s&@datadir@&${datarootdir}&g |
---|
1003 | s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g |
---|
1004 | s&@infodir@&${datarootdir}/info&g |
---|
1005 | s&@localedir@&${datarootdir}/locale&g |
---|
1006 | s&@mandir@&${datarootdir}/man&g |
---|
1007 | s&\${datarootdir}&${prefix}/share&g' ;; |
---|
1008 | esac |
---|
1009 | ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ |
---|
1010 | h |
---|
1011 | s/// |
---|
1012 | s/^/:/ |
---|
1013 | s/[ ]*$/:/ |
---|
1014 | s/:\$(srcdir):/:/g |
---|
1015 | s/:\${srcdir}:/:/g |
---|
1016 | s/:@srcdir@:/:/g |
---|
1017 | s/^:*// |
---|
1018 | s/:*$// |
---|
1019 | x |
---|
1020 | s/\(=[ ]*\).*/\1/ |
---|
1021 | G |
---|
1022 | s/\n// |
---|
1023 | s/^[^=]*=[ ]*$// |
---|
1024 | } |
---|
1025 | |
---|
1026 | :t |
---|
1027 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
1028 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
1029 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
1030 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
1031 | s&@srcdir@&$ac_srcdir&;t t |
---|
1032 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
1033 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
1034 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
1035 | s&@builddir@&$ac_builddir&;t t |
---|
1036 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
1037 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
1038 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
1039 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
---|
1040 | $ac_datarootdir_hack |
---|
1041 | " |
---|
1042 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
---|
1043 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
1044 | |
---|
1045 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
1046 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
---|
1047 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
---|
1048 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
---|
1049 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
1050 | which seems to be undefined. Please make sure it is defined" >&5 |
---|
1051 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
1052 | which seems to be undefined. Please make sure it is defined" >&2;} |
---|
1053 | |
---|
1054 | rm -f "$ac_tmp/stdin" |
---|
1055 | case $ac_file in |
---|
1056 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
---|
1057 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
---|
1058 | esac \ |
---|
1059 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
1060 | ;; |
---|
1061 | :H) |
---|
1062 | # |
---|
1063 | # CONFIG_HEADER |
---|
1064 | # |
---|
1065 | if test x"$ac_file" != x-; then |
---|
1066 | { |
---|
1067 | $as_echo "/* $configure_input */" \ |
---|
1068 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
---|
1069 | } >"$ac_tmp/config.h" \ |
---|
1070 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
1071 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
---|
1072 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
---|
1073 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
---|
1074 | else |
---|
1075 | rm -f "$ac_file" |
---|
1076 | mv "$ac_tmp/config.h" "$ac_file" \ |
---|
1077 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
1078 | fi |
---|
1079 | else |
---|
1080 | $as_echo "/* $configure_input */" \ |
---|
1081 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
---|
1082 | || as_fn_error $? "could not create -" "$LINENO" 5 |
---|
1083 | fi |
---|
1084 | # Compute "$ac_file"'s index in $config_headers. |
---|
1085 | _am_arg="$ac_file" |
---|
1086 | _am_stamp_count=1 |
---|
1087 | for _am_header in $config_headers :; do |
---|
1088 | case $_am_header in |
---|
1089 | $_am_arg | $_am_arg:* ) |
---|
1090 | break ;; |
---|
1091 | * ) |
---|
1092 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
---|
1093 | esac |
---|
1094 | done |
---|
1095 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
---|
1096 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1097 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
---|
1098 | X"$_am_arg" : 'X\(//\)$' \| \ |
---|
1099 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
---|
1100 | $as_echo X"$_am_arg" | |
---|
1101 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
1102 | s//\1/ |
---|
1103 | q |
---|
1104 | } |
---|
1105 | /^X\(\/\/\)[^/].*/{ |
---|
1106 | s//\1/ |
---|
1107 | q |
---|
1108 | } |
---|
1109 | /^X\(\/\/\)$/{ |
---|
1110 | s//\1/ |
---|
1111 | q |
---|
1112 | } |
---|
1113 | /^X\(\/\).*/{ |
---|
1114 | s//\1/ |
---|
1115 | q |
---|
1116 | } |
---|
1117 | s/.*/./; q'`/stamp-h$_am_stamp_count |
---|
1118 | ;; |
---|
1119 | |
---|
1120 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
---|
1121 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
---|
1122 | ;; |
---|
1123 | esac |
---|
1124 | |
---|
1125 | |
---|
1126 | case $ac_file$ac_mode in |
---|
1127 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
---|
1128 | # Autoconf 2.62 quotes --file arguments for eval, but not when files |
---|
1129 | # are listed without --file. Let's play safe and only enable the eval |
---|
1130 | # if we detect the quoting. |
---|
1131 | case $CONFIG_FILES in |
---|
1132 | *\'*) eval set x "$CONFIG_FILES" ;; |
---|
1133 | *) set x $CONFIG_FILES ;; |
---|
1134 | esac |
---|
1135 | shift |
---|
1136 | for mf |
---|
1137 | do |
---|
1138 | # Strip MF so we end up with the name of the file. |
---|
1139 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
1140 | # Check whether this is an Automake generated Makefile or not. |
---|
1141 | # We used to match only the files named `Makefile.in', but |
---|
1142 | # some people rename them; so instead we look at the file content. |
---|
1143 | # Grep'ing the first line is not enough: some people post-process |
---|
1144 | # each Makefile.in and add a new line on top of each file to say so. |
---|
1145 | # Grep'ing the whole file is not good either: AIX grep has a line |
---|
1146 | # limit of 2048, but all sed's we know have understand at least 4000. |
---|
1147 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
---|
1148 | dirpart=`$as_dirname -- "$mf" || |
---|
1149 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1150 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
1151 | X"$mf" : 'X\(//\)$' \| \ |
---|
1152 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
---|
1153 | $as_echo X"$mf" | |
---|
1154 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
1155 | s//\1/ |
---|
1156 | q |
---|
1157 | } |
---|
1158 | /^X\(\/\/\)[^/].*/{ |
---|
1159 | s//\1/ |
---|
1160 | q |
---|
1161 | } |
---|
1162 | /^X\(\/\/\)$/{ |
---|
1163 | s//\1/ |
---|
1164 | q |
---|
1165 | } |
---|
1166 | /^X\(\/\).*/{ |
---|
1167 | s//\1/ |
---|
1168 | q |
---|
1169 | } |
---|
1170 | s/.*/./; q'` |
---|
1171 | else |
---|
1172 | continue |
---|
1173 | fi |
---|
1174 | # Extract the definition of DEPDIR, am__include, and am__quote |
---|
1175 | # from the Makefile without running `make'. |
---|
1176 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
---|
1177 | test -z "$DEPDIR" && continue |
---|
1178 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
---|
1179 | test -z "am__include" && continue |
---|
1180 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
---|
1181 | # When using ansi2knr, U may be empty or an underscore; expand it |
---|
1182 | U=`sed -n 's/^U = //p' < "$mf"` |
---|
1183 | # Find all dependency output files, they are included files with |
---|
1184 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
---|
1185 | # simplest approach to changing $(DEPDIR) to its actual value in the |
---|
1186 | # expansion. |
---|
1187 | for file in `sed -n " |
---|
1188 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
---|
1189 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
---|
1190 | # Make sure the directory exists. |
---|
1191 | test -f "$dirpart/$file" && continue |
---|
1192 | fdir=`$as_dirname -- "$file" || |
---|
1193 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1194 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
1195 | X"$file" : 'X\(//\)$' \| \ |
---|
1196 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
---|
1197 | $as_echo X"$file" | |
---|
1198 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
1199 | s//\1/ |
---|
1200 | q |
---|
1201 | } |
---|
1202 | /^X\(\/\/\)[^/].*/{ |
---|
1203 | s//\1/ |
---|
1204 | q |
---|
1205 | } |
---|
1206 | /^X\(\/\/\)$/{ |
---|
1207 | s//\1/ |
---|
1208 | q |
---|
1209 | } |
---|
1210 | /^X\(\/\).*/{ |
---|
1211 | s//\1/ |
---|
1212 | q |
---|
1213 | } |
---|
1214 | s/.*/./; q'` |
---|
1215 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
---|
1216 | # echo "creating $dirpart/$file" |
---|
1217 | echo '# dummy' > "$dirpart/$file" |
---|
1218 | done |
---|
1219 | done |
---|
1220 | } |
---|
1221 | ;; |
---|
1222 | |
---|
1223 | esac |
---|
1224 | done # for ac_tag |
---|
1225 | |
---|
1226 | |
---|
1227 | as_fn_exit 0 |
---|