1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.69 for vmdshow 0.1. |
---|
4 | # |
---|
5 | # Report bugs to <rappture@nanohub.org>. |
---|
6 | # |
---|
7 | # |
---|
8 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
---|
9 | # |
---|
10 | # |
---|
11 | # This configure script is free software; the Free Software Foundation |
---|
12 | # gives unlimited permission to copy, distribute and modify it. |
---|
13 | ## -------------------- ## |
---|
14 | ## M4sh Initialization. ## |
---|
15 | ## -------------------- ## |
---|
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 | # Use a proper internal environment variable to ensure we don't fall |
---|
138 | # into an infinite loop, continuously re-executing ourselves. |
---|
139 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
---|
140 | _as_can_reexec=no; export _as_can_reexec; |
---|
141 | # We cannot yet assume a decent shell, so we have to provide a |
---|
142 | # neutralization value for shells without unset; and this also |
---|
143 | # works around shells that cannot unset nonexistent variables. |
---|
144 | # Preserve -v and -x to the replacement shell. |
---|
145 | BASH_ENV=/dev/null |
---|
146 | ENV=/dev/null |
---|
147 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
148 | case $- in # (((( |
---|
149 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
150 | *v* ) as_opts=-v ;; |
---|
151 | *x* ) as_opts=-x ;; |
---|
152 | * ) as_opts= ;; |
---|
153 | esac |
---|
154 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
---|
155 | # Admittedly, this is quite paranoid, since all the known shells bail |
---|
156 | # out after a failed `exec'. |
---|
157 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
---|
158 | as_fn_exit 255 |
---|
159 | fi |
---|
160 | # We don't want this to propagate to other subprocesses. |
---|
161 | { _as_can_reexec=; unset _as_can_reexec;} |
---|
162 | if test "x$CONFIG_SHELL" = x; then |
---|
163 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
---|
164 | emulate sh |
---|
165 | NULLCMD=: |
---|
166 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
---|
167 | # is contrary to our usage. Disable this feature. |
---|
168 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
---|
169 | setopt NO_GLOB_SUBST |
---|
170 | else |
---|
171 | case \`(set -o) 2>/dev/null\` in #( |
---|
172 | *posix*) : |
---|
173 | set -o posix ;; #( |
---|
174 | *) : |
---|
175 | ;; |
---|
176 | esac |
---|
177 | fi |
---|
178 | " |
---|
179 | as_required="as_fn_return () { (exit \$1); } |
---|
180 | as_fn_success () { as_fn_return 0; } |
---|
181 | as_fn_failure () { as_fn_return 1; } |
---|
182 | as_fn_ret_success () { return 0; } |
---|
183 | as_fn_ret_failure () { return 1; } |
---|
184 | |
---|
185 | exitcode=0 |
---|
186 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
---|
187 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
---|
188 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
---|
189 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
---|
190 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
---|
191 | |
---|
192 | else |
---|
193 | exitcode=1; echo positional parameters were not saved. |
---|
194 | fi |
---|
195 | test x\$exitcode = x0 || exit 1 |
---|
196 | test -x / || exit 1" |
---|
197 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
---|
198 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
---|
199 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
---|
200 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" |
---|
201 | if (eval "$as_required") 2>/dev/null; then : |
---|
202 | as_have_required=yes |
---|
203 | else |
---|
204 | as_have_required=no |
---|
205 | fi |
---|
206 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
---|
207 | |
---|
208 | else |
---|
209 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
210 | as_found=false |
---|
211 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
212 | do |
---|
213 | IFS=$as_save_IFS |
---|
214 | test -z "$as_dir" && as_dir=. |
---|
215 | as_found=: |
---|
216 | case $as_dir in #( |
---|
217 | /*) |
---|
218 | for as_base in sh bash ksh sh5; do |
---|
219 | # Try only shells that exist, to save several forks. |
---|
220 | as_shell=$as_dir/$as_base |
---|
221 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
222 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
223 | CONFIG_SHELL=$as_shell as_have_required=yes |
---|
224 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
225 | break 2 |
---|
226 | fi |
---|
227 | fi |
---|
228 | done;; |
---|
229 | esac |
---|
230 | as_found=false |
---|
231 | done |
---|
232 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
---|
233 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
---|
234 | CONFIG_SHELL=$SHELL as_have_required=yes |
---|
235 | fi; } |
---|
236 | IFS=$as_save_IFS |
---|
237 | |
---|
238 | |
---|
239 | if test "x$CONFIG_SHELL" != x; then : |
---|
240 | export CONFIG_SHELL |
---|
241 | # We cannot yet assume a decent shell, so we have to provide a |
---|
242 | # neutralization value for shells without unset; and this also |
---|
243 | # works around shells that cannot unset nonexistent variables. |
---|
244 | # Preserve -v and -x to the replacement shell. |
---|
245 | BASH_ENV=/dev/null |
---|
246 | ENV=/dev/null |
---|
247 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
248 | case $- in # (((( |
---|
249 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
250 | *v* ) as_opts=-v ;; |
---|
251 | *x* ) as_opts=-x ;; |
---|
252 | * ) as_opts= ;; |
---|
253 | esac |
---|
254 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
---|
255 | # Admittedly, this is quite paranoid, since all the known shells bail |
---|
256 | # out after a failed `exec'. |
---|
257 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
---|
258 | exit 255 |
---|
259 | fi |
---|
260 | |
---|
261 | if test x$as_have_required = xno; then : |
---|
262 | $as_echo "$0: This script requires a shell more modern than all" |
---|
263 | $as_echo "$0: the shells that I found on your system." |
---|
264 | if test x${ZSH_VERSION+set} = xset ; then |
---|
265 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
---|
266 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
---|
267 | else |
---|
268 | $as_echo "$0: Please tell bug-autoconf@gnu.org and |
---|
269 | $0: rappture@nanohub.org about your system, including any |
---|
270 | $0: error possibly output before this message. Then install |
---|
271 | $0: a modern shell, or manually run the script under such a |
---|
272 | $0: shell if you do have one." |
---|
273 | fi |
---|
274 | exit 1 |
---|
275 | fi |
---|
276 | fi |
---|
277 | fi |
---|
278 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
279 | export SHELL |
---|
280 | # Unset more variables known to interfere with behavior of common tools. |
---|
281 | CLICOLOR_FORCE= GREP_OPTIONS= |
---|
282 | unset CLICOLOR_FORCE GREP_OPTIONS |
---|
283 | |
---|
284 | ## --------------------- ## |
---|
285 | ## M4sh Shell Functions. ## |
---|
286 | ## --------------------- ## |
---|
287 | # as_fn_unset VAR |
---|
288 | # --------------- |
---|
289 | # Portably unset VAR. |
---|
290 | as_fn_unset () |
---|
291 | { |
---|
292 | { eval $1=; unset $1;} |
---|
293 | } |
---|
294 | as_unset=as_fn_unset |
---|
295 | |
---|
296 | # as_fn_set_status STATUS |
---|
297 | # ----------------------- |
---|
298 | # Set $? to STATUS, without forking. |
---|
299 | as_fn_set_status () |
---|
300 | { |
---|
301 | return $1 |
---|
302 | } # as_fn_set_status |
---|
303 | |
---|
304 | # as_fn_exit STATUS |
---|
305 | # ----------------- |
---|
306 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
307 | as_fn_exit () |
---|
308 | { |
---|
309 | set +e |
---|
310 | as_fn_set_status $1 |
---|
311 | exit $1 |
---|
312 | } # as_fn_exit |
---|
313 | |
---|
314 | # as_fn_mkdir_p |
---|
315 | # ------------- |
---|
316 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
317 | as_fn_mkdir_p () |
---|
318 | { |
---|
319 | |
---|
320 | case $as_dir in #( |
---|
321 | -*) as_dir=./$as_dir;; |
---|
322 | esac |
---|
323 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
324 | as_dirs= |
---|
325 | while :; do |
---|
326 | case $as_dir in #( |
---|
327 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
328 | *) as_qdir=$as_dir;; |
---|
329 | esac |
---|
330 | as_dirs="'$as_qdir' $as_dirs" |
---|
331 | as_dir=`$as_dirname -- "$as_dir" || |
---|
332 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
333 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
334 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
335 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
336 | $as_echo X"$as_dir" | |
---|
337 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
338 | s//\1/ |
---|
339 | q |
---|
340 | } |
---|
341 | /^X\(\/\/\)[^/].*/{ |
---|
342 | s//\1/ |
---|
343 | q |
---|
344 | } |
---|
345 | /^X\(\/\/\)$/{ |
---|
346 | s//\1/ |
---|
347 | q |
---|
348 | } |
---|
349 | /^X\(\/\).*/{ |
---|
350 | s//\1/ |
---|
351 | q |
---|
352 | } |
---|
353 | s/.*/./; q'` |
---|
354 | test -d "$as_dir" && break |
---|
355 | done |
---|
356 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
357 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
358 | |
---|
359 | |
---|
360 | } # as_fn_mkdir_p |
---|
361 | |
---|
362 | # as_fn_executable_p FILE |
---|
363 | # ----------------------- |
---|
364 | # Test if FILE is an executable regular file. |
---|
365 | as_fn_executable_p () |
---|
366 | { |
---|
367 | test -f "$1" && test -x "$1" |
---|
368 | } # as_fn_executable_p |
---|
369 | # as_fn_append VAR VALUE |
---|
370 | # ---------------------- |
---|
371 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
372 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
373 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
374 | # implementations. |
---|
375 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
376 | eval 'as_fn_append () |
---|
377 | { |
---|
378 | eval $1+=\$2 |
---|
379 | }' |
---|
380 | else |
---|
381 | as_fn_append () |
---|
382 | { |
---|
383 | eval $1=\$$1\$2 |
---|
384 | } |
---|
385 | fi # as_fn_append |
---|
386 | |
---|
387 | # as_fn_arith ARG... |
---|
388 | # ------------------ |
---|
389 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
390 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
391 | # must be portable across $(()) and expr. |
---|
392 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
393 | eval 'as_fn_arith () |
---|
394 | { |
---|
395 | as_val=$(( $* )) |
---|
396 | }' |
---|
397 | else |
---|
398 | as_fn_arith () |
---|
399 | { |
---|
400 | as_val=`expr "$@" || test $? -eq 1` |
---|
401 | } |
---|
402 | fi # as_fn_arith |
---|
403 | |
---|
404 | |
---|
405 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
406 | # ---------------------------------------- |
---|
407 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
408 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
409 | # script with STATUS, using 1 if that was 0. |
---|
410 | as_fn_error () |
---|
411 | { |
---|
412 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
413 | if test "$4"; then |
---|
414 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
415 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
416 | fi |
---|
417 | $as_echo "$as_me: error: $2" >&2 |
---|
418 | as_fn_exit $as_status |
---|
419 | } # as_fn_error |
---|
420 | |
---|
421 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
422 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
423 | as_expr=expr |
---|
424 | else |
---|
425 | as_expr=false |
---|
426 | fi |
---|
427 | |
---|
428 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
429 | as_basename=basename |
---|
430 | else |
---|
431 | as_basename=false |
---|
432 | fi |
---|
433 | |
---|
434 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
435 | as_dirname=dirname |
---|
436 | else |
---|
437 | as_dirname=false |
---|
438 | fi |
---|
439 | |
---|
440 | as_me=`$as_basename -- "$0" || |
---|
441 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
442 | X"$0" : 'X\(//\)$' \| \ |
---|
443 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
444 | $as_echo X/"$0" | |
---|
445 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
446 | s//\1/ |
---|
447 | q |
---|
448 | } |
---|
449 | /^X\/\(\/\/\)$/{ |
---|
450 | s//\1/ |
---|
451 | q |
---|
452 | } |
---|
453 | /^X\/\(\/\).*/{ |
---|
454 | s//\1/ |
---|
455 | q |
---|
456 | } |
---|
457 | s/.*/./; q'` |
---|
458 | |
---|
459 | # Avoid depending upon Character Ranges. |
---|
460 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
461 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
462 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
463 | as_cr_digits='0123456789' |
---|
464 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
465 | |
---|
466 | |
---|
467 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
---|
468 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
---|
469 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
---|
470 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
---|
471 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
---|
472 | sed -n ' |
---|
473 | p |
---|
474 | /[$]LINENO/= |
---|
475 | ' <$as_myself | |
---|
476 | sed ' |
---|
477 | s/[$]LINENO.*/&-/ |
---|
478 | t lineno |
---|
479 | b |
---|
480 | :lineno |
---|
481 | N |
---|
482 | :loop |
---|
483 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
484 | t loop |
---|
485 | s/-\n.*// |
---|
486 | ' >$as_me.lineno && |
---|
487 | chmod +x "$as_me.lineno" || |
---|
488 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
---|
489 | |
---|
490 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
---|
491 | # already done that, so ensure we don't try to do so again and fall |
---|
492 | # in an infinite loop. This has already happened in practice. |
---|
493 | _as_can_reexec=no; export _as_can_reexec |
---|
494 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
495 | # (the dirname of $[0] is not the place where we might find the |
---|
496 | # original and so on. Autoconf is especially sensitive to this). |
---|
497 | . "./$as_me.lineno" |
---|
498 | # Exit status is that of the last command. |
---|
499 | exit |
---|
500 | } |
---|
501 | |
---|
502 | ECHO_C= ECHO_N= ECHO_T= |
---|
503 | case `echo -n x` in #((((( |
---|
504 | -n*) |
---|
505 | case `echo 'xy\c'` in |
---|
506 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
507 | xy) ECHO_C='\c';; |
---|
508 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
509 | ECHO_T=' ';; |
---|
510 | esac;; |
---|
511 | *) |
---|
512 | ECHO_N='-n';; |
---|
513 | esac |
---|
514 | |
---|
515 | rm -f conf$$ conf$$.exe conf$$.file |
---|
516 | if test -d conf$$.dir; then |
---|
517 | rm -f conf$$.dir/conf$$.file |
---|
518 | else |
---|
519 | rm -f conf$$.dir |
---|
520 | mkdir conf$$.dir 2>/dev/null |
---|
521 | fi |
---|
522 | if (echo >conf$$.file) 2>/dev/null; then |
---|
523 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
524 | as_ln_s='ln -s' |
---|
525 | # ... but there are two gotchas: |
---|
526 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
527 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
528 | # In both cases, we have to default to `cp -pR'. |
---|
529 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
530 | as_ln_s='cp -pR' |
---|
531 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
532 | as_ln_s=ln |
---|
533 | else |
---|
534 | as_ln_s='cp -pR' |
---|
535 | fi |
---|
536 | else |
---|
537 | as_ln_s='cp -pR' |
---|
538 | fi |
---|
539 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
540 | rmdir conf$$.dir 2>/dev/null |
---|
541 | |
---|
542 | if mkdir -p . 2>/dev/null; then |
---|
543 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
544 | else |
---|
545 | test -d ./-p && rmdir ./-p |
---|
546 | as_mkdir_p=false |
---|
547 | fi |
---|
548 | |
---|
549 | as_test_x='test -x' |
---|
550 | as_executable_p=as_fn_executable_p |
---|
551 | |
---|
552 | # Sed expression to map a string onto a valid CPP name. |
---|
553 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
554 | |
---|
555 | # Sed expression to map a string onto a valid variable name. |
---|
556 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
557 | |
---|
558 | |
---|
559 | test -n "$DJDIR" || exec 7<&0 </dev/null |
---|
560 | exec 6>&1 |
---|
561 | |
---|
562 | # Name of the host. |
---|
563 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
---|
564 | # so uname gets run too. |
---|
565 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
566 | |
---|
567 | # |
---|
568 | # Initializations. |
---|
569 | # |
---|
570 | ac_default_prefix=/usr/local |
---|
571 | ac_clean_files= |
---|
572 | ac_config_libobj_dir=. |
---|
573 | LIBOBJS= |
---|
574 | cross_compiling=no |
---|
575 | subdirs= |
---|
576 | MFLAGS= |
---|
577 | MAKEFLAGS= |
---|
578 | |
---|
579 | # Identity of this package. |
---|
580 | PACKAGE_NAME='vmdshow' |
---|
581 | PACKAGE_TARNAME='vmdshow' |
---|
582 | PACKAGE_VERSION='0.1' |
---|
583 | PACKAGE_STRING='vmdshow 0.1' |
---|
584 | PACKAGE_BUGREPORT='rappture@nanohub.org' |
---|
585 | PACKAGE_URL='' |
---|
586 | |
---|
587 | ac_subst_vars='LTLIBOBJS |
---|
588 | LIBOBJS |
---|
589 | STATSDIR |
---|
590 | LOGDIR |
---|
591 | MKDIR_P |
---|
592 | LN_S |
---|
593 | INSTALL_DATA |
---|
594 | INSTALL_SCRIPT |
---|
595 | INSTALL_PROGRAM |
---|
596 | target_alias |
---|
597 | host_alias |
---|
598 | build_alias |
---|
599 | LIBS |
---|
600 | ECHO_T |
---|
601 | ECHO_N |
---|
602 | ECHO_C |
---|
603 | DEFS |
---|
604 | mandir |
---|
605 | localedir |
---|
606 | libdir |
---|
607 | psdir |
---|
608 | pdfdir |
---|
609 | dvidir |
---|
610 | htmldir |
---|
611 | infodir |
---|
612 | docdir |
---|
613 | oldincludedir |
---|
614 | includedir |
---|
615 | localstatedir |
---|
616 | sharedstatedir |
---|
617 | sysconfdir |
---|
618 | datadir |
---|
619 | datarootdir |
---|
620 | libexecdir |
---|
621 | sbindir |
---|
622 | bindir |
---|
623 | program_transform_name |
---|
624 | prefix |
---|
625 | exec_prefix |
---|
626 | PACKAGE_URL |
---|
627 | PACKAGE_BUGREPORT |
---|
628 | PACKAGE_STRING |
---|
629 | PACKAGE_VERSION |
---|
630 | PACKAGE_TARNAME |
---|
631 | PACKAGE_NAME |
---|
632 | PATH_SEPARATOR |
---|
633 | SHELL' |
---|
634 | ac_subst_files='' |
---|
635 | ac_user_opts=' |
---|
636 | enable_option_checking |
---|
637 | with_statsdir |
---|
638 | with_logdir |
---|
639 | ' |
---|
640 | ac_precious_vars='build_alias |
---|
641 | host_alias |
---|
642 | target_alias' |
---|
643 | |
---|
644 | |
---|
645 | # Initialize some variables set by options. |
---|
646 | ac_init_help= |
---|
647 | ac_init_version=false |
---|
648 | ac_unrecognized_opts= |
---|
649 | ac_unrecognized_sep= |
---|
650 | # The variables have the same names as the options, with |
---|
651 | # dashes changed to underlines. |
---|
652 | cache_file=/dev/null |
---|
653 | exec_prefix=NONE |
---|
654 | no_create= |
---|
655 | no_recursion= |
---|
656 | prefix=NONE |
---|
657 | program_prefix=NONE |
---|
658 | program_suffix=NONE |
---|
659 | program_transform_name=s,x,x, |
---|
660 | silent= |
---|
661 | site= |
---|
662 | srcdir= |
---|
663 | verbose= |
---|
664 | x_includes=NONE |
---|
665 | x_libraries=NONE |
---|
666 | |
---|
667 | # Installation directory options. |
---|
668 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
669 | # and all the variables that are supposed to be based on exec_prefix |
---|
670 | # by default will actually change. |
---|
671 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
672 | # (The list follows the same order as the GNU Coding Standards.) |
---|
673 | bindir='${exec_prefix}/bin' |
---|
674 | sbindir='${exec_prefix}/sbin' |
---|
675 | libexecdir='${exec_prefix}/libexec' |
---|
676 | datarootdir='${prefix}/share' |
---|
677 | datadir='${datarootdir}' |
---|
678 | sysconfdir='${prefix}/etc' |
---|
679 | sharedstatedir='${prefix}/com' |
---|
680 | localstatedir='${prefix}/var' |
---|
681 | includedir='${prefix}/include' |
---|
682 | oldincludedir='/usr/include' |
---|
683 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
684 | infodir='${datarootdir}/info' |
---|
685 | htmldir='${docdir}' |
---|
686 | dvidir='${docdir}' |
---|
687 | pdfdir='${docdir}' |
---|
688 | psdir='${docdir}' |
---|
689 | libdir='${exec_prefix}/lib' |
---|
690 | localedir='${datarootdir}/locale' |
---|
691 | mandir='${datarootdir}/man' |
---|
692 | |
---|
693 | ac_prev= |
---|
694 | ac_dashdash= |
---|
695 | for ac_option |
---|
696 | do |
---|
697 | # If the previous option needs an argument, assign it. |
---|
698 | if test -n "$ac_prev"; then |
---|
699 | eval $ac_prev=\$ac_option |
---|
700 | ac_prev= |
---|
701 | continue |
---|
702 | fi |
---|
703 | |
---|
704 | case $ac_option in |
---|
705 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
706 | *=) ac_optarg= ;; |
---|
707 | *) ac_optarg=yes ;; |
---|
708 | esac |
---|
709 | |
---|
710 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
711 | |
---|
712 | case $ac_dashdash$ac_option in |
---|
713 | --) |
---|
714 | ac_dashdash=yes ;; |
---|
715 | |
---|
716 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
717 | ac_prev=bindir ;; |
---|
718 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
719 | bindir=$ac_optarg ;; |
---|
720 | |
---|
721 | -build | --build | --buil | --bui | --bu) |
---|
722 | ac_prev=build_alias ;; |
---|
723 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
724 | build_alias=$ac_optarg ;; |
---|
725 | |
---|
726 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
727 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
728 | ac_prev=cache_file ;; |
---|
729 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
730 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
731 | cache_file=$ac_optarg ;; |
---|
732 | |
---|
733 | --config-cache | -C) |
---|
734 | cache_file=config.cache ;; |
---|
735 | |
---|
736 | -datadir | --datadir | --datadi | --datad) |
---|
737 | ac_prev=datadir ;; |
---|
738 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
739 | datadir=$ac_optarg ;; |
---|
740 | |
---|
741 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
742 | | --dataroo | --dataro | --datar) |
---|
743 | ac_prev=datarootdir ;; |
---|
744 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
745 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
746 | datarootdir=$ac_optarg ;; |
---|
747 | |
---|
748 | -disable-* | --disable-*) |
---|
749 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
750 | # Reject names that are not valid shell variable names. |
---|
751 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
752 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
753 | ac_useropt_orig=$ac_useropt |
---|
754 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
755 | case $ac_user_opts in |
---|
756 | *" |
---|
757 | "enable_$ac_useropt" |
---|
758 | "*) ;; |
---|
759 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
760 | ac_unrecognized_sep=', ';; |
---|
761 | esac |
---|
762 | eval enable_$ac_useropt=no ;; |
---|
763 | |
---|
764 | -docdir | --docdir | --docdi | --doc | --do) |
---|
765 | ac_prev=docdir ;; |
---|
766 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
767 | docdir=$ac_optarg ;; |
---|
768 | |
---|
769 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
770 | ac_prev=dvidir ;; |
---|
771 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
772 | dvidir=$ac_optarg ;; |
---|
773 | |
---|
774 | -enable-* | --enable-*) |
---|
775 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
776 | # Reject names that are not valid shell variable names. |
---|
777 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
778 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
779 | ac_useropt_orig=$ac_useropt |
---|
780 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
781 | case $ac_user_opts in |
---|
782 | *" |
---|
783 | "enable_$ac_useropt" |
---|
784 | "*) ;; |
---|
785 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
786 | ac_unrecognized_sep=', ';; |
---|
787 | esac |
---|
788 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
789 | |
---|
790 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
791 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
792 | | --exec | --exe | --ex) |
---|
793 | ac_prev=exec_prefix ;; |
---|
794 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
795 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
796 | | --exec=* | --exe=* | --ex=*) |
---|
797 | exec_prefix=$ac_optarg ;; |
---|
798 | |
---|
799 | -gas | --gas | --ga | --g) |
---|
800 | # Obsolete; use --with-gas. |
---|
801 | with_gas=yes ;; |
---|
802 | |
---|
803 | -help | --help | --hel | --he | -h) |
---|
804 | ac_init_help=long ;; |
---|
805 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
806 | ac_init_help=recursive ;; |
---|
807 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
808 | ac_init_help=short ;; |
---|
809 | |
---|
810 | -host | --host | --hos | --ho) |
---|
811 | ac_prev=host_alias ;; |
---|
812 | -host=* | --host=* | --hos=* | --ho=*) |
---|
813 | host_alias=$ac_optarg ;; |
---|
814 | |
---|
815 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
816 | ac_prev=htmldir ;; |
---|
817 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
818 | | --ht=*) |
---|
819 | htmldir=$ac_optarg ;; |
---|
820 | |
---|
821 | -includedir | --includedir | --includedi | --included | --include \ |
---|
822 | | --includ | --inclu | --incl | --inc) |
---|
823 | ac_prev=includedir ;; |
---|
824 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
825 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
826 | includedir=$ac_optarg ;; |
---|
827 | |
---|
828 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
829 | ac_prev=infodir ;; |
---|
830 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
831 | infodir=$ac_optarg ;; |
---|
832 | |
---|
833 | -libdir | --libdir | --libdi | --libd) |
---|
834 | ac_prev=libdir ;; |
---|
835 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
836 | libdir=$ac_optarg ;; |
---|
837 | |
---|
838 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
839 | | --libexe | --libex | --libe) |
---|
840 | ac_prev=libexecdir ;; |
---|
841 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
842 | | --libexe=* | --libex=* | --libe=*) |
---|
843 | libexecdir=$ac_optarg ;; |
---|
844 | |
---|
845 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
846 | ac_prev=localedir ;; |
---|
847 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
848 | localedir=$ac_optarg ;; |
---|
849 | |
---|
850 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
851 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
852 | ac_prev=localstatedir ;; |
---|
853 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
854 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
855 | localstatedir=$ac_optarg ;; |
---|
856 | |
---|
857 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
858 | ac_prev=mandir ;; |
---|
859 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
860 | mandir=$ac_optarg ;; |
---|
861 | |
---|
862 | -nfp | --nfp | --nf) |
---|
863 | # Obsolete; use --without-fp. |
---|
864 | with_fp=no ;; |
---|
865 | |
---|
866 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
867 | | --no-cr | --no-c | -n) |
---|
868 | no_create=yes ;; |
---|
869 | |
---|
870 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
871 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
872 | no_recursion=yes ;; |
---|
873 | |
---|
874 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
875 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
876 | | --oldin | --oldi | --old | --ol | --o) |
---|
877 | ac_prev=oldincludedir ;; |
---|
878 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
879 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
880 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
881 | oldincludedir=$ac_optarg ;; |
---|
882 | |
---|
883 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
884 | ac_prev=prefix ;; |
---|
885 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
886 | prefix=$ac_optarg ;; |
---|
887 | |
---|
888 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
889 | | --program-pre | --program-pr | --program-p) |
---|
890 | ac_prev=program_prefix ;; |
---|
891 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
892 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
893 | program_prefix=$ac_optarg ;; |
---|
894 | |
---|
895 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
896 | | --program-suf | --program-su | --program-s) |
---|
897 | ac_prev=program_suffix ;; |
---|
898 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
899 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
900 | program_suffix=$ac_optarg ;; |
---|
901 | |
---|
902 | -program-transform-name | --program-transform-name \ |
---|
903 | | --program-transform-nam | --program-transform-na \ |
---|
904 | | --program-transform-n | --program-transform- \ |
---|
905 | | --program-transform | --program-transfor \ |
---|
906 | | --program-transfo | --program-transf \ |
---|
907 | | --program-trans | --program-tran \ |
---|
908 | | --progr-tra | --program-tr | --program-t) |
---|
909 | ac_prev=program_transform_name ;; |
---|
910 | -program-transform-name=* | --program-transform-name=* \ |
---|
911 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
912 | | --program-transform-n=* | --program-transform-=* \ |
---|
913 | | --program-transform=* | --program-transfor=* \ |
---|
914 | | --program-transfo=* | --program-transf=* \ |
---|
915 | | --program-trans=* | --program-tran=* \ |
---|
916 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
917 | program_transform_name=$ac_optarg ;; |
---|
918 | |
---|
919 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
920 | ac_prev=pdfdir ;; |
---|
921 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
922 | pdfdir=$ac_optarg ;; |
---|
923 | |
---|
924 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
925 | ac_prev=psdir ;; |
---|
926 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
927 | psdir=$ac_optarg ;; |
---|
928 | |
---|
929 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
930 | | -silent | --silent | --silen | --sile | --sil) |
---|
931 | silent=yes ;; |
---|
932 | |
---|
933 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
934 | ac_prev=sbindir ;; |
---|
935 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
936 | | --sbi=* | --sb=*) |
---|
937 | sbindir=$ac_optarg ;; |
---|
938 | |
---|
939 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
940 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
941 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
942 | | --sha | --sh) |
---|
943 | ac_prev=sharedstatedir ;; |
---|
944 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
945 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
946 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
947 | | --sha=* | --sh=*) |
---|
948 | sharedstatedir=$ac_optarg ;; |
---|
949 | |
---|
950 | -site | --site | --sit) |
---|
951 | ac_prev=site ;; |
---|
952 | -site=* | --site=* | --sit=*) |
---|
953 | site=$ac_optarg ;; |
---|
954 | |
---|
955 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
956 | ac_prev=srcdir ;; |
---|
957 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
958 | srcdir=$ac_optarg ;; |
---|
959 | |
---|
960 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
961 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
962 | ac_prev=sysconfdir ;; |
---|
963 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
964 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
965 | sysconfdir=$ac_optarg ;; |
---|
966 | |
---|
967 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
968 | ac_prev=target_alias ;; |
---|
969 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
970 | target_alias=$ac_optarg ;; |
---|
971 | |
---|
972 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
973 | verbose=yes ;; |
---|
974 | |
---|
975 | -version | --version | --versio | --versi | --vers | -V) |
---|
976 | ac_init_version=: ;; |
---|
977 | |
---|
978 | -with-* | --with-*) |
---|
979 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
980 | # Reject names that are not valid shell variable names. |
---|
981 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
982 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
983 | ac_useropt_orig=$ac_useropt |
---|
984 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
985 | case $ac_user_opts in |
---|
986 | *" |
---|
987 | "with_$ac_useropt" |
---|
988 | "*) ;; |
---|
989 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
990 | ac_unrecognized_sep=', ';; |
---|
991 | esac |
---|
992 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
993 | |
---|
994 | -without-* | --without-*) |
---|
995 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
996 | # Reject names that are not valid shell variable names. |
---|
997 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
998 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
999 | ac_useropt_orig=$ac_useropt |
---|
1000 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1001 | case $ac_user_opts in |
---|
1002 | *" |
---|
1003 | "with_$ac_useropt" |
---|
1004 | "*) ;; |
---|
1005 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
1006 | ac_unrecognized_sep=', ';; |
---|
1007 | esac |
---|
1008 | eval with_$ac_useropt=no ;; |
---|
1009 | |
---|
1010 | --x) |
---|
1011 | # Obsolete; use --with-x. |
---|
1012 | with_x=yes ;; |
---|
1013 | |
---|
1014 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
1015 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
1016 | ac_prev=x_includes ;; |
---|
1017 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
1018 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
1019 | x_includes=$ac_optarg ;; |
---|
1020 | |
---|
1021 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
1022 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
1023 | ac_prev=x_libraries ;; |
---|
1024 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
1025 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
1026 | x_libraries=$ac_optarg ;; |
---|
1027 | |
---|
1028 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
---|
1029 | Try \`$0 --help' for more information" |
---|
1030 | ;; |
---|
1031 | |
---|
1032 | *=*) |
---|
1033 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
1034 | # Reject names that are not valid shell variable names. |
---|
1035 | case $ac_envvar in #( |
---|
1036 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
---|
1037 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
---|
1038 | esac |
---|
1039 | eval $ac_envvar=\$ac_optarg |
---|
1040 | export $ac_envvar ;; |
---|
1041 | |
---|
1042 | *) |
---|
1043 | # FIXME: should be removed in autoconf 3.0. |
---|
1044 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
1045 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
1046 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
1047 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
---|
1048 | ;; |
---|
1049 | |
---|
1050 | esac |
---|
1051 | done |
---|
1052 | |
---|
1053 | if test -n "$ac_prev"; then |
---|
1054 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
1055 | as_fn_error $? "missing argument to $ac_option" |
---|
1056 | fi |
---|
1057 | |
---|
1058 | if test -n "$ac_unrecognized_opts"; then |
---|
1059 | case $enable_option_checking in |
---|
1060 | no) ;; |
---|
1061 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
---|
1062 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
1063 | esac |
---|
1064 | fi |
---|
1065 | |
---|
1066 | # Check all directory arguments for consistency. |
---|
1067 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
1068 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
1069 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
1070 | libdir localedir mandir |
---|
1071 | do |
---|
1072 | eval ac_val=\$$ac_var |
---|
1073 | # Remove trailing slashes. |
---|
1074 | case $ac_val in |
---|
1075 | */ ) |
---|
1076 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
1077 | eval $ac_var=\$ac_val;; |
---|
1078 | esac |
---|
1079 | # Be sure to have absolute directory names. |
---|
1080 | case $ac_val in |
---|
1081 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
1082 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
1083 | esac |
---|
1084 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
---|
1085 | done |
---|
1086 | |
---|
1087 | # There might be people who depend on the old broken behavior: `$host' |
---|
1088 | # used to hold the argument of --host etc. |
---|
1089 | # FIXME: To remove some day. |
---|
1090 | build=$build_alias |
---|
1091 | host=$host_alias |
---|
1092 | target=$target_alias |
---|
1093 | |
---|
1094 | # FIXME: To remove some day. |
---|
1095 | if test "x$host_alias" != x; then |
---|
1096 | if test "x$build_alias" = x; then |
---|
1097 | cross_compiling=maybe |
---|
1098 | elif test "x$build_alias" != "x$host_alias"; then |
---|
1099 | cross_compiling=yes |
---|
1100 | fi |
---|
1101 | fi |
---|
1102 | |
---|
1103 | ac_tool_prefix= |
---|
1104 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
1105 | |
---|
1106 | test "$silent" = yes && exec 6>/dev/null |
---|
1107 | |
---|
1108 | |
---|
1109 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
1110 | ac_ls_di=`ls -di .` && |
---|
1111 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
1112 | as_fn_error $? "working directory cannot be determined" |
---|
1113 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
1114 | as_fn_error $? "pwd does not report name of working directory" |
---|
1115 | |
---|
1116 | |
---|
1117 | # Find the source files, if location was not specified. |
---|
1118 | if test -z "$srcdir"; then |
---|
1119 | ac_srcdir_defaulted=yes |
---|
1120 | # Try the directory containing this script, then the parent directory. |
---|
1121 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
1122 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1123 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
1124 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
1125 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
1126 | $as_echo X"$as_myself" | |
---|
1127 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
1128 | s//\1/ |
---|
1129 | q |
---|
1130 | } |
---|
1131 | /^X\(\/\/\)[^/].*/{ |
---|
1132 | s//\1/ |
---|
1133 | q |
---|
1134 | } |
---|
1135 | /^X\(\/\/\)$/{ |
---|
1136 | s//\1/ |
---|
1137 | q |
---|
1138 | } |
---|
1139 | /^X\(\/\).*/{ |
---|
1140 | s//\1/ |
---|
1141 | q |
---|
1142 | } |
---|
1143 | s/.*/./; q'` |
---|
1144 | srcdir=$ac_confdir |
---|
1145 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1146 | srcdir=.. |
---|
1147 | fi |
---|
1148 | else |
---|
1149 | ac_srcdir_defaulted=no |
---|
1150 | fi |
---|
1151 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1152 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
1153 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
---|
1154 | fi |
---|
1155 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
1156 | ac_abs_confdir=`( |
---|
1157 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
---|
1158 | pwd)` |
---|
1159 | # When building in place, set srcdir=. |
---|
1160 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
1161 | srcdir=. |
---|
1162 | fi |
---|
1163 | # Remove unnecessary trailing slashes from srcdir. |
---|
1164 | # Double slashes in file names in object file debugging info |
---|
1165 | # mess up M-x gdb in Emacs. |
---|
1166 | case $srcdir in |
---|
1167 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
1168 | esac |
---|
1169 | for ac_var in $ac_precious_vars; do |
---|
1170 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
1171 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
1172 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
1173 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
1174 | done |
---|
1175 | |
---|
1176 | # |
---|
1177 | # Report the --help message. |
---|
1178 | # |
---|
1179 | if test "$ac_init_help" = "long"; then |
---|
1180 | # Omit some internal or obsolete options to make the list less imposing. |
---|
1181 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
1182 | cat <<_ACEOF |
---|
1183 | \`configure' configures vmdshow 0.1 to adapt to many kinds of systems. |
---|
1184 | |
---|
1185 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
1186 | |
---|
1187 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
1188 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
1189 | |
---|
1190 | Defaults for the options are specified in brackets. |
---|
1191 | |
---|
1192 | Configuration: |
---|
1193 | -h, --help display this help and exit |
---|
1194 | --help=short display options specific to this package |
---|
1195 | --help=recursive display the short help of all the included packages |
---|
1196 | -V, --version display version information and exit |
---|
1197 | -q, --quiet, --silent do not print \`checking ...' messages |
---|
1198 | --cache-file=FILE cache test results in FILE [disabled] |
---|
1199 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
1200 | -n, --no-create do not create output files |
---|
1201 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
1202 | |
---|
1203 | Installation directories: |
---|
1204 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
1205 | [$ac_default_prefix] |
---|
1206 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
1207 | [PREFIX] |
---|
1208 | |
---|
1209 | By default, \`make install' will install all the files in |
---|
1210 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
1211 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
1212 | for instance \`--prefix=\$HOME'. |
---|
1213 | |
---|
1214 | For better control, use the options below. |
---|
1215 | |
---|
1216 | Fine tuning of the installation directories: |
---|
1217 | --bindir=DIR user executables [EPREFIX/bin] |
---|
1218 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
1219 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
1220 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
1221 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
1222 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
1223 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
1224 | --includedir=DIR C header files [PREFIX/include] |
---|
1225 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
1226 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
1227 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
1228 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
1229 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
1230 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
1231 | --docdir=DIR documentation root [DATAROOTDIR/doc/vmdshow] |
---|
1232 | --htmldir=DIR html documentation [DOCDIR] |
---|
1233 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
1234 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
1235 | --psdir=DIR ps documentation [DOCDIR] |
---|
1236 | _ACEOF |
---|
1237 | |
---|
1238 | cat <<\_ACEOF |
---|
1239 | _ACEOF |
---|
1240 | fi |
---|
1241 | |
---|
1242 | if test -n "$ac_init_help"; then |
---|
1243 | case $ac_init_help in |
---|
1244 | short | recursive ) echo "Configuration of vmdshow 0.1:";; |
---|
1245 | esac |
---|
1246 | cat <<\_ACEOF |
---|
1247 | |
---|
1248 | Optional Packages: |
---|
1249 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
1250 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
1251 | --with-statsdir=DIR Write statistics in DIR |
---|
1252 | --with-logdir=DIR Write log files in DIR |
---|
1253 | |
---|
1254 | Report bugs to <rappture@nanohub.org>. |
---|
1255 | _ACEOF |
---|
1256 | ac_status=$? |
---|
1257 | fi |
---|
1258 | |
---|
1259 | if test "$ac_init_help" = "recursive"; then |
---|
1260 | # If there are subdirs, report their specific --help. |
---|
1261 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
1262 | test -d "$ac_dir" || |
---|
1263 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
1264 | continue |
---|
1265 | ac_builddir=. |
---|
1266 | |
---|
1267 | case "$ac_dir" in |
---|
1268 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1269 | *) |
---|
1270 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
1271 | # A ".." for each directory in $ac_dir_suffix. |
---|
1272 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
1273 | case $ac_top_builddir_sub in |
---|
1274 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1275 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
1276 | esac ;; |
---|
1277 | esac |
---|
1278 | ac_abs_top_builddir=$ac_pwd |
---|
1279 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
1280 | # for backward compatibility: |
---|
1281 | ac_top_builddir=$ac_top_build_prefix |
---|
1282 | |
---|
1283 | case $srcdir in |
---|
1284 | .) # We are building in place. |
---|
1285 | ac_srcdir=. |
---|
1286 | ac_top_srcdir=$ac_top_builddir_sub |
---|
1287 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
1288 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
1289 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
1290 | ac_top_srcdir=$srcdir |
---|
1291 | ac_abs_top_srcdir=$srcdir ;; |
---|
1292 | *) # Relative name. |
---|
1293 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
1294 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
1295 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
1296 | esac |
---|
1297 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
1298 | |
---|
1299 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
1300 | # Check for guested configure. |
---|
1301 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
1302 | echo && |
---|
1303 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
1304 | elif test -f "$ac_srcdir/configure"; then |
---|
1305 | echo && |
---|
1306 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
1307 | else |
---|
1308 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
1309 | fi || ac_status=$? |
---|
1310 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
1311 | done |
---|
1312 | fi |
---|
1313 | |
---|
1314 | test -n "$ac_init_help" && exit $ac_status |
---|
1315 | if $ac_init_version; then |
---|
1316 | cat <<\_ACEOF |
---|
1317 | vmdshow configure 0.1 |
---|
1318 | generated by GNU Autoconf 2.69 |
---|
1319 | |
---|
1320 | Copyright (C) 2012 Free Software Foundation, Inc. |
---|
1321 | This configure script is free software; the Free Software Foundation |
---|
1322 | gives unlimited permission to copy, distribute and modify it. |
---|
1323 | _ACEOF |
---|
1324 | exit |
---|
1325 | fi |
---|
1326 | |
---|
1327 | ## ------------------------ ## |
---|
1328 | ## Autoconf initialization. ## |
---|
1329 | ## ------------------------ ## |
---|
1330 | cat >config.log <<_ACEOF |
---|
1331 | This file contains any messages produced by compilers while |
---|
1332 | running configure, to aid debugging if configure makes a mistake. |
---|
1333 | |
---|
1334 | It was created by vmdshow $as_me 0.1, which was |
---|
1335 | generated by GNU Autoconf 2.69. Invocation command line was |
---|
1336 | |
---|
1337 | $ $0 $@ |
---|
1338 | |
---|
1339 | _ACEOF |
---|
1340 | exec 5>>config.log |
---|
1341 | { |
---|
1342 | cat <<_ASUNAME |
---|
1343 | ## --------- ## |
---|
1344 | ## Platform. ## |
---|
1345 | ## --------- ## |
---|
1346 | |
---|
1347 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
1348 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
1349 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
1350 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
1351 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
1352 | |
---|
1353 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
1354 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
1355 | |
---|
1356 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
1357 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
1358 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
1359 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
1360 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
1361 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
1362 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
1363 | |
---|
1364 | _ASUNAME |
---|
1365 | |
---|
1366 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1367 | for as_dir in $PATH |
---|
1368 | do |
---|
1369 | IFS=$as_save_IFS |
---|
1370 | test -z "$as_dir" && as_dir=. |
---|
1371 | $as_echo "PATH: $as_dir" |
---|
1372 | done |
---|
1373 | IFS=$as_save_IFS |
---|
1374 | |
---|
1375 | } >&5 |
---|
1376 | |
---|
1377 | cat >&5 <<_ACEOF |
---|
1378 | |
---|
1379 | |
---|
1380 | ## ----------- ## |
---|
1381 | ## Core tests. ## |
---|
1382 | ## ----------- ## |
---|
1383 | |
---|
1384 | _ACEOF |
---|
1385 | |
---|
1386 | |
---|
1387 | # Keep a trace of the command line. |
---|
1388 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
1389 | # Strip out --silent because we don't want to record it for future runs. |
---|
1390 | # Also quote any args containing shell meta-characters. |
---|
1391 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
1392 | ac_configure_args= |
---|
1393 | ac_configure_args0= |
---|
1394 | ac_configure_args1= |
---|
1395 | ac_must_keep_next=false |
---|
1396 | for ac_pass in 1 2 |
---|
1397 | do |
---|
1398 | for ac_arg |
---|
1399 | do |
---|
1400 | case $ac_arg in |
---|
1401 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
1402 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1403 | | -silent | --silent | --silen | --sile | --sil) |
---|
1404 | continue ;; |
---|
1405 | *\'*) |
---|
1406 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1407 | esac |
---|
1408 | case $ac_pass in |
---|
1409 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
---|
1410 | 2) |
---|
1411 | as_fn_append ac_configure_args1 " '$ac_arg'" |
---|
1412 | if test $ac_must_keep_next = true; then |
---|
1413 | ac_must_keep_next=false # Got value, back to normal. |
---|
1414 | else |
---|
1415 | case $ac_arg in |
---|
1416 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
1417 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
1418 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
1419 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
1420 | case "$ac_configure_args0 " in |
---|
1421 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
1422 | esac |
---|
1423 | ;; |
---|
1424 | -* ) ac_must_keep_next=true ;; |
---|
1425 | esac |
---|
1426 | fi |
---|
1427 | as_fn_append ac_configure_args " '$ac_arg'" |
---|
1428 | ;; |
---|
1429 | esac |
---|
1430 | done |
---|
1431 | done |
---|
1432 | { ac_configure_args0=; unset ac_configure_args0;} |
---|
1433 | { ac_configure_args1=; unset ac_configure_args1;} |
---|
1434 | |
---|
1435 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
1436 | # config.log. We remove comments because anyway the quotes in there |
---|
1437 | # would cause problems or look ugly. |
---|
1438 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
1439 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
1440 | trap 'exit_status=$? |
---|
1441 | # Save into config.log some information that might help in debugging. |
---|
1442 | { |
---|
1443 | echo |
---|
1444 | |
---|
1445 | $as_echo "## ---------------- ## |
---|
1446 | ## Cache variables. ## |
---|
1447 | ## ---------------- ##" |
---|
1448 | echo |
---|
1449 | # The following way of writing the cache mishandles newlines in values, |
---|
1450 | ( |
---|
1451 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
1452 | eval ac_val=\$$ac_var |
---|
1453 | case $ac_val in #( |
---|
1454 | *${as_nl}*) |
---|
1455 | case $ac_var in #( |
---|
1456 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
1457 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
1458 | esac |
---|
1459 | case $ac_var in #( |
---|
1460 | _ | IFS | as_nl) ;; #( |
---|
1461 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
1462 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
1463 | esac ;; |
---|
1464 | esac |
---|
1465 | done |
---|
1466 | (set) 2>&1 | |
---|
1467 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
1468 | *${as_nl}ac_space=\ *) |
---|
1469 | sed -n \ |
---|
1470 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
1471 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
1472 | ;; #( |
---|
1473 | *) |
---|
1474 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
1475 | ;; |
---|
1476 | esac | |
---|
1477 | sort |
---|
1478 | ) |
---|
1479 | echo |
---|
1480 | |
---|
1481 | $as_echo "## ----------------- ## |
---|
1482 | ## Output variables. ## |
---|
1483 | ## ----------------- ##" |
---|
1484 | echo |
---|
1485 | for ac_var in $ac_subst_vars |
---|
1486 | do |
---|
1487 | eval ac_val=\$$ac_var |
---|
1488 | case $ac_val in |
---|
1489 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
1490 | esac |
---|
1491 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
1492 | done | sort |
---|
1493 | echo |
---|
1494 | |
---|
1495 | if test -n "$ac_subst_files"; then |
---|
1496 | $as_echo "## ------------------- ## |
---|
1497 | ## File substitutions. ## |
---|
1498 | ## ------------------- ##" |
---|
1499 | echo |
---|
1500 | for ac_var in $ac_subst_files |
---|
1501 | do |
---|
1502 | eval ac_val=\$$ac_var |
---|
1503 | case $ac_val in |
---|
1504 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
1505 | esac |
---|
1506 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
1507 | done | sort |
---|
1508 | echo |
---|
1509 | fi |
---|
1510 | |
---|
1511 | if test -s confdefs.h; then |
---|
1512 | $as_echo "## ----------- ## |
---|
1513 | ## confdefs.h. ## |
---|
1514 | ## ----------- ##" |
---|
1515 | echo |
---|
1516 | cat confdefs.h |
---|
1517 | echo |
---|
1518 | fi |
---|
1519 | test "$ac_signal" != 0 && |
---|
1520 | $as_echo "$as_me: caught signal $ac_signal" |
---|
1521 | $as_echo "$as_me: exit $exit_status" |
---|
1522 | } >&5 |
---|
1523 | rm -f core *.core core.conftest.* && |
---|
1524 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
1525 | exit $exit_status |
---|
1526 | ' 0 |
---|
1527 | for ac_signal in 1 2 13 15; do |
---|
1528 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
---|
1529 | done |
---|
1530 | ac_signal=0 |
---|
1531 | |
---|
1532 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
1533 | rm -f -r conftest* confdefs.h |
---|
1534 | |
---|
1535 | $as_echo "/* confdefs.h */" > confdefs.h |
---|
1536 | |
---|
1537 | # Predefined preprocessor variables. |
---|
1538 | |
---|
1539 | cat >>confdefs.h <<_ACEOF |
---|
1540 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
1541 | _ACEOF |
---|
1542 | |
---|
1543 | cat >>confdefs.h <<_ACEOF |
---|
1544 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
1545 | _ACEOF |
---|
1546 | |
---|
1547 | cat >>confdefs.h <<_ACEOF |
---|
1548 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
1549 | _ACEOF |
---|
1550 | |
---|
1551 | cat >>confdefs.h <<_ACEOF |
---|
1552 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
1553 | _ACEOF |
---|
1554 | |
---|
1555 | cat >>confdefs.h <<_ACEOF |
---|
1556 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
1557 | _ACEOF |
---|
1558 | |
---|
1559 | cat >>confdefs.h <<_ACEOF |
---|
1560 | #define PACKAGE_URL "$PACKAGE_URL" |
---|
1561 | _ACEOF |
---|
1562 | |
---|
1563 | |
---|
1564 | # Let the site file select an alternate cache file if it wants to. |
---|
1565 | # Prefer an explicitly selected file to automatically selected ones. |
---|
1566 | ac_site_file1=NONE |
---|
1567 | ac_site_file2=NONE |
---|
1568 | if test -n "$CONFIG_SITE"; then |
---|
1569 | # We do not want a PATH search for config.site. |
---|
1570 | case $CONFIG_SITE in #(( |
---|
1571 | -*) ac_site_file1=./$CONFIG_SITE;; |
---|
1572 | */*) ac_site_file1=$CONFIG_SITE;; |
---|
1573 | *) ac_site_file1=./$CONFIG_SITE;; |
---|
1574 | esac |
---|
1575 | elif test "x$prefix" != xNONE; then |
---|
1576 | ac_site_file1=$prefix/share/config.site |
---|
1577 | ac_site_file2=$prefix/etc/config.site |
---|
1578 | else |
---|
1579 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
1580 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
1581 | fi |
---|
1582 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
1583 | do |
---|
1584 | test "x$ac_site_file" = xNONE && continue |
---|
1585 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
---|
1586 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
---|
1587 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
1588 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
1589 | . "$ac_site_file" \ |
---|
1590 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
1591 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
1592 | as_fn_error $? "failed to load site script $ac_site_file |
---|
1593 | See \`config.log' for more details" "$LINENO" 5; } |
---|
1594 | fi |
---|
1595 | done |
---|
1596 | |
---|
1597 | if test -r "$cache_file"; then |
---|
1598 | # Some versions of bash will fail to source /dev/null (special files |
---|
1599 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
---|
1600 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
---|
1601 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
---|
1602 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
1603 | case $cache_file in |
---|
1604 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
1605 | *) . "./$cache_file";; |
---|
1606 | esac |
---|
1607 | fi |
---|
1608 | else |
---|
1609 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
---|
1610 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
1611 | >$cache_file |
---|
1612 | fi |
---|
1613 | |
---|
1614 | # Check that the precious variables saved in the cache have kept the same |
---|
1615 | # value. |
---|
1616 | ac_cache_corrupted=false |
---|
1617 | for ac_var in $ac_precious_vars; do |
---|
1618 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
1619 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
1620 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
1621 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
1622 | case $ac_old_set,$ac_new_set in |
---|
1623 | set,) |
---|
1624 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
1625 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
1626 | ac_cache_corrupted=: ;; |
---|
1627 | ,set) |
---|
1628 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
---|
1629 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
1630 | ac_cache_corrupted=: ;; |
---|
1631 | ,);; |
---|
1632 | *) |
---|
1633 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
1634 | # differences in whitespace do not lead to failure. |
---|
1635 | ac_old_val_w=`echo x $ac_old_val` |
---|
1636 | ac_new_val_w=`echo x $ac_new_val` |
---|
1637 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
1638 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
1639 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
1640 | ac_cache_corrupted=: |
---|
1641 | else |
---|
1642 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
1643 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
1644 | eval $ac_var=\$ac_old_val |
---|
1645 | fi |
---|
1646 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
---|
1647 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
1648 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
---|
1649 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
1650 | fi;; |
---|
1651 | esac |
---|
1652 | # Pass precious variables to config.status. |
---|
1653 | if test "$ac_new_set" = set; then |
---|
1654 | case $ac_new_val in |
---|
1655 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1656 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
1657 | esac |
---|
1658 | case " $ac_configure_args " in |
---|
1659 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
1660 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
---|
1661 | esac |
---|
1662 | fi |
---|
1663 | done |
---|
1664 | if $ac_cache_corrupted; then |
---|
1665 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
1666 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
1667 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
---|
1668 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
1669 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
---|
1670 | fi |
---|
1671 | ## -------------------- ## |
---|
1672 | ## Main body of script. ## |
---|
1673 | ## -------------------- ## |
---|
1674 | |
---|
1675 | ac_ext=c |
---|
1676 | ac_cpp='$CPP $CPPFLAGS' |
---|
1677 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1678 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1679 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1680 | |
---|
1681 | |
---|
1682 | ac_aux_dir= |
---|
1683 | for ac_dir in cf "$srcdir"/cf; do |
---|
1684 | if test -f "$ac_dir/install-sh"; then |
---|
1685 | ac_aux_dir=$ac_dir |
---|
1686 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
1687 | break |
---|
1688 | elif test -f "$ac_dir/install.sh"; then |
---|
1689 | ac_aux_dir=$ac_dir |
---|
1690 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
1691 | break |
---|
1692 | elif test -f "$ac_dir/shtool"; then |
---|
1693 | ac_aux_dir=$ac_dir |
---|
1694 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
1695 | break |
---|
1696 | fi |
---|
1697 | done |
---|
1698 | if test -z "$ac_aux_dir"; then |
---|
1699 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5 |
---|
1700 | fi |
---|
1701 | |
---|
1702 | # These three variables are undocumented and unsupported, |
---|
1703 | # and are intended to be withdrawn in a future Autoconf release. |
---|
1704 | # They can cause serious problems if a builder's source tree is in a directory |
---|
1705 | # whose full name contains unusual characters. |
---|
1706 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
1707 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
1708 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
1709 | |
---|
1710 | |
---|
1711 | |
---|
1712 | |
---|
1713 | # Check whether --with-statsdir was given. |
---|
1714 | if test "${with_statsdir+set}" = set; then : |
---|
1715 | withval=$with_statsdir; STATSDIR=$withval |
---|
1716 | else |
---|
1717 | STATSDIR="/var/tmp/visservers" |
---|
1718 | fi |
---|
1719 | |
---|
1720 | |
---|
1721 | |
---|
1722 | # Check whether --with-logdir was given. |
---|
1723 | if test "${with_logdir+set}" = set; then : |
---|
1724 | withval=$with_logdir; LOGDIR=$withval |
---|
1725 | else |
---|
1726 | LOGDIR="/tmp" |
---|
1727 | fi |
---|
1728 | |
---|
1729 | |
---|
1730 | #------------------------------------------------------------------------ |
---|
1731 | # Handle the --prefix=... option |
---|
1732 | #------------------------------------------------------------------------ |
---|
1733 | |
---|
1734 | if test "${prefix}" = "NONE"; then |
---|
1735 | prefix=/usr/local |
---|
1736 | fi |
---|
1737 | if test "${exec_prefix}" = "NONE"; then |
---|
1738 | exec_prefix=$prefix |
---|
1739 | fi |
---|
1740 | |
---|
1741 | # Find a good install program. We prefer a C program (faster), |
---|
1742 | # so one script is as good as another. But avoid the broken or |
---|
1743 | # incompatible versions: |
---|
1744 | # SysV /etc/install, /usr/sbin/install |
---|
1745 | # SunOS /usr/etc/install |
---|
1746 | # IRIX /sbin/install |
---|
1747 | # AIX /bin/install |
---|
1748 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
1749 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
1750 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
1751 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
1752 | # OS/2's system install, which has a completely different semantic |
---|
1753 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
1754 | # Reject install programs that cannot install multiple files. |
---|
1755 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
---|
1756 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
1757 | if test -z "$INSTALL"; then |
---|
1758 | if ${ac_cv_path_install+:} false; then : |
---|
1759 | $as_echo_n "(cached) " >&6 |
---|
1760 | else |
---|
1761 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1762 | for as_dir in $PATH |
---|
1763 | do |
---|
1764 | IFS=$as_save_IFS |
---|
1765 | test -z "$as_dir" && as_dir=. |
---|
1766 | # Account for people who put trailing slashes in PATH elements. |
---|
1767 | case $as_dir/ in #(( |
---|
1768 | ./ | .// | /[cC]/* | \ |
---|
1769 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
1770 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
---|
1771 | /usr/ucb/* ) ;; |
---|
1772 | *) |
---|
1773 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
1774 | # Don't use installbsd from OSF since it installs stuff as root |
---|
1775 | # by default. |
---|
1776 | for ac_prog in ginstall scoinst install; do |
---|
1777 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1778 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
---|
1779 | if test $ac_prog = install && |
---|
1780 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1781 | # AIX install. It has an incompatible calling convention. |
---|
1782 | : |
---|
1783 | elif test $ac_prog = install && |
---|
1784 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1785 | # program-specific install script used by HP pwplus--don't use. |
---|
1786 | : |
---|
1787 | else |
---|
1788 | rm -rf conftest.one conftest.two conftest.dir |
---|
1789 | echo one > conftest.one |
---|
1790 | echo two > conftest.two |
---|
1791 | mkdir conftest.dir |
---|
1792 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
1793 | test -s conftest.one && test -s conftest.two && |
---|
1794 | test -s conftest.dir/conftest.one && |
---|
1795 | test -s conftest.dir/conftest.two |
---|
1796 | then |
---|
1797 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
1798 | break 3 |
---|
1799 | fi |
---|
1800 | fi |
---|
1801 | fi |
---|
1802 | done |
---|
1803 | done |
---|
1804 | ;; |
---|
1805 | esac |
---|
1806 | |
---|
1807 | done |
---|
1808 | IFS=$as_save_IFS |
---|
1809 | |
---|
1810 | rm -rf conftest.one conftest.two conftest.dir |
---|
1811 | |
---|
1812 | fi |
---|
1813 | if test "${ac_cv_path_install+set}" = set; then |
---|
1814 | INSTALL=$ac_cv_path_install |
---|
1815 | else |
---|
1816 | # As a last resort, use the slow shell script. Don't cache a |
---|
1817 | # value for INSTALL within a source directory, because that will |
---|
1818 | # break other packages using the cache if that directory is |
---|
1819 | # removed, or if the value is a relative name. |
---|
1820 | INSTALL=$ac_install_sh |
---|
1821 | fi |
---|
1822 | fi |
---|
1823 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
---|
1824 | $as_echo "$INSTALL" >&6; } |
---|
1825 | |
---|
1826 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
1827 | # It thinks the first close brace ends the variable substitution. |
---|
1828 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
1829 | |
---|
1830 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
1831 | |
---|
1832 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
1833 | |
---|
1834 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
---|
1835 | $as_echo_n "checking whether ln -s works... " >&6; } |
---|
1836 | LN_S=$as_ln_s |
---|
1837 | if test "$LN_S" = "ln -s"; then |
---|
1838 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
1839 | $as_echo "yes" >&6; } |
---|
1840 | else |
---|
1841 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
---|
1842 | $as_echo "no, using $LN_S" >&6; } |
---|
1843 | fi |
---|
1844 | |
---|
1845 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
---|
1846 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
---|
1847 | if test -z "$MKDIR_P"; then |
---|
1848 | if ${ac_cv_path_mkdir+:} false; then : |
---|
1849 | $as_echo_n "(cached) " >&6 |
---|
1850 | else |
---|
1851 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1852 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
---|
1853 | do |
---|
1854 | IFS=$as_save_IFS |
---|
1855 | test -z "$as_dir" && as_dir=. |
---|
1856 | for ac_prog in mkdir gmkdir; do |
---|
1857 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1858 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
---|
1859 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
---|
1860 | 'mkdir (GNU coreutils) '* | \ |
---|
1861 | 'mkdir (coreutils) '* | \ |
---|
1862 | 'mkdir (fileutils) '4.1*) |
---|
1863 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
---|
1864 | break 3;; |
---|
1865 | esac |
---|
1866 | done |
---|
1867 | done |
---|
1868 | done |
---|
1869 | IFS=$as_save_IFS |
---|
1870 | |
---|
1871 | fi |
---|
1872 | |
---|
1873 | test -d ./--version && rmdir ./--version |
---|
1874 | if test "${ac_cv_path_mkdir+set}" = set; then |
---|
1875 | MKDIR_P="$ac_cv_path_mkdir -p" |
---|
1876 | else |
---|
1877 | # As a last resort, use the slow shell script. Don't cache a |
---|
1878 | # value for MKDIR_P within a source directory, because that will |
---|
1879 | # break other packages using the cache if that directory is |
---|
1880 | # removed, or if the value is a relative name. |
---|
1881 | MKDIR_P="$ac_install_sh -d" |
---|
1882 | fi |
---|
1883 | fi |
---|
1884 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
---|
1885 | $as_echo "$MKDIR_P" >&6; } |
---|
1886 | |
---|
1887 | |
---|
1888 | |
---|
1889 | |
---|
1890 | |
---|
1891 | ac_config_files="$ac_config_files Makefile" |
---|
1892 | |
---|
1893 | cat >confcache <<\_ACEOF |
---|
1894 | # This file is a shell script that caches the results of configure |
---|
1895 | # tests run on this system so they can be shared between configure |
---|
1896 | # scripts and configure runs, see configure's option --config-cache. |
---|
1897 | # It is not useful on other systems. If it contains results you don't |
---|
1898 | # want to keep, you may remove or edit it. |
---|
1899 | # |
---|
1900 | # config.status only pays attention to the cache file if you give it |
---|
1901 | # the --recheck option to rerun configure. |
---|
1902 | # |
---|
1903 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
1904 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
1905 | # following values. |
---|
1906 | |
---|
1907 | _ACEOF |
---|
1908 | |
---|
1909 | # The following way of writing the cache mishandles newlines in values, |
---|
1910 | # but we know of no workaround that is simple, portable, and efficient. |
---|
1911 | # So, we kill variables containing newlines. |
---|
1912 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
1913 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
1914 | ( |
---|
1915 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
1916 | eval ac_val=\$$ac_var |
---|
1917 | case $ac_val in #( |
---|
1918 | *${as_nl}*) |
---|
1919 | case $ac_var in #( |
---|
1920 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
1921 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
1922 | esac |
---|
1923 | case $ac_var in #( |
---|
1924 | _ | IFS | as_nl) ;; #( |
---|
1925 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
1926 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
1927 | esac ;; |
---|
1928 | esac |
---|
1929 | done |
---|
1930 | |
---|
1931 | (set) 2>&1 | |
---|
1932 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
1933 | *${as_nl}ac_space=\ *) |
---|
1934 | # `set' does not quote correctly, so add quotes: double-quote |
---|
1935 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
---|
1936 | sed -n \ |
---|
1937 | "s/'/'\\\\''/g; |
---|
1938 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
1939 | ;; #( |
---|
1940 | *) |
---|
1941 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
1942 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
1943 | ;; |
---|
1944 | esac | |
---|
1945 | sort |
---|
1946 | ) | |
---|
1947 | sed ' |
---|
1948 | /^ac_cv_env_/b end |
---|
1949 | t clear |
---|
1950 | :clear |
---|
1951 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
1952 | t end |
---|
1953 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
1954 | :end' >>confcache |
---|
1955 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
1956 | if test -w "$cache_file"; then |
---|
1957 | if test "x$cache_file" != "x/dev/null"; then |
---|
1958 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
---|
1959 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
1960 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
---|
1961 | cat confcache >"$cache_file" |
---|
1962 | else |
---|
1963 | case $cache_file in #( |
---|
1964 | */* | ?:*) |
---|
1965 | mv -f confcache "$cache_file"$$ && |
---|
1966 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
---|
1967 | *) |
---|
1968 | mv -f confcache "$cache_file" ;; |
---|
1969 | esac |
---|
1970 | fi |
---|
1971 | fi |
---|
1972 | else |
---|
1973 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
---|
1974 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
1975 | fi |
---|
1976 | fi |
---|
1977 | rm -f confcache |
---|
1978 | |
---|
1979 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
1980 | # Let make expand exec_prefix. |
---|
1981 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
1982 | |
---|
1983 | # Transform confdefs.h into DEFS. |
---|
1984 | # Protect against shell expansion while executing Makefile rules. |
---|
1985 | # Protect against Makefile macro expansion. |
---|
1986 | # |
---|
1987 | # If the first sed substitution is executed (which looks for macros that |
---|
1988 | # take arguments), then branch to the quote section. Otherwise, |
---|
1989 | # look for a macro that doesn't take arguments. |
---|
1990 | ac_script=' |
---|
1991 | :mline |
---|
1992 | /\\$/{ |
---|
1993 | N |
---|
1994 | s,\\\n,, |
---|
1995 | b mline |
---|
1996 | } |
---|
1997 | t clear |
---|
1998 | :clear |
---|
1999 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
---|
2000 | t quote |
---|
2001 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
---|
2002 | t quote |
---|
2003 | b any |
---|
2004 | :quote |
---|
2005 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
---|
2006 | s/\[/\\&/g |
---|
2007 | s/\]/\\&/g |
---|
2008 | s/\$/$$/g |
---|
2009 | H |
---|
2010 | :any |
---|
2011 | ${ |
---|
2012 | g |
---|
2013 | s/^\n// |
---|
2014 | s/\n/ /g |
---|
2015 | p |
---|
2016 | } |
---|
2017 | ' |
---|
2018 | DEFS=`sed -n "$ac_script" confdefs.h` |
---|
2019 | |
---|
2020 | |
---|
2021 | ac_libobjs= |
---|
2022 | ac_ltlibobjs= |
---|
2023 | U= |
---|
2024 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
2025 | # 1. Remove the extension, and $U if already installed. |
---|
2026 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
2027 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
2028 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
2029 | # will be set to the directory where LIBOBJS objects are built. |
---|
2030 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
2031 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
2032 | done |
---|
2033 | LIBOBJS=$ac_libobjs |
---|
2034 | |
---|
2035 | LTLIBOBJS=$ac_ltlibobjs |
---|
2036 | |
---|
2037 | |
---|
2038 | |
---|
2039 | : "${CONFIG_STATUS=./config.status}" |
---|
2040 | ac_write_fail=0 |
---|
2041 | ac_clean_files_save=$ac_clean_files |
---|
2042 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
2043 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
---|
2044 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
2045 | as_write_fail=0 |
---|
2046 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
---|
2047 | #! $SHELL |
---|
2048 | # Generated by $as_me. |
---|
2049 | # Run this file to recreate the current configuration. |
---|
2050 | # Compiler output produced by configure, useful for debugging |
---|
2051 | # configure, is in config.log if it exists. |
---|
2052 | |
---|
2053 | debug=false |
---|
2054 | ac_cs_recheck=false |
---|
2055 | ac_cs_silent=false |
---|
2056 | |
---|
2057 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
2058 | export SHELL |
---|
2059 | _ASEOF |
---|
2060 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
---|
2061 | ## -------------------- ## |
---|
2062 | ## M4sh Initialization. ## |
---|
2063 | ## -------------------- ## |
---|
2064 | |
---|
2065 | # Be more Bourne compatible |
---|
2066 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
2067 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
2068 | emulate sh |
---|
2069 | NULLCMD=: |
---|
2070 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
2071 | # is contrary to our usage. Disable this feature. |
---|
2072 | alias -g '${1+"$@"}'='"$@"' |
---|
2073 | setopt NO_GLOB_SUBST |
---|
2074 | else |
---|
2075 | case `(set -o) 2>/dev/null` in #( |
---|
2076 | *posix*) : |
---|
2077 | set -o posix ;; #( |
---|
2078 | *) : |
---|
2079 | ;; |
---|
2080 | esac |
---|
2081 | fi |
---|
2082 | |
---|
2083 | |
---|
2084 | as_nl=' |
---|
2085 | ' |
---|
2086 | export as_nl |
---|
2087 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
2088 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
2089 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
2090 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
2091 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
2092 | # but without wasting forks for bash or zsh. |
---|
2093 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
2094 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
2095 | as_echo='print -r --' |
---|
2096 | as_echo_n='print -rn --' |
---|
2097 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
2098 | as_echo='printf %s\n' |
---|
2099 | as_echo_n='printf %s' |
---|
2100 | else |
---|
2101 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
2102 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
2103 | as_echo_n='/usr/ucb/echo -n' |
---|
2104 | else |
---|
2105 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
2106 | as_echo_n_body='eval |
---|
2107 | arg=$1; |
---|
2108 | case $arg in #( |
---|
2109 | *"$as_nl"*) |
---|
2110 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
2111 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
2112 | esac; |
---|
2113 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
2114 | ' |
---|
2115 | export as_echo_n_body |
---|
2116 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
2117 | fi |
---|
2118 | export as_echo_body |
---|
2119 | as_echo='sh -c $as_echo_body as_echo' |
---|
2120 | fi |
---|
2121 | |
---|
2122 | # The user is always right. |
---|
2123 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
2124 | PATH_SEPARATOR=: |
---|
2125 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
2126 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
2127 | PATH_SEPARATOR=';' |
---|
2128 | } |
---|
2129 | fi |
---|
2130 | |
---|
2131 | |
---|
2132 | # IFS |
---|
2133 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
2134 | # there to prevent editors from complaining about space-tab. |
---|
2135 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
2136 | # splitting by setting IFS to empty value.) |
---|
2137 | IFS=" "" $as_nl" |
---|
2138 | |
---|
2139 | # Find who we are. Look in the path if we contain no directory separator. |
---|
2140 | as_myself= |
---|
2141 | case $0 in #(( |
---|
2142 | *[\\/]* ) as_myself=$0 ;; |
---|
2143 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2144 | for as_dir in $PATH |
---|
2145 | do |
---|
2146 | IFS=$as_save_IFS |
---|
2147 | test -z "$as_dir" && as_dir=. |
---|
2148 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
2149 | done |
---|
2150 | IFS=$as_save_IFS |
---|
2151 | |
---|
2152 | ;; |
---|
2153 | esac |
---|
2154 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
2155 | # in which case we are not to be found in the path. |
---|
2156 | if test "x$as_myself" = x; then |
---|
2157 | as_myself=$0 |
---|
2158 | fi |
---|
2159 | if test ! -f "$as_myself"; then |
---|
2160 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
2161 | exit 1 |
---|
2162 | fi |
---|
2163 | |
---|
2164 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
2165 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
2166 | # suppresses any "Segmentation fault" message there. '((' could |
---|
2167 | # trigger a bug in pdksh 5.2.14. |
---|
2168 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
2169 | do eval test x\${$as_var+set} = xset \ |
---|
2170 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
2171 | done |
---|
2172 | PS1='$ ' |
---|
2173 | PS2='> ' |
---|
2174 | PS4='+ ' |
---|
2175 | |
---|
2176 | # NLS nuisances. |
---|
2177 | LC_ALL=C |
---|
2178 | export LC_ALL |
---|
2179 | LANGUAGE=C |
---|
2180 | export LANGUAGE |
---|
2181 | |
---|
2182 | # CDPATH. |
---|
2183 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
2184 | |
---|
2185 | |
---|
2186 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
2187 | # ---------------------------------------- |
---|
2188 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
2189 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
2190 | # script with STATUS, using 1 if that was 0. |
---|
2191 | as_fn_error () |
---|
2192 | { |
---|
2193 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
2194 | if test "$4"; then |
---|
2195 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
2196 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
2197 | fi |
---|
2198 | $as_echo "$as_me: error: $2" >&2 |
---|
2199 | as_fn_exit $as_status |
---|
2200 | } # as_fn_error |
---|
2201 | |
---|
2202 | |
---|
2203 | # as_fn_set_status STATUS |
---|
2204 | # ----------------------- |
---|
2205 | # Set $? to STATUS, without forking. |
---|
2206 | as_fn_set_status () |
---|
2207 | { |
---|
2208 | return $1 |
---|
2209 | } # as_fn_set_status |
---|
2210 | |
---|
2211 | # as_fn_exit STATUS |
---|
2212 | # ----------------- |
---|
2213 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
2214 | as_fn_exit () |
---|
2215 | { |
---|
2216 | set +e |
---|
2217 | as_fn_set_status $1 |
---|
2218 | exit $1 |
---|
2219 | } # as_fn_exit |
---|
2220 | |
---|
2221 | # as_fn_unset VAR |
---|
2222 | # --------------- |
---|
2223 | # Portably unset VAR. |
---|
2224 | as_fn_unset () |
---|
2225 | { |
---|
2226 | { eval $1=; unset $1;} |
---|
2227 | } |
---|
2228 | as_unset=as_fn_unset |
---|
2229 | # as_fn_append VAR VALUE |
---|
2230 | # ---------------------- |
---|
2231 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
2232 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
2233 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
2234 | # implementations. |
---|
2235 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
2236 | eval 'as_fn_append () |
---|
2237 | { |
---|
2238 | eval $1+=\$2 |
---|
2239 | }' |
---|
2240 | else |
---|
2241 | as_fn_append () |
---|
2242 | { |
---|
2243 | eval $1=\$$1\$2 |
---|
2244 | } |
---|
2245 | fi # as_fn_append |
---|
2246 | |
---|
2247 | # as_fn_arith ARG... |
---|
2248 | # ------------------ |
---|
2249 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
2250 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
2251 | # must be portable across $(()) and expr. |
---|
2252 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
2253 | eval 'as_fn_arith () |
---|
2254 | { |
---|
2255 | as_val=$(( $* )) |
---|
2256 | }' |
---|
2257 | else |
---|
2258 | as_fn_arith () |
---|
2259 | { |
---|
2260 | as_val=`expr "$@" || test $? -eq 1` |
---|
2261 | } |
---|
2262 | fi # as_fn_arith |
---|
2263 | |
---|
2264 | |
---|
2265 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
2266 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
2267 | as_expr=expr |
---|
2268 | else |
---|
2269 | as_expr=false |
---|
2270 | fi |
---|
2271 | |
---|
2272 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
2273 | as_basename=basename |
---|
2274 | else |
---|
2275 | as_basename=false |
---|
2276 | fi |
---|
2277 | |
---|
2278 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
2279 | as_dirname=dirname |
---|
2280 | else |
---|
2281 | as_dirname=false |
---|
2282 | fi |
---|
2283 | |
---|
2284 | as_me=`$as_basename -- "$0" || |
---|
2285 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
2286 | X"$0" : 'X\(//\)$' \| \ |
---|
2287 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
2288 | $as_echo X/"$0" | |
---|
2289 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
2290 | s//\1/ |
---|
2291 | q |
---|
2292 | } |
---|
2293 | /^X\/\(\/\/\)$/{ |
---|
2294 | s//\1/ |
---|
2295 | q |
---|
2296 | } |
---|
2297 | /^X\/\(\/\).*/{ |
---|
2298 | s//\1/ |
---|
2299 | q |
---|
2300 | } |
---|
2301 | s/.*/./; q'` |
---|
2302 | |
---|
2303 | # Avoid depending upon Character Ranges. |
---|
2304 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
2305 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
2306 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
2307 | as_cr_digits='0123456789' |
---|
2308 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
2309 | |
---|
2310 | ECHO_C= ECHO_N= ECHO_T= |
---|
2311 | case `echo -n x` in #((((( |
---|
2312 | -n*) |
---|
2313 | case `echo 'xy\c'` in |
---|
2314 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
2315 | xy) ECHO_C='\c';; |
---|
2316 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
2317 | ECHO_T=' ';; |
---|
2318 | esac;; |
---|
2319 | *) |
---|
2320 | ECHO_N='-n';; |
---|
2321 | esac |
---|
2322 | |
---|
2323 | rm -f conf$$ conf$$.exe conf$$.file |
---|
2324 | if test -d conf$$.dir; then |
---|
2325 | rm -f conf$$.dir/conf$$.file |
---|
2326 | else |
---|
2327 | rm -f conf$$.dir |
---|
2328 | mkdir conf$$.dir 2>/dev/null |
---|
2329 | fi |
---|
2330 | if (echo >conf$$.file) 2>/dev/null; then |
---|
2331 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
2332 | as_ln_s='ln -s' |
---|
2333 | # ... but there are two gotchas: |
---|
2334 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
2335 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
2336 | # In both cases, we have to default to `cp -pR'. |
---|
2337 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
2338 | as_ln_s='cp -pR' |
---|
2339 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
2340 | as_ln_s=ln |
---|
2341 | else |
---|
2342 | as_ln_s='cp -pR' |
---|
2343 | fi |
---|
2344 | else |
---|
2345 | as_ln_s='cp -pR' |
---|
2346 | fi |
---|
2347 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
2348 | rmdir conf$$.dir 2>/dev/null |
---|
2349 | |
---|
2350 | |
---|
2351 | # as_fn_mkdir_p |
---|
2352 | # ------------- |
---|
2353 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
2354 | as_fn_mkdir_p () |
---|
2355 | { |
---|
2356 | |
---|
2357 | case $as_dir in #( |
---|
2358 | -*) as_dir=./$as_dir;; |
---|
2359 | esac |
---|
2360 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
2361 | as_dirs= |
---|
2362 | while :; do |
---|
2363 | case $as_dir in #( |
---|
2364 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
2365 | *) as_qdir=$as_dir;; |
---|
2366 | esac |
---|
2367 | as_dirs="'$as_qdir' $as_dirs" |
---|
2368 | as_dir=`$as_dirname -- "$as_dir" || |
---|
2369 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
2370 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
2371 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
2372 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
2373 | $as_echo X"$as_dir" | |
---|
2374 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
2375 | s//\1/ |
---|
2376 | q |
---|
2377 | } |
---|
2378 | /^X\(\/\/\)[^/].*/{ |
---|
2379 | s//\1/ |
---|
2380 | q |
---|
2381 | } |
---|
2382 | /^X\(\/\/\)$/{ |
---|
2383 | s//\1/ |
---|
2384 | q |
---|
2385 | } |
---|
2386 | /^X\(\/\).*/{ |
---|
2387 | s//\1/ |
---|
2388 | q |
---|
2389 | } |
---|
2390 | s/.*/./; q'` |
---|
2391 | test -d "$as_dir" && break |
---|
2392 | done |
---|
2393 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
2394 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
2395 | |
---|
2396 | |
---|
2397 | } # as_fn_mkdir_p |
---|
2398 | if mkdir -p . 2>/dev/null; then |
---|
2399 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
2400 | else |
---|
2401 | test -d ./-p && rmdir ./-p |
---|
2402 | as_mkdir_p=false |
---|
2403 | fi |
---|
2404 | |
---|
2405 | |
---|
2406 | # as_fn_executable_p FILE |
---|
2407 | # ----------------------- |
---|
2408 | # Test if FILE is an executable regular file. |
---|
2409 | as_fn_executable_p () |
---|
2410 | { |
---|
2411 | test -f "$1" && test -x "$1" |
---|
2412 | } # as_fn_executable_p |
---|
2413 | as_test_x='test -x' |
---|
2414 | as_executable_p=as_fn_executable_p |
---|
2415 | |
---|
2416 | # Sed expression to map a string onto a valid CPP name. |
---|
2417 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
2418 | |
---|
2419 | # Sed expression to map a string onto a valid variable name. |
---|
2420 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
2421 | |
---|
2422 | |
---|
2423 | exec 6>&1 |
---|
2424 | ## ----------------------------------- ## |
---|
2425 | ## Main body of $CONFIG_STATUS script. ## |
---|
2426 | ## ----------------------------------- ## |
---|
2427 | _ASEOF |
---|
2428 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
---|
2429 | |
---|
2430 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
2431 | # Save the log message, to keep $0 and so on meaningful, and to |
---|
2432 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
2433 | # values after options handling. |
---|
2434 | ac_log=" |
---|
2435 | This file was extended by vmdshow $as_me 0.1, which was |
---|
2436 | generated by GNU Autoconf 2.69. Invocation command line was |
---|
2437 | |
---|
2438 | CONFIG_FILES = $CONFIG_FILES |
---|
2439 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
2440 | CONFIG_LINKS = $CONFIG_LINKS |
---|
2441 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
2442 | $ $0 $@ |
---|
2443 | |
---|
2444 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
2445 | " |
---|
2446 | |
---|
2447 | _ACEOF |
---|
2448 | |
---|
2449 | case $ac_config_files in *" |
---|
2450 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
2451 | esac |
---|
2452 | |
---|
2453 | |
---|
2454 | |
---|
2455 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
2456 | # Files that config.status was made for. |
---|
2457 | config_files="$ac_config_files" |
---|
2458 | |
---|
2459 | _ACEOF |
---|
2460 | |
---|
2461 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
2462 | ac_cs_usage="\ |
---|
2463 | \`$as_me' instantiates files and other configuration actions |
---|
2464 | from templates according to the current configuration. Unless the files |
---|
2465 | and actions are specified as TAGs, all are instantiated by default. |
---|
2466 | |
---|
2467 | Usage: $0 [OPTION]... [TAG]... |
---|
2468 | |
---|
2469 | -h, --help print this help, then exit |
---|
2470 | -V, --version print version number and configuration settings, then exit |
---|
2471 | --config print configuration, then exit |
---|
2472 | -q, --quiet, --silent |
---|
2473 | do not print progress messages |
---|
2474 | -d, --debug don't remove temporary files |
---|
2475 | --recheck update $as_me by reconfiguring in the same conditions |
---|
2476 | --file=FILE[:TEMPLATE] |
---|
2477 | instantiate the configuration file FILE |
---|
2478 | |
---|
2479 | Configuration files: |
---|
2480 | $config_files |
---|
2481 | |
---|
2482 | Report bugs to <rappture@nanohub.org>." |
---|
2483 | |
---|
2484 | _ACEOF |
---|
2485 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
2486 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
---|
2487 | ac_cs_version="\\ |
---|
2488 | vmdshow config.status 0.1 |
---|
2489 | configured by $0, generated by GNU Autoconf 2.69, |
---|
2490 | with options \\"\$ac_cs_config\\" |
---|
2491 | |
---|
2492 | Copyright (C) 2012 Free Software Foundation, Inc. |
---|
2493 | This config.status script is free software; the Free Software Foundation |
---|
2494 | gives unlimited permission to copy, distribute and modify it." |
---|
2495 | |
---|
2496 | ac_pwd='$ac_pwd' |
---|
2497 | srcdir='$srcdir' |
---|
2498 | INSTALL='$INSTALL' |
---|
2499 | MKDIR_P='$MKDIR_P' |
---|
2500 | test -n "\$AWK" || AWK=awk |
---|
2501 | _ACEOF |
---|
2502 | |
---|
2503 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
2504 | # The default lists apply if the user does not specify any file. |
---|
2505 | ac_need_defaults=: |
---|
2506 | while test $# != 0 |
---|
2507 | do |
---|
2508 | case $1 in |
---|
2509 | --*=?*) |
---|
2510 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
2511 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
2512 | ac_shift=: |
---|
2513 | ;; |
---|
2514 | --*=) |
---|
2515 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
2516 | ac_optarg= |
---|
2517 | ac_shift=: |
---|
2518 | ;; |
---|
2519 | *) |
---|
2520 | ac_option=$1 |
---|
2521 | ac_optarg=$2 |
---|
2522 | ac_shift=shift |
---|
2523 | ;; |
---|
2524 | esac |
---|
2525 | |
---|
2526 | case $ac_option in |
---|
2527 | # Handling of the options. |
---|
2528 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
2529 | ac_cs_recheck=: ;; |
---|
2530 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
2531 | $as_echo "$ac_cs_version"; exit ;; |
---|
2532 | --config | --confi | --conf | --con | --co | --c ) |
---|
2533 | $as_echo "$ac_cs_config"; exit ;; |
---|
2534 | --debug | --debu | --deb | --de | --d | -d ) |
---|
2535 | debug=: ;; |
---|
2536 | --file | --fil | --fi | --f ) |
---|
2537 | $ac_shift |
---|
2538 | case $ac_optarg in |
---|
2539 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
2540 | '') as_fn_error $? "missing file argument" ;; |
---|
2541 | esac |
---|
2542 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
---|
2543 | ac_need_defaults=false;; |
---|
2544 | --he | --h | --help | --hel | -h ) |
---|
2545 | $as_echo "$ac_cs_usage"; exit ;; |
---|
2546 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
2547 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
2548 | ac_cs_silent=: ;; |
---|
2549 | |
---|
2550 | # This is an error. |
---|
2551 | -*) as_fn_error $? "unrecognized option: \`$1' |
---|
2552 | Try \`$0 --help' for more information." ;; |
---|
2553 | |
---|
2554 | *) as_fn_append ac_config_targets " $1" |
---|
2555 | ac_need_defaults=false ;; |
---|
2556 | |
---|
2557 | esac |
---|
2558 | shift |
---|
2559 | done |
---|
2560 | |
---|
2561 | ac_configure_extra_args= |
---|
2562 | |
---|
2563 | if $ac_cs_silent; then |
---|
2564 | exec 6>/dev/null |
---|
2565 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
2566 | fi |
---|
2567 | |
---|
2568 | _ACEOF |
---|
2569 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
2570 | if \$ac_cs_recheck; then |
---|
2571 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
2572 | shift |
---|
2573 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
2574 | CONFIG_SHELL='$SHELL' |
---|
2575 | export CONFIG_SHELL |
---|
2576 | exec "\$@" |
---|
2577 | fi |
---|
2578 | |
---|
2579 | _ACEOF |
---|
2580 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
2581 | exec 5>>config.log |
---|
2582 | { |
---|
2583 | echo |
---|
2584 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
2585 | ## Running $as_me. ## |
---|
2586 | _ASBOX |
---|
2587 | $as_echo "$ac_log" |
---|
2588 | } >&5 |
---|
2589 | |
---|
2590 | _ACEOF |
---|
2591 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
2592 | _ACEOF |
---|
2593 | |
---|
2594 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
2595 | |
---|
2596 | # Handling of arguments. |
---|
2597 | for ac_config_target in $ac_config_targets |
---|
2598 | do |
---|
2599 | case $ac_config_target in |
---|
2600 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
2601 | |
---|
2602 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
---|
2603 | esac |
---|
2604 | done |
---|
2605 | |
---|
2606 | |
---|
2607 | # If the user did not use the arguments to specify the items to instantiate, |
---|
2608 | # then the envvar interface is used. Set only those that are not. |
---|
2609 | # We use the long form for the default assignment because of an extremely |
---|
2610 | # bizarre bug on SunOS 4.1.3. |
---|
2611 | if $ac_need_defaults; then |
---|
2612 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
2613 | fi |
---|
2614 | |
---|
2615 | # Have a temporary directory for convenience. Make it in the build tree |
---|
2616 | # simply because there is no reason against having it here, and in addition, |
---|
2617 | # creating and moving files from /tmp can sometimes cause problems. |
---|
2618 | # Hook for its removal unless debugging. |
---|
2619 | # Note that there is a small window in which the directory will not be cleaned: |
---|
2620 | # after its creation but before its name has been assigned to `$tmp'. |
---|
2621 | $debug || |
---|
2622 | { |
---|
2623 | tmp= ac_tmp= |
---|
2624 | trap 'exit_status=$? |
---|
2625 | : "${ac_tmp:=$tmp}" |
---|
2626 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
---|
2627 | ' 0 |
---|
2628 | trap 'as_fn_exit 1' 1 2 13 15 |
---|
2629 | } |
---|
2630 | # Create a (secure) tmp directory for tmp files. |
---|
2631 | |
---|
2632 | { |
---|
2633 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
2634 | test -d "$tmp" |
---|
2635 | } || |
---|
2636 | { |
---|
2637 | tmp=./conf$$-$RANDOM |
---|
2638 | (umask 077 && mkdir "$tmp") |
---|
2639 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
---|
2640 | ac_tmp=$tmp |
---|
2641 | |
---|
2642 | # Set up the scripts for CONFIG_FILES section. |
---|
2643 | # No need to generate them if there are no CONFIG_FILES. |
---|
2644 | # This happens for instance with `./config.status config.h'. |
---|
2645 | if test -n "$CONFIG_FILES"; then |
---|
2646 | |
---|
2647 | |
---|
2648 | ac_cr=`echo X | tr X '\015'` |
---|
2649 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
---|
2650 | # But we know of no other shell where ac_cr would be empty at this |
---|
2651 | # point, so we can use a bashism as a fallback. |
---|
2652 | if test "x$ac_cr" = x; then |
---|
2653 | eval ac_cr=\$\'\\r\' |
---|
2654 | fi |
---|
2655 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
2656 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
2657 | ac_cs_awk_cr='\\r' |
---|
2658 | else |
---|
2659 | ac_cs_awk_cr=$ac_cr |
---|
2660 | fi |
---|
2661 | |
---|
2662 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
---|
2663 | _ACEOF |
---|
2664 | |
---|
2665 | |
---|
2666 | { |
---|
2667 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
2668 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
2669 | echo "_ACEOF" |
---|
2670 | } >conf$$subs.sh || |
---|
2671 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
2672 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
---|
2673 | ac_delim='%!_!# ' |
---|
2674 | for ac_last_try in false false false false false :; do |
---|
2675 | . ./conf$$subs.sh || |
---|
2676 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
2677 | |
---|
2678 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
2679 | if test $ac_delim_n = $ac_delim_num; then |
---|
2680 | break |
---|
2681 | elif $ac_last_try; then |
---|
2682 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
2683 | else |
---|
2684 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
2685 | fi |
---|
2686 | done |
---|
2687 | rm -f conf$$subs.sh |
---|
2688 | |
---|
2689 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
2690 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
---|
2691 | _ACEOF |
---|
2692 | sed -n ' |
---|
2693 | h |
---|
2694 | s/^/S["/; s/!.*/"]=/ |
---|
2695 | p |
---|
2696 | g |
---|
2697 | s/^[^!]*!// |
---|
2698 | :repl |
---|
2699 | t repl |
---|
2700 | s/'"$ac_delim"'$// |
---|
2701 | t delim |
---|
2702 | :nl |
---|
2703 | h |
---|
2704 | s/\(.\{148\}\)..*/\1/ |
---|
2705 | t more1 |
---|
2706 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
2707 | p |
---|
2708 | n |
---|
2709 | b repl |
---|
2710 | :more1 |
---|
2711 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
2712 | p |
---|
2713 | g |
---|
2714 | s/.\{148\}// |
---|
2715 | t nl |
---|
2716 | :delim |
---|
2717 | h |
---|
2718 | s/\(.\{148\}\)..*/\1/ |
---|
2719 | t more2 |
---|
2720 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
2721 | p |
---|
2722 | b |
---|
2723 | :more2 |
---|
2724 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
2725 | p |
---|
2726 | g |
---|
2727 | s/.\{148\}// |
---|
2728 | t delim |
---|
2729 | ' <conf$$subs.awk | sed ' |
---|
2730 | /^[^""]/{ |
---|
2731 | N |
---|
2732 | s/\n// |
---|
2733 | } |
---|
2734 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
2735 | rm -f conf$$subs.awk |
---|
2736 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
2737 | _ACAWK |
---|
2738 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
---|
2739 | for (key in S) S_is_set[key] = 1 |
---|
2740 | FS = "" |
---|
2741 | |
---|
2742 | } |
---|
2743 | { |
---|
2744 | line = $ 0 |
---|
2745 | nfields = split(line, field, "@") |
---|
2746 | substed = 0 |
---|
2747 | len = length(field[1]) |
---|
2748 | for (i = 2; i < nfields; i++) { |
---|
2749 | key = field[i] |
---|
2750 | keylen = length(key) |
---|
2751 | if (S_is_set[key]) { |
---|
2752 | value = S[key] |
---|
2753 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
2754 | len += length(value) + length(field[++i]) |
---|
2755 | substed = 1 |
---|
2756 | } else |
---|
2757 | len += 1 + keylen |
---|
2758 | } |
---|
2759 | |
---|
2760 | print line |
---|
2761 | } |
---|
2762 | |
---|
2763 | _ACAWK |
---|
2764 | _ACEOF |
---|
2765 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
2766 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
2767 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
2768 | else |
---|
2769 | cat |
---|
2770 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
---|
2771 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
---|
2772 | _ACEOF |
---|
2773 | |
---|
2774 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
---|
2775 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
---|
2776 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
2777 | # (actually we leave an empty line to preserve line numbers). |
---|
2778 | if test "x$srcdir" = x.; then |
---|
2779 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
---|
2780 | h |
---|
2781 | s/// |
---|
2782 | s/^/:/ |
---|
2783 | s/[ ]*$/:/ |
---|
2784 | s/:\$(srcdir):/:/g |
---|
2785 | s/:\${srcdir}:/:/g |
---|
2786 | s/:@srcdir@:/:/g |
---|
2787 | s/^:*// |
---|
2788 | s/:*$// |
---|
2789 | x |
---|
2790 | s/\(=[ ]*\).*/\1/ |
---|
2791 | G |
---|
2792 | s/\n// |
---|
2793 | s/^[^=]*=[ ]*$// |
---|
2794 | }' |
---|
2795 | fi |
---|
2796 | |
---|
2797 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
2798 | fi # test -n "$CONFIG_FILES" |
---|
2799 | |
---|
2800 | |
---|
2801 | eval set X " :F $CONFIG_FILES " |
---|
2802 | shift |
---|
2803 | for ac_tag |
---|
2804 | do |
---|
2805 | case $ac_tag in |
---|
2806 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
2807 | esac |
---|
2808 | case $ac_mode$ac_tag in |
---|
2809 | :[FHL]*:*);; |
---|
2810 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
---|
2811 | :[FH]-) ac_tag=-:-;; |
---|
2812 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
2813 | esac |
---|
2814 | ac_save_IFS=$IFS |
---|
2815 | IFS=: |
---|
2816 | set x $ac_tag |
---|
2817 | IFS=$ac_save_IFS |
---|
2818 | shift |
---|
2819 | ac_file=$1 |
---|
2820 | shift |
---|
2821 | |
---|
2822 | case $ac_mode in |
---|
2823 | :L) ac_source=$1;; |
---|
2824 | :[FH]) |
---|
2825 | ac_file_inputs= |
---|
2826 | for ac_f |
---|
2827 | do |
---|
2828 | case $ac_f in |
---|
2829 | -) ac_f="$ac_tmp/stdin";; |
---|
2830 | *) # Look for the file first in the build tree, then in the source tree |
---|
2831 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
2832 | # because $ac_f cannot contain `:'. |
---|
2833 | test -f "$ac_f" || |
---|
2834 | case $ac_f in |
---|
2835 | [\\/$]*) false;; |
---|
2836 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
2837 | esac || |
---|
2838 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
---|
2839 | esac |
---|
2840 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
2841 | as_fn_append ac_file_inputs " '$ac_f'" |
---|
2842 | done |
---|
2843 | |
---|
2844 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
2845 | # use $as_me), people would be surprised to read: |
---|
2846 | # /* config.h. Generated by config.status. */ |
---|
2847 | configure_input='Generated from '` |
---|
2848 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
2849 | `' by configure.' |
---|
2850 | if test x"$ac_file" != x-; then |
---|
2851 | configure_input="$ac_file. $configure_input" |
---|
2852 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
---|
2853 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
2854 | fi |
---|
2855 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
2856 | case $configure_input in #( |
---|
2857 | *\&* | *\|* | *\\* ) |
---|
2858 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
2859 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
2860 | *) ac_sed_conf_input=$configure_input;; |
---|
2861 | esac |
---|
2862 | |
---|
2863 | case $ac_tag in |
---|
2864 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
---|
2865 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
---|
2866 | esac |
---|
2867 | ;; |
---|
2868 | esac |
---|
2869 | |
---|
2870 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
2871 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
2872 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
2873 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
2874 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
2875 | $as_echo X"$ac_file" | |
---|
2876 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
2877 | s//\1/ |
---|
2878 | q |
---|
2879 | } |
---|
2880 | /^X\(\/\/\)[^/].*/{ |
---|
2881 | s//\1/ |
---|
2882 | q |
---|
2883 | } |
---|
2884 | /^X\(\/\/\)$/{ |
---|
2885 | s//\1/ |
---|
2886 | q |
---|
2887 | } |
---|
2888 | /^X\(\/\).*/{ |
---|
2889 | s//\1/ |
---|
2890 | q |
---|
2891 | } |
---|
2892 | s/.*/./; q'` |
---|
2893 | as_dir="$ac_dir"; as_fn_mkdir_p |
---|
2894 | ac_builddir=. |
---|
2895 | |
---|
2896 | case "$ac_dir" in |
---|
2897 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
2898 | *) |
---|
2899 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
2900 | # A ".." for each directory in $ac_dir_suffix. |
---|
2901 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
2902 | case $ac_top_builddir_sub in |
---|
2903 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
2904 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
2905 | esac ;; |
---|
2906 | esac |
---|
2907 | ac_abs_top_builddir=$ac_pwd |
---|
2908 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
2909 | # for backward compatibility: |
---|
2910 | ac_top_builddir=$ac_top_build_prefix |
---|
2911 | |
---|
2912 | case $srcdir in |
---|
2913 | .) # We are building in place. |
---|
2914 | ac_srcdir=. |
---|
2915 | ac_top_srcdir=$ac_top_builddir_sub |
---|
2916 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
2917 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
2918 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
2919 | ac_top_srcdir=$srcdir |
---|
2920 | ac_abs_top_srcdir=$srcdir ;; |
---|
2921 | *) # Relative name. |
---|
2922 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
2923 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
2924 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
2925 | esac |
---|
2926 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
2927 | |
---|
2928 | |
---|
2929 | case $ac_mode in |
---|
2930 | :F) |
---|
2931 | # |
---|
2932 | # CONFIG_FILE |
---|
2933 | # |
---|
2934 | |
---|
2935 | case $INSTALL in |
---|
2936 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
2937 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
2938 | esac |
---|
2939 | ac_MKDIR_P=$MKDIR_P |
---|
2940 | case $MKDIR_P in |
---|
2941 | [\\/$]* | ?:[\\/]* ) ;; |
---|
2942 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
---|
2943 | esac |
---|
2944 | _ACEOF |
---|
2945 | |
---|
2946 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
2947 | # If the template does not know about datarootdir, expand it. |
---|
2948 | # FIXME: This hack should be removed a few years after 2.60. |
---|
2949 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
2950 | ac_sed_dataroot=' |
---|
2951 | /datarootdir/ { |
---|
2952 | p |
---|
2953 | q |
---|
2954 | } |
---|
2955 | /@datadir@/p |
---|
2956 | /@docdir@/p |
---|
2957 | /@infodir@/p |
---|
2958 | /@localedir@/p |
---|
2959 | /@mandir@/p' |
---|
2960 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
2961 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
2962 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
2963 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
2964 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
2965 | _ACEOF |
---|
2966 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
2967 | ac_datarootdir_hack=' |
---|
2968 | s&@datadir@&$datadir&g |
---|
2969 | s&@docdir@&$docdir&g |
---|
2970 | s&@infodir@&$infodir&g |
---|
2971 | s&@localedir@&$localedir&g |
---|
2972 | s&@mandir@&$mandir&g |
---|
2973 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
2974 | esac |
---|
2975 | _ACEOF |
---|
2976 | |
---|
2977 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
2978 | # Shell code in configure.ac might set extrasub. |
---|
2979 | # FIXME: do we really want to maintain this feature? |
---|
2980 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
2981 | ac_sed_extra="$ac_vpsub |
---|
2982 | $extrasub |
---|
2983 | _ACEOF |
---|
2984 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
2985 | :t |
---|
2986 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
2987 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
2988 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
2989 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
2990 | s&@srcdir@&$ac_srcdir&;t t |
---|
2991 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
2992 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
2993 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
2994 | s&@builddir@&$ac_builddir&;t t |
---|
2995 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
2996 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
2997 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
2998 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
---|
2999 | $ac_datarootdir_hack |
---|
3000 | " |
---|
3001 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
---|
3002 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
3003 | |
---|
3004 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
3005 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
---|
3006 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
---|
3007 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
---|
3008 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
3009 | which seems to be undefined. Please make sure it is defined" >&5 |
---|
3010 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
3011 | which seems to be undefined. Please make sure it is defined" >&2;} |
---|
3012 | |
---|
3013 | rm -f "$ac_tmp/stdin" |
---|
3014 | case $ac_file in |
---|
3015 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
---|
3016 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
---|
3017 | esac \ |
---|
3018 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
3019 | ;; |
---|
3020 | |
---|
3021 | |
---|
3022 | |
---|
3023 | esac |
---|
3024 | |
---|
3025 | done # for ac_tag |
---|
3026 | |
---|
3027 | |
---|
3028 | as_fn_exit 0 |
---|
3029 | _ACEOF |
---|
3030 | ac_clean_files=$ac_clean_files_save |
---|
3031 | |
---|
3032 | test $ac_write_fail = 0 || |
---|
3033 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
---|
3034 | |
---|
3035 | |
---|
3036 | # configure is writing to config.log, and then calls config.status. |
---|
3037 | # config.status does its own redirection, appending to config.log. |
---|
3038 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
3039 | # by configure, so config.status won't be able to write to it; its |
---|
3040 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
3041 | # effectively closing config.log, so it can be properly (re)opened and |
---|
3042 | # appended to by config.status. When coming back to configure, we |
---|
3043 | # need to make the FD available again. |
---|
3044 | if test "$no_create" != yes; then |
---|
3045 | ac_cs_success=: |
---|
3046 | ac_config_status_args= |
---|
3047 | test "$silent" = yes && |
---|
3048 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
3049 | exec 5>/dev/null |
---|
3050 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
3051 | exec 5>>config.log |
---|
3052 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
3053 | # would make configure fail if this is the last instruction. |
---|
3054 | $ac_cs_success || as_fn_exit 1 |
---|
3055 | fi |
---|
3056 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
3057 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
3058 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
3059 | fi |
---|
3060 | |
---|