root/trunk/configure

Revision 31, 130.1 KB (checked in by mike, 5 years ago)

fixed makefile

  • Property svn:executable set to *
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization.  ##
11## --------------------- ##
12
13# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16  emulate sh
17  NULLCMD=:
18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19  # is contrary to our usage.  Disable this feature.
20  alias -g '${1+"$@"}'='"$@"'
21  setopt NO_GLOB_SUBST
22else
23  case `(set -o) 2>/dev/null` in
24  *posix*) set -o posix ;;
25esac
26
27fi
28
29
30
31
32# PATH needs CR
33# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40# The user is always right.
41if test "${PATH_SEPARATOR+set}" != set; then
42  echo "#! /bin/sh" >conf$$.sh
43  echo  "exit 0"   >>conf$$.sh
44  chmod +x conf$$.sh
45  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46    PATH_SEPARATOR=';'
47  else
48    PATH_SEPARATOR=:
49  fi
50  rm -f conf$$.sh
51fi
52
53# Support unset when possible.
54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55  as_unset=unset
56else
57  as_unset=false
58fi
59
60
61# IFS
62# We need space, tab and new line, in precisely that order.  Quoting is
63# there to prevent editors from complaining about space-tab.
64# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65# splitting by setting IFS to empty value.)
66as_nl='
67'
68IFS=" ""    $as_nl"
69
70# Find who we are.  Look in the path if we contain no directory separator.
71case $0 in
72  *[\\/]* ) as_myself=$0 ;;
73  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74for as_dir in $PATH
75do
76  IFS=$as_save_IFS
77  test -z "$as_dir" && as_dir=.
78  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79done
80IFS=$as_save_IFS
81
82     ;;
83esac
84# We did not find ourselves, most probably we were run as `sh COMMAND'
85# in which case we are not to be found in the path.
86if test "x$as_myself" = x; then
87  as_myself=$0
88fi
89if test ! -f "$as_myself"; then
90  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91  { (exit 1); exit 1; }
92fi
93
94# Work around bugs in pre-3.0 UWIN ksh.
95for as_var in ENV MAIL MAILPATH
96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97done
98PS1='$ '
99PS2='> '
100PS4='+ '
101
102# NLS nuisances.
103for as_var in \
104  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106  LC_TELEPHONE LC_TIME
107do
108  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109    eval $as_var=C; export $as_var
110  else
111    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112  fi
113done
114
115# Required to use basename.
116if expr a : '\(a\)' >/dev/null 2>&1 &&
117   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118  as_expr=expr
119else
120  as_expr=false
121fi
122
123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124  as_basename=basename
125else
126  as_basename=false
127fi
128
129
130# Name of the executable.
131as_me=`$as_basename -- "$0" ||
132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133     X"$0" : 'X\(//\)$' \| \
134     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135echo X/"$0" |
136    sed '/^.*\/\([^/][^/]*\)\/*$/{
137        s//\1/
138        q
139      }
140      /^X\/\(\/\/\)$/{
141        s//\1/
142        q
143      }
144      /^X\/\(\/\).*/{
145        s//\1/
146        q
147      }
148      s/.*/./; q'`
149
150# CDPATH.
151$as_unset CDPATH
152
153
154if test "x$CONFIG_SHELL" = x; then
155  if (eval ":") 2>/dev/null; then
156  as_have_required=yes
157else
158  as_have_required=no
159fi
160
161  if test $as_have_required = yes &&     (eval ":
162(as_func_return () {
163  (exit \$1)
164}
165as_func_success () {
166  as_func_return 0
167}
168as_func_failure () {
169  as_func_return 1
170}
171as_func_ret_success () {
172  return 0
173}
174as_func_ret_failure () {
175  return 1
176}
177
178exitcode=0
179if as_func_success; then
180  :
181else
182  exitcode=1
183  echo as_func_success failed.
184fi
185
186if as_func_failure; then
187  exitcode=1
188  echo as_func_failure succeeded.
189fi
190
191if as_func_ret_success; then
192  :
193else
194  exitcode=1
195  echo as_func_ret_success failed.
196fi
197
198if as_func_ret_failure; then
199  exitcode=1
200  echo as_func_ret_failure succeeded.
201fi
202
203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204  :
205else
206  exitcode=1
207  echo positional parameters were not saved.
208fi
209
210test \$exitcode = 0) || { (exit 1); exit 1; }
211
212(
213  as_lineno_1=\$LINENO
214  as_lineno_2=\$LINENO
215  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217") 2> /dev/null; then
218  :
219else
220  as_candidate_shells=
221    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do
224  IFS=$as_save_IFS
225  test -z "$as_dir" && as_dir=.
226  case $as_dir in
227     /*)
228       for as_base in sh bash ksh sh5; do
229         as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230       done;;
231       esac
232done
233IFS=$as_save_IFS
234
235
236      for as_shell in $as_candidate_shells $SHELL; do
237     # Try only shells that exist, to save several forks.
238     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239        { ("$as_shell") 2> /dev/null <<\_ASEOF
240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241  emulate sh
242  NULLCMD=:
243  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244  # is contrary to our usage.  Disable this feature.
245  alias -g '${1+"$@"}'='"$@"'
246  setopt NO_GLOB_SUBST
247else
248  case `(set -o) 2>/dev/null` in
249  *posix*) set -o posix ;;
250esac
251
252fi
253
254
255:
256_ASEOF
257}; then
258  CONFIG_SHELL=$as_shell
259           as_have_required=yes
260           if { "$as_shell" 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262  emulate sh
263  NULLCMD=:
264  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265  # is contrary to our usage.  Disable this feature.
266  alias -g '${1+"$@"}'='"$@"'
267  setopt NO_GLOB_SUBST
268else
269  case `(set -o) 2>/dev/null` in
270  *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277(as_func_return () {
278  (exit $1)
279}
280as_func_success () {
281  as_func_return 0
282}
283as_func_failure () {
284  as_func_return 1
285}
286as_func_ret_success () {
287  return 0
288}
289as_func_ret_failure () {
290  return 1
291}
292
293exitcode=0
294if as_func_success; then
295  :
296else
297  exitcode=1
298  echo as_func_success failed.
299fi
300
301if as_func_failure; then
302  exitcode=1
303  echo as_func_failure succeeded.
304fi
305
306if as_func_ret_success; then
307  :
308else
309  exitcode=1
310  echo as_func_ret_success failed.
311fi
312
313if as_func_ret_failure; then
314  exitcode=1
315  echo as_func_ret_failure succeeded.
316fi
317
318if ( set x; as_func_ret_success y && test x = "$1" ); then
319  :
320else
321  exitcode=1
322  echo positional parameters were not saved.
323fi
324
325test $exitcode = 0) || { (exit 1); exit 1; }
326
327(
328  as_lineno_1=$LINENO
329  as_lineno_2=$LINENO
330  test "x$as_lineno_1" != "x$as_lineno_2" &&
331  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333_ASEOF
334}; then
335  break
336fi
337
338fi
339
340      done
341
342      if test "x$CONFIG_SHELL" != x; then
343  for as_var in BASH_ENV ENV
344        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345        done
346        export CONFIG_SHELL
347        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348fi
349
350
351    if test $as_have_required = no; then
352  echo This script requires a shell more modern than all the
353      echo shells that I found on your system.  Please install a
354      echo modern shell, or manually run the script under such a
355      echo shell if you do have one.
356      { (exit 1); exit 1; }
357fi
358
359
360fi
361
362fi
363
364
365
366(eval "as_func_return () {
367  (exit \$1)
368}
369as_func_success () {
370  as_func_return 0
371}
372as_func_failure () {
373  as_func_return 1
374}
375as_func_ret_success () {
376  return 0
377}
378as_func_ret_failure () {
379  return 1
380}
381
382exitcode=0
383if as_func_success; then
384  :
385else
386  exitcode=1
387  echo as_func_success failed.
388fi
389
390if as_func_failure; then
391  exitcode=1
392  echo as_func_failure succeeded.
393fi
394
395if as_func_ret_success; then
396  :
397else
398  exitcode=1
399  echo as_func_ret_success failed.
400fi
401
402if as_func_ret_failure; then
403  exitcode=1
404  echo as_func_ret_failure succeeded.
405fi
406
407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408  :
409else
410  exitcode=1
411  echo positional parameters were not saved.
412fi
413
414test \$exitcode = 0") || {
415  echo No shell found that supports shell functions.
416  echo Please tell autoconf@gnu.org about your system,
417  echo including any error possibly output before this
418  echo message
419}
420
421
422
423  as_lineno_1=$LINENO
424  as_lineno_2=$LINENO
425  test "x$as_lineno_1" != "x$as_lineno_2" &&
426  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
428  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429  # uniformly replaced by the line number.  The first 'sed' inserts a
430  # line-number line after each line using $LINENO; the second 'sed'
431  # does the real work.  The second script uses 'N' to pair each
432  # line-number line with the line containing $LINENO, and appends
433  # trailing '-' during substitution so that $LINENO is not a special
434  # case at line end.
435  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437  # E. McMahon (1931-1989) for sed's syntax.  :-)
438  sed -n '
439    p
440    /[$]LINENO/=
441  ' <$as_myself |
442    sed '
443      s/[$]LINENO.*/&-/
444      t lineno
445      b
446      :lineno
447      N
448      :loop
449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450      t loop
451      s/-\n.*//
452    ' >$as_me.lineno &&
453  chmod +x "$as_me.lineno" ||
454    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455   { (exit 1); exit 1; }; }
456
457  # Don't try to exec as it changes $[0], causing all sort of problems
458  # (the dirname of $[0] is not the place where we might find the
459  # original and so on.  Autoconf is especially sensitive to this).
460  . "./$as_me.lineno"
461  # Exit status is that of the last command.
462  exit
463}
464
465
466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467  as_dirname=dirname
468else
469  as_dirname=false
470fi
471
472ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in
474-n*)
475  case `echo 'x\c'` in
476  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477  *)   ECHO_C='\c';;
478  esac;;
479*)
480  ECHO_N='-n';;
481esac
482
483if expr a : '\(a\)' >/dev/null 2>&1 &&
484   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485  as_expr=expr
486else
487  as_expr=false
488fi
489
490rm -f conf$$ conf$$.exe conf$$.file
491if test -d conf$$.dir; then
492  rm -f conf$$.dir/conf$$.file
493else
494  rm -f conf$$.dir
495  mkdir conf$$.dir
496fi
497echo >conf$$.file
498if ln -s conf$$.file conf$$ 2>/dev/null; then
499  as_ln_s='ln -s'
500  # ... but there are two gotchas:
501  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503  # In both cases, we have to default to `cp -p'.
504  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505    as_ln_s='cp -p'
506elif ln conf$$.file conf$$ 2>/dev/null; then
507  as_ln_s=ln
508else
509  as_ln_s='cp -p'
510fi
511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512rmdir conf$$.dir 2>/dev/null
513
514if mkdir -p . 2>/dev/null; then
515  as_mkdir_p=:
516else
517  test -d ./-p && rmdir ./-p
518  as_mkdir_p=false
519fi
520
521if test -x / >/dev/null 2>&1; then
522  as_test_x='test -x'
523else
524  if ls -dL / >/dev/null 2>&1; then
525    as_ls_L_option=L
526  else
527    as_ls_L_option=
528  fi
529  as_test_x='
530    eval sh -c '\''
531      if test -d "$1"; then
532        test -d "$1/.";
533      else
534    case $1 in
535        -*)set "./$1";;
536    esac;
537    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538    ???[sx]*):;;*)false;;esac;fi
539    '\'' sh
540  '
541fi
542as_executable_p=$as_test_x
543
544# Sed expression to map a string onto a valid CPP name.
545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547# Sed expression to map a string onto a valid variable name.
548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552exec 7<&0 </dev/null 6>&1
553
554# Name of the host.
555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556# so uname gets run too.
557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559#
560# Initializations.
561#
562ac_default_prefix=/usr/local
563ac_clean_files=
564ac_config_libobj_dir=.
565LIBOBJS=
566cross_compiling=no
567subdirs=
568MFLAGS=
569MAKEFLAGS=
570SHELL=${CONFIG_SHELL-/bin/sh}
571
572# Identity of this package.
573PACKAGE_NAME=
574PACKAGE_TARNAME=
575PACKAGE_VERSION=
576PACKAGE_STRING=
577PACKAGE_BUGREPORT=
578
579ac_unique_file="glutmain.c"
580ac_subst_vars='SHELL
581PATH_SEPARATOR
582PACKAGE_NAME
583PACKAGE_TARNAME
584PACKAGE_VERSION
585PACKAGE_STRING
586PACKAGE_BUGREPORT
587exec_prefix
588prefix
589program_transform_name
590bindir
591sbindir
592libexecdir
593datarootdir
594datadir
595sysconfdir
596sharedstatedir
597localstatedir
598includedir
599oldincludedir
600docdir
601infodir
602htmldir
603dvidir
604pdfdir
605psdir
606libdir
607localedir
608mandir
609DEFS
610ECHO_C
611ECHO_N
612ECHO_T
613LIBS
614build_alias
615host_alias
616target_alias
617INSTALL_PROGRAM
618INSTALL_SCRIPT
619INSTALL_DATA
620CYGPATH_W
621PACKAGE
622VERSION
623ACLOCAL
624AUTOCONF
625AUTOMAKE
626AUTOHEADER
627MAKEINFO
628install_sh
629STRIP
630INSTALL_STRIP_PROGRAM
631mkdir_p
632AWK
633SET_MAKE
634am__leading_dot
635AMTAR
636am__tar
637am__untar
638RANLIB
639CC
640CFLAGS
641LDFLAGS
642CPPFLAGS
643ac_ct_CC
644EXEEXT
645OBJEXT
646DEPDIR
647am__include
648am__quote
649AMDEP_TRUE
650AMDEP_FALSE
651AMDEPBACKSLASH
652CCDEPMODE
653am__fastdepCC_TRUE
654am__fastdepCC_FALSE
655build
656build_cpu
657build_vendor
658build_os
659host
660host_cpu
661host_vendor
662host_os
663LIBOBJS
664LTLIBOBJS'
665ac_subst_files=''
666      ac_precious_vars='build_alias
667host_alias
668target_alias
669CC
670CFLAGS
671LDFLAGS
672LIBS
673CPPFLAGS'
674
675
676# Initialize some variables set by options.
677ac_init_help=
678ac_init_version=false
679# The variables have the same names as the options, with
680# dashes changed to underlines.
681cache_file=/dev/null
682exec_prefix=NONE
683no_create=
684no_recursion=
685prefix=NONE
686program_prefix=NONE
687program_suffix=NONE
688program_transform_name=s,x,x,
689silent=
690site=
691srcdir=
692verbose=
693x_includes=NONE
694x_libraries=NONE
695
696# Installation directory options.
697# These are left unexpanded so users can "make install exec_prefix=/foo"
698# and all the variables that are supposed to be based on exec_prefix
699# by default will actually change.
700# Use braces instead of parens because sh, perl, etc. also accept them.
701# (The list follows the same order as the GNU Coding Standards.)
702bindir='${exec_prefix}/bin'
703sbindir='${exec_prefix}/sbin'
704libexecdir='${exec_prefix}/libexec'
705datarootdir='${prefix}/share'
706datadir='${datarootdir}'
707sysconfdir='${prefix}/etc'
708sharedstatedir='${prefix}/com'
709localstatedir='${prefix}/var'
710includedir='${prefix}/include'
711oldincludedir='/usr/include'
712docdir='${datarootdir}/doc/${PACKAGE}'
713infodir='${datarootdir}/info'
714htmldir='${docdir}'
715dvidir='${docdir}'
716pdfdir='${docdir}'
717psdir='${docdir}'
718libdir='${exec_prefix}/lib'
719localedir='${datarootdir}/locale'
720mandir='${datarootdir}/man'
721
722ac_prev=
723ac_dashdash=
724for ac_option
725do
726  # If the previous option needs an argument, assign it.
727  if test -n "$ac_prev"; then
728    eval $ac_prev=\$ac_option
729    ac_prev=
730    continue
731  fi
732
733  case $ac_option in
734  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
735  *)    ac_optarg=yes ;;
736  esac
737
738  # Accept the important Cygnus configure options, so we can diagnose typos.
739
740  case $ac_dashdash$ac_option in
741  --)
742    ac_dashdash=yes ;;
743
744  -bindir | --bindir | --bindi | --bind | --bin | --bi)
745    ac_prev=bindir ;;
746  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
747    bindir=$ac_optarg ;;
748
749  -build | --build | --buil | --bui | --bu)
750    ac_prev=build_alias ;;
751  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
752    build_alias=$ac_optarg ;;
753
754  -cache-file | --cache-file | --cache-fil | --cache-fi \
755  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
756    ac_prev=cache_file ;;
757  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
758  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
759    cache_file=$ac_optarg ;;
760
761  --config-cache | -C)
762    cache_file=config.cache ;;
763
764  -datadir | --datadir | --datadi | --datad)
765    ac_prev=datadir ;;
766  -datadir=* | --datadir=* | --datadi=* | --datad=*)
767    datadir=$ac_optarg ;;
768
769  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
770  | --dataroo | --dataro | --datar)
771    ac_prev=datarootdir ;;
772  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
773  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
774    datarootdir=$ac_optarg ;;
775
776  -disable-* | --disable-*)
777    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
778    # Reject names that are not valid shell variable names.
779    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
780      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
781   { (exit 1); exit 1; }; }
782    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
783    eval enable_$ac_feature=no ;;
784
785  -docdir | --docdir | --docdi | --doc | --do)
786    ac_prev=docdir ;;
787  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
788    docdir=$ac_optarg ;;
789
790  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
791    ac_prev=dvidir ;;
792  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
793    dvidir=$ac_optarg ;;
794
795  -enable-* | --enable-*)
796    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
797    # Reject names that are not valid shell variable names.
798    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
799      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
800   { (exit 1); exit 1; }; }
801    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
802    eval enable_$ac_feature=\$ac_optarg ;;
803
804  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
805  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
806  | --exec | --exe | --ex)
807    ac_prev=exec_prefix ;;
808  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
809  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
810  | --exec=* | --exe=* | --ex=*)
811    exec_prefix=$ac_optarg ;;
812
813  -gas | --gas | --ga | --g)
814    # Obsolete; use --with-gas.
815    with_gas=yes ;;
816
817  -help | --help | --hel | --he | -h)
818    ac_init_help=long ;;
819  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
820    ac_init_help=recursive ;;
821  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
822    ac_init_help=short ;;
823
824  -host | --host | --hos | --ho)
825    ac_prev=host_alias ;;
826  -host=* | --host=* | --hos=* | --ho=*)
827    host_alias=$ac_optarg ;;
828
829  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
830    ac_prev=htmldir ;;
831  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
832  | --ht=*)
833    htmldir=$ac_optarg ;;
834
835  -includedir | --includedir | --includedi | --included | --include \
836  | --includ | --inclu | --incl | --inc)
837    ac_prev=includedir ;;
838  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
839  | --includ=* | --inclu=* | --incl=* | --inc=*)
840    includedir=$ac_optarg ;;
841
842  -infodir | --infodir | --infodi | --infod | --info | --inf)
843    ac_prev=infodir ;;
844  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
845    infodir=$ac_optarg ;;
846
847  -libdir | --libdir | --libdi | --libd)
848    ac_prev=libdir ;;
849  -libdir=* | --libdir=* | --libdi=* | --libd=*)
850    libdir=$ac_optarg ;;
851
852  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
853  | --libexe | --libex | --libe)
854    ac_prev=libexecdir ;;
855  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
856  | --libexe=* | --libex=* | --libe=*)
857    libexecdir=$ac_optarg ;;
858
859  -localedir | --localedir | --localedi | --localed | --locale)
860    ac_prev=localedir ;;
861  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
862    localedir=$ac_optarg ;;
863
864  -localstatedir | --localstatedir | --localstatedi | --localstated \
865  | --localstate | --localstat | --localsta | --localst | --locals)
866    ac_prev=localstatedir ;;
867  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
868  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
869    localstatedir=$ac_optarg ;;
870
871  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
872    ac_prev=mandir ;;
873  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
874    mandir=$ac_optarg ;;
875
876  -nfp | --nfp | --nf)
877    # Obsolete; use --without-fp.
878    with_fp=no ;;
879
880  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
881  | --no-cr | --no-c | -n)
882    no_create=yes ;;
883
884  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
885  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
886    no_recursion=yes ;;
887
888  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
889  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
890  | --oldin | --oldi | --old | --ol | --o)
891    ac_prev=oldincludedir ;;
892  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
893  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
894  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
895    oldincludedir=$ac_optarg ;;
896
897  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
898    ac_prev=prefix ;;
899  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
900    prefix=$ac_optarg ;;
901
902  -program-prefix | --program-prefix | --program-prefi | --program-pref \
903  | --program-pre | --program-pr | --program-p)
904    ac_prev=program_prefix ;;
905  -program-prefix=* | --program-prefix=* | --program-prefi=* \
906  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
907    program_prefix=$ac_optarg ;;
908
909  -program-suffix | --program-suffix | --program-suffi | --program-suff \
910  | --program-suf | --program-su | --program-s)
911    ac_prev=program_suffix ;;
912  -program-suffix=* | --program-suffix=* | --program-suffi=* \
913  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
914    program_suffix=$ac_optarg ;;
915
916  -program-transform-name | --program-transform-name \
917  | --program-transform-nam | --program-transform-na \
918  | --program-transform-n | --program-transform- \
919  | --program-transform | --program-transfor \
920  | --program-transfo | --program-transf \
921  | --program-trans | --program-tran \
922  | --progr-tra | --program-tr | --program-t)
923    ac_prev=program_transform_name ;;
924  -program-transform-name=* | --program-transform-name=* \
925  | --program-transform-nam=* | --program-transform-na=* \
926  | --program-transform-n=* | --program-transform-=* \
927  | --program-transform=* | --program-transfor=* \
928  | --program-transfo=* | --program-transf=* \
929  | --program-trans=* | --program-tran=* \
930  | --progr-tra=* | --program-tr=* | --program-t=*)
931    program_transform_name=$ac_optarg ;;
932
933  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
934    ac_prev=pdfdir ;;
935  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
936    pdfdir=$ac_optarg ;;
937
938  -psdir | --psdir | --psdi | --psd | --ps)
939    ac_prev=psdir ;;
940  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
941    psdir=$ac_optarg ;;
942
943  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
944  | -silent | --silent | --silen | --sile | --sil)
945    silent=yes ;;
946
947  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
948    ac_prev=sbindir ;;
949  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
950  | --sbi=* | --sb=*)
951    sbindir=$ac_optarg ;;
952
953  -sharedstatedir | --sharedstatedir | --sharedstatedi \
954  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
955  | --sharedst | --shareds | --shared | --share | --shar \
956  | --sha | --sh)
957    ac_prev=sharedstatedir ;;
958  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
959  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
960  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
961  | --sha=* | --sh=*)
962    sharedstatedir=$ac_optarg ;;
963
964  -site | --site | --sit)
965    ac_prev=site ;;
966  -site=* | --site=* | --sit=*)
967    site=$ac_optarg ;;
968
969  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
970    ac_prev=srcdir ;;
971  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
972    srcdir=$ac_optarg ;;
973
974  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
975  | --syscon | --sysco | --sysc | --sys | --sy)
976    ac_prev=sysconfdir ;;
977  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
978  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
979    sysconfdir=$ac_optarg ;;
980
981  -target | --target | --targe | --targ | --tar | --ta | --t)
982    ac_prev=target_alias ;;
983  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
984    target_alias=$ac_optarg ;;
985
986  -v | -verbose | --verbose | --verbos | --verbo | --verb)
987    verbose=yes ;;
988
989  -version | --version | --versio | --versi | --vers | -V)
990    ac_init_version=: ;;
991
992  -with-* | --with-*)
993    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
994    # Reject names that are not valid shell variable names.
995    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
996      { echo "$as_me: error: invalid package name: $ac_package" >&2
997   { (exit 1); exit 1; }; }
998    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
999    eval with_$ac_package=\$ac_optarg ;;
1000
1001  -without-* | --without-*)
1002    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1003    # Reject names that are not valid shell variable names.
1004    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1005      { echo "$as_me: error: invalid package name: $ac_package" >&2
1006   { (exit 1); exit 1; }; }
1007    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1008    eval with_$ac_package=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  -*) { echo "$as_me: error: unrecognized option: $ac_option
1029Try \`$0 --help' for more information." >&2
1030   { (exit 1); exit 1; }; }
1031    ;;
1032
1033  *=*)
1034    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1035    # Reject names that are not valid shell variable names.
1036    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1037      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1038   { (exit 1); exit 1; }; }
1039    eval $ac_envvar=\$ac_optarg
1040    export $ac_envvar ;;
1041
1042  *)
1043    # FIXME: should be removed in autoconf 3.0.
1044    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1045    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1046      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
1051done
1052
1053if test -n "$ac_prev"; then
1054  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1055  { echo "$as_me: error: missing argument to $ac_option" >&2
1056   { (exit 1); exit 1; }; }
1057fi
1058
1059# Be sure to have absolute directory names.
1060for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1061        datadir sysconfdir sharedstatedir localstatedir includedir \
1062        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1063        libdir localedir mandir
1064do
1065  eval ac_val=\$$ac_var
1066  case $ac_val in
1067    [\\/$]* | ?:[\\/]* )  continue;;
1068    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1069  esac
1070  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1071   { (exit 1); exit 1; }; }
1072done
1073
1074# There might be people who depend on the old broken behavior: `$host'
1075# used to hold the argument of --host etc.
1076# FIXME: To remove some day.
1077build=$build_alias
1078host=$host_alias
1079target=$target_alias
1080
1081# FIXME: To remove some day.
1082if test "x$host_alias" != x; then
1083  if test "x$build_alias" = x; then
1084    cross_compiling=maybe
1085    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1086    If a cross compiler is detected then cross compile mode will be used." >&2
1087  elif test "x$build_alias" != "x$host_alias"; then
1088    cross_compiling=yes
1089  fi
1090fi
1091
1092ac_tool_prefix=
1093test -n "$host_alias" && ac_tool_prefix=$host_alias-
1094
1095test "$silent" = yes && exec 6>/dev/null
1096
1097
1098ac_pwd=`pwd` && test -n "$ac_pwd" &&
1099ac_ls_di=`ls -di .` &&
1100ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1101  { echo "$as_me: error: Working directory cannot be determined" >&2
1102   { (exit 1); exit 1; }; }
1103test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1104  { echo "$as_me: error: pwd does not report name of working directory" >&2
1105   { (exit 1); exit 1; }; }
1106
1107
1108# Find the source files, if location was not specified.
1109if test -z "$srcdir"; then
1110  ac_srcdir_defaulted=yes
1111  # Try the directory containing this script, then the parent directory.
1112  ac_confdir=`$as_dirname -- "$0" ||
1113$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1114     X"$0" : 'X\(//\)[^/]' \| \
1115     X"$0" : 'X\(//\)$' \| \
1116     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1117echo X"$0" |
1118    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1119        s//\1/
1120        q
1121      }
1122      /^X\(\/\/\)[^/].*/{
1123        s//\1/
1124        q
1125      }
1126      /^X\(\/\/\)$/{
1127        s//\1/
1128        q
1129      }
1130      /^X\(\/\).*/{
1131        s//\1/
1132        q
1133      }
1134      s/.*/./; q'`
1135  srcdir=$ac_confdir
1136  if test ! -r "$srcdir/$ac_unique_file"; then
1137    srcdir=..
1138  fi
1139else
1140  ac_srcdir_defaulted=no
1141fi
1142if test ! -r "$srcdir/$ac_unique_file"; then
1143  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1144  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1145   { (exit 1); exit 1; }; }
1146fi
1147ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1148ac_abs_confdir=`(
1149    cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1150   { (exit 1); exit 1; }; }
1151    pwd)`
1152# When building in place, set srcdir=.
1153if test "$ac_abs_confdir" = "$ac_pwd"; then
1154  srcdir=.
1155fi
1156# Remove unnecessary trailing slashes from srcdir.
1157# Double slashes in file names in object file debugging info
1158# mess up M-x gdb in Emacs.
1159case $srcdir in
1160*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1161esac
1162for ac_var in $ac_precious_vars; do
1163  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1164  eval ac_env_${ac_var}_value=\$${ac_var}
1165  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1166  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1167done
1168
1169#
1170# Report the --help message.
1171#
1172if test "$ac_init_help" = "long"; then
1173  # Omit some internal or obsolete options to make the list less imposing.
1174  # This message is too long to be a string in the A/UX 3.1 sh.
1175  cat <<_ACEOF
1176\`configure' configures this package to adapt to many kinds of systems.
1177
1178Usage: $0 [OPTION]... [VAR=VALUE]...
1179
1180To assign environment variables (e.g., CC, CFLAGS...), specify them as
1181VAR=VALUE.  See below for descriptions of some of the useful variables.
1182
1183Defaults for the options are specified in brackets.
1184
1185Configuration:
1186  -h, --help              display this help and exit
1187      --help=short        display options specific to this package
1188      --help=recursive    display the short help of all the included packages
1189  -V, --version           display version information and exit
1190  -q, --quiet, --silent   do not print \`checking...' messages
1191      --cache-file=FILE   cache test results in FILE [disabled]
1192  -C, --config-cache      alias for \`--cache-file=config.cache'
1193  -n, --no-create         do not create output files
1194      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1195
1196Installation directories:
1197  --prefix=PREFIX         install architecture-independent files in PREFIX
1198              [$ac_default_prefix]
1199  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1200              [PREFIX]
1201
1202By default, \`make install' will install all the files in
1203\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1204an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1205for instance \`--prefix=\$HOME'.
1206
1207For better control, use the options below.
1208
1209Fine tuning of the installation directories:
1210  --bindir=DIR           user executables [EPREFIX/bin]
1211  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1212  --libexecdir=DIR       program executables [EPREFIX/libexec]
1213  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1214  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1215  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1216  --libdir=DIR           object code libraries [EPREFIX/lib]
1217  --includedir=DIR       C header files [PREFIX/include]
1218  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1219  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1220  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1221  --infodir=DIR          info documentation [DATAROOTDIR/info]
1222  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1223  --mandir=DIR           man documentation [DATAROOTDIR/man]
1224  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1225  --htmldir=DIR          html documentation [DOCDIR]
1226  --dvidir=DIR           dvi documentation [DOCDIR]
1227  --pdfdir=DIR           pdf documentation [DOCDIR]
1228  --psdir=DIR            ps documentation [DOCDIR]
1229_ACEOF
1230
1231  cat <<\_ACEOF
1232
1233Program names:
1234  --program-prefix=PREFIX            prepend PREFIX to installed program names
1235  --program-suffix=SUFFIX            append SUFFIX to installed program names
1236  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1237
1238System types:
1239  --build=BUILD     configure for building on BUILD [guessed]
1240  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1241_ACEOF
1242fi
1243
1244if test -n "$ac_init_help"; then
1245
1246  cat <<\_ACEOF
1247
1248Optional Features:
1249  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1250  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1251  compiles with debugging info
1252 compiles with opengl
1253  --disable-dependency-tracking  speeds up one-time build
1254  --enable-dependency-tracking   do not reject slow dependency extractors
1255
1256Some influential environment variables:
1257  CC          C compiler command
1258  CFLAGS      C compiler flags
1259  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1260              nonstandard directory <lib dir>
1261  LIBS        libraries to pass to the linker, e.g. -l<library>
1262  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1263              you have headers in a nonstandard directory <include dir>
1264
1265Use these variables to override the choices made by `configure' or to help
1266it to find libraries and programs with nonstandard names/locations.
1267
1268_ACEOF
1269ac_status=$?
1270fi
1271
1272if test "$ac_init_help" = "recursive"; then
1273  # If there are subdirs, report their specific --help.
1274  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1275    test -d "$ac_dir" || continue
1276    ac_builddir=.
1277
1278case "$ac_dir" in
1279.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1280*)
1281  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1282  # A ".." for each directory in $ac_dir_suffix.
1283  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1284  case $ac_top_builddir_sub in
1285  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1286  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1287  esac ;;
1288esac
1289ac_abs_top_builddir=$ac_pwd
1290ac_abs_builddir=$ac_pwd$ac_dir_suffix
1291# for backward compatibility:
1292ac_top_builddir=$ac_top_build_prefix
1293
1294case $srcdir in
1295  .)  # We are building in place.
1296    ac_srcdir=.
1297    ac_top_srcdir=$ac_top_builddir_sub
1298    ac_abs_top_srcdir=$ac_pwd ;;
1299  [\\/]* | ?:[\\/]* )  # Absolute name.
1300    ac_srcdir=$srcdir$ac_dir_suffix;
1301    ac_top_srcdir=$srcdir
1302    ac_abs_top_srcdir=$srcdir ;;
1303  *) # Relative name.
1304    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1305    ac_top_srcdir=$ac_top_build_prefix$srcdir
1306    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1307esac
1308ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1309
1310    cd "$ac_dir" || { ac_status=$?; continue; }
1311    # Check for guested configure.
1312    if test -f "$ac_srcdir/configure.gnu"; then
1313      echo &&
1314      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1315    elif test -f "$ac_srcdir/configure"; then
1316      echo &&
1317      $SHELL "$ac_srcdir/configure" --help=recursive
1318    else
1319      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1320    fi || ac_status=$?
1321    cd "$ac_pwd" || { ac_status=$?; break; }
1322  done
1323fi
1324
1325test -n "$ac_init_help" && exit $ac_status
1326if $ac_init_version; then
1327  cat <<\_ACEOF
1328configure
1329generated by GNU Autoconf 2.61
1330
1331Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13322002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1333This configure script is free software; the Free Software Foundation
1334gives unlimited permission to copy, distribute and modify it.
1335_ACEOF
1336  exit
1337fi
1338cat >config.log <<_ACEOF
1339This file contains any messages produced by compilers while
1340running configure, to aid debugging if configure makes a mistake.
1341
1342It was created by $as_me, which was
1343generated by GNU Autoconf 2.61.  Invocation command line was
1344
1345  $ $0 $@
1346
1347_ACEOF
1348exec 5>>config.log
1349{
1350cat <<_ASUNAME
1351## --------- ##
1352## Platform. ##
1353## --------- ##
1354
1355hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1356uname -m = `(uname -m) 2>/dev/null || echo unknown`
1357uname -r = `(uname -r) 2>/dev/null || echo unknown`
1358uname -s = `(uname -s) 2>/dev/null || echo unknown`
1359uname -v = `(uname -v) 2>/dev/null || echo unknown`
1360
1361/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1362/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1363
1364/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1365/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1366/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1367/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1368/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1369/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1370/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1371
1372_ASUNAME
1373
1374as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1375for as_dir in $PATH
1376do
1377  IFS=$as_save_IFS
1378  test -z "$as_dir" && as_dir=.
1379  echo "PATH: $as_dir"
1380done
1381IFS=$as_save_IFS
1382
1383} >&5
1384
1385cat >&5 <<_ACEOF
1386
1387
1388## ----------- ##
1389## Core tests. ##
1390## ----------- ##
1391
1392_ACEOF
1393
1394
1395# Keep a trace of the command line.
1396# Strip out --no-create and --no-recursion so they do not pile up.
1397# Strip out --silent because we don't want to record it for future runs.
1398# Also quote any args containing shell meta-characters.
1399# Make two passes to allow for proper duplicate-argument suppression.
1400ac_configure_args=
1401ac_configure_args0=
1402ac_configure_args1=
1403ac_must_keep_next=false
1404for ac_pass in 1 2
1405do
1406  for ac_arg
1407  do
1408    case $ac_arg in
1409    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1410    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1411    | -silent | --silent | --silen | --sile | --sil)
1412      continue ;;
1413    *\'*)
1414      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1415    esac
1416    case $ac_pass in
1417    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1418    2)
1419      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1420      if test $ac_must_keep_next = true; then
1421    ac_must_keep_next=false # Got value, back to normal.
1422      else
1423    case $ac_arg in
1424      *=* | --config-cache | -C | -disable-* | --disable-* \
1425      | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1426      | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1427      | -with-* | --with-* | -without-* | --without-* | --x)
1428        case "$ac_configure_args0 " in
1429          "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1430        esac
1431        ;;
1432      -* ) ac_must_keep_next=true ;;
1433    esac
1434      fi
1435      ac_configure_args="$ac_configure_args '$ac_arg'"
1436      ;;
1437    esac
1438  done
1439done
1440$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1441$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1442
1443# When interrupted or exit'd, cleanup temporary files, and complete
1444# config.log.  We remove comments because anyway the quotes in there
1445# would cause problems or look ugly.
1446# WARNING: Use '\'' to represent an apostrophe within the trap.
1447# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1448trap 'exit_status=$?
1449  # Save into config.log some information that might help in debugging.
1450  {
1451    echo
1452
1453    cat <<\_ASBOX
1454## ---------------- ##
1455## Cache variables. ##
1456## ---------------- ##
1457_ASBOX
1458    echo
1459    # The following way of writing the cache mishandles newlines in values,
1460(
1461  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1462    eval ac_val=\$$ac_var
1463    case $ac_val in #(
1464    *${as_nl}*)
1465      case $ac_var in #(
1466      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1467echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1468      esac
1469      case $ac_var in #(
1470      _ | IFS | as_nl) ;; #(
1471      *) $as_unset $ac_var ;;
1472      esac ;;
1473    esac
1474  done
1475  (set) 2>&1 |
1476    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1477    *${as_nl}ac_space=\ *)
1478      sed -n \
1479    "s/'\''/'\''\\\\'\'''\''/g;
1480      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1481      ;; #(
1482    *)
1483      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1484      ;;
1485    esac |
1486    sort
1487)
1488    echo
1489
1490    cat <<\_ASBOX
1491## ----------------- ##
1492## Output variables. ##
1493## ----------------- ##
1494_ASBOX
1495    echo
1496    for ac_var in $ac_subst_vars
1497    do
1498      eval ac_val=\$$ac_var
1499      case $ac_val in
1500      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1501      esac
1502      echo "$ac_var='\''$ac_val'\''"
1503    done | sort
1504    echo
1505
1506    if test -n "$ac_subst_files"; then
1507      cat <<\_ASBOX
1508## ------------------- ##
1509## File substitutions. ##
1510## ------------------- ##
1511_ASBOX
1512      echo
1513      for ac_var in $ac_subst_files
1514      do
1515    eval ac_val=\$$ac_var
1516    case $ac_val in
1517    *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1518    esac
1519    echo "$ac_var='\''$ac_val'\''"
1520      done | sort
1521      echo
1522    fi
1523
1524    if test -s confdefs.h; then
1525      cat <<\_ASBOX
1526## ----------- ##
1527## confdefs.h. ##
1528## ----------- ##
1529_ASBOX
1530      echo
1531      cat confdefs.h
1532      echo
1533    fi
1534    test "$ac_signal" != 0 &&
1535      echo "$as_me: caught signal $ac_signal"
1536    echo "$as_me: exit $exit_status"
1537  } >&5
1538  rm -f core *.core core.conftest.* &&
1539    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1540    exit $exit_status
1541' 0
1542for ac_signal in 1 2 13 15; do
1543  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1544done
1545ac_signal=0
1546
1547# confdefs.h avoids OS command line length limits that DEFS can exceed.
1548rm -f -r conftest* confdefs.h
1549
1550# Predefined preprocessor variables.
1551
1552cat >>confdefs.h <<_ACEOF
1553#define PACKAGE_NAME "$PACKAGE_NAME"
1554_ACEOF
1555
1556
1557cat >>confdefs.h <<_ACEOF
1558#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1559_ACEOF
1560
1561
1562cat >>confdefs.h <<_ACEOF
1563#define PACKAGE_VERSION "$PACKAGE_VERSION"
1564_ACEOF
1565
1566
1567cat >>confdefs.h <<_ACEOF
1568#define PACKAGE_STRING "$PACKAGE_STRING"
1569_ACEOF
1570
1571
1572cat >>confdefs.h <<_ACEOF
1573#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1574_ACEOF
1575
1576
1577# Let the site file select an alternate cache file if it wants to.
1578# Prefer explicitly selected file to automatically selected ones.
1579if test -n "$CONFIG_SITE"; then
1580  set x "$CONFIG_SITE"
1581elif test "x$prefix" != xNONE; then
1582  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1583else
1584  set x "$ac_default_prefix/share/config.site" \
1585    "$ac_default_prefix/etc/config.site"
1586fi
1587shift
1588for ac_site_file
1589do
1590  if test -r "$ac_site_file"; then
1591    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1592echo "$as_me: loading site script $ac_site_file" >&6;}
1593    sed 's/^/| /' "$ac_site_file" >&5
1594    . "$ac_site_file"
1595  fi
1596done
1597
1598if test -r "$cache_file"; then
1599  # Some versions of bash will fail to source /dev/null (special
1600  # files actually), so we avoid doing that.
1601  if test -f "$cache_file"; then
1602    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1603echo "$as_me: loading cache $cache_file" >&6;}
1604    case $cache_file in
1605      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1606      *)                      . "./$cache_file";;
1607    esac
1608  fi
1609else
1610  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1611echo "$as_me: creating cache $cache_file" >&6;}
1612  >$cache_file
1613fi
1614
1615# Check that the precious variables saved in the cache have kept the same
1616# value.
1617ac_cache_corrupted=false
1618for ac_var in $ac_precious_vars; do
1619  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1620  eval ac_new_set=\$ac_env_${ac_var}_set
1621  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1622  eval ac_new_val=\$ac_env_${ac_var}_value
1623  case $ac_old_set,$ac_new_set in
1624    set,)
1625      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1626echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1627      ac_cache_corrupted=: ;;
1628    ,set)
1629      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1630echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1631      ac_cache_corrupted=: ;;
1632    ,);;
1633    *)
1634      if test "x$ac_old_val" != "x$ac_new_val"; then
1635    { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1636echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1637    { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1638echo "$as_me:   former value:  $ac_old_val" >&2;}
1639    { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1640echo "$as_me:   current value: $ac_new_val" >&2;}
1641    ac_cache_corrupted=:
1642      fi;;
1643  esac
1644  # Pass precious variables to config.status.
1645  if test "$ac_new_set" = set; then
1646    case $ac_new_val in
1647    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1648    *) ac_arg=$ac_var=$ac_new_val ;;
1649    esac
1650    case " $ac_configure_args " in
1651      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1652      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1653    esac
1654  fi
1655done
1656if $ac_cache_corrupted; then
1657  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1658echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1659  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1660echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1661   { (exit 1); exit 1; }; }
1662fi
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680ac_ext=c
1681ac_cpp='$CPP $CPPFLAGS'
1682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1684ac_compiler_gnu=$ac_cv_c_compiler_gnu
1685
1686
1687am__api_version="1.9"
1688ac_aux_dir=
1689for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1690  if test -f "$ac_dir/install-sh"; then
1691    ac_aux_dir=$ac_dir
1692    ac_install_sh="$ac_aux_dir/install-sh -c"
1693    break
1694  elif test -f "$ac_dir/install.sh"; then
1695    ac_aux_dir=$ac_dir
1696    ac_install_sh="$ac_aux_dir/install.sh -c"
1697    break
1698  elif test -f "$ac_dir/shtool"; then
1699    ac_aux_dir=$ac_dir
1700    ac_install_sh="$ac_aux_dir/shtool install -c"
1701    break
1702  fi
1703done
1704if test -z "$ac_aux_dir"; then
1705  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1706echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1707   { (exit 1); exit 1; }; }
1708fi
1709
1710# These three variables are undocumented and unsupported,
1711# and are intended to be withdrawn in a future Autoconf release.
1712# They can cause serious problems if a builder's source tree is in a directory
1713# whose full name contains unusual characters.
1714ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1715ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1716ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1717
1718
1719# Find a good install program.  We prefer a C program (faster),
1720# so one script is as good as another.  But avoid the broken or
1721# incompatible versions:
1722# SysV /etc/install, /usr/sbin/install
1723# SunOS /usr/etc/install
1724# IRIX /sbin/install
1725# AIX /bin/install
1726# AmigaOS /C/install, which installs bootblocks on floppy discs
1727# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1728# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1729# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1730# OS/2's system install, which has a completely different semantic
1731# ./install, which can be erroneously created by make from ./install.sh.
1732{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1733echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1734if test -z "$INSTALL"; then
1735if test "${ac_cv_path_install+set}" = set; then
1736  echo $ECHO_N "(cached) $ECHO_C" >&6
1737else
1738  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1739for as_dir in $PATH
1740do
1741  IFS=$as_save_IFS
1742  test -z "$as_dir" && as_dir=.
1743  # Account for people who put trailing slashes in PATH elements.
1744case $as_dir/ in
1745  ./ | .// | /cC/* | \
1746  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1747  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1748  /usr/ucb/* ) ;;
1749  *)
1750    # OSF1 and SCO ODT 3.0 have their own names for install.
1751    # Don't use installbsd from OSF since it installs stuff as root
1752    # by default.
1753    for ac_prog in ginstall scoinst install; do
1754      for ac_exec_ext in '' $ac_executable_extensions; do
1755    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1756      if test $ac_prog = install &&
1757        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1758        # AIX install.  It has an incompatible calling convention.
1759        :
1760      elif test $ac_prog = install &&
1761        grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1762        # program-specific install script used by HP pwplus--don't use.
1763        :
1764      else
1765        ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1766        break 3
1767      fi
1768    fi
1769      done
1770    done
1771    ;;
1772esac
1773done
1774IFS=$as_save_IFS
1775
1776
1777fi
1778  if test "${ac_cv_path_install+set}" = set; then
1779    INSTALL=$ac_cv_path_install
1780  else
1781    # As a last resort, use the slow shell script.  Don't cache a
1782    # value for INSTALL within a source directory, because that will
1783    # break other packages using the cache if that directory is
1784    # removed, or if the value is a relative name.
1785    INSTALL=$ac_install_sh
1786  fi
1787fi
1788{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1789echo "${ECHO_T}$INSTALL" >&6; }
1790
1791# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1792# It thinks the first close brace ends the variable substitution.
1793test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1794
1795test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1796
1797test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1798
1799{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1800echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1801# Just in case
1802sleep 1
1803echo timestamp > conftest.file
1804# Do `set' in a subshell so we don't clobber the current shell's
1805# arguments.  Must try -L first in case configure is actually a
1806# symlink; some systems play weird games with the mod time of symlinks
1807# (eg FreeBSD returns the mod time of the symlink's containing
1808# directory).
1809if (
1810   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1811   if test "$*" = "X"; then
1812      # -L didn't work.
1813      set X `ls -t $srcdir/configure conftest.file`
1814   fi
1815   rm -f conftest.file
1816   if test "$*" != "X $srcdir/configure conftest.file" \
1817      && test "$*" != "X conftest.file $srcdir/configure"; then
1818
1819      # If neither matched, then we have a broken ls.  This can happen
1820      # if, for instance, CONFIG_SHELL is bash and it inherits a
1821      # broken ls alias from the environment.  This has actually
1822      # happened.  Such a system could not be considered "sane".
1823      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1824alias in your environment" >&5
1825echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1826alias in your environment" >&2;}
1827   { (exit 1); exit 1; }; }
1828   fi
1829
1830   test "$2" = conftest.file
1831   )
1832then
1833   # Ok.
1834   :
1835else
1836   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1837Check your system clock" >&5
1838echo "$as_me: error: newly created file is older than distributed files!
1839Check your system clock" >&2;}
1840   { (exit 1); exit 1; }; }
1841fi
1842{ echo "$as_me:$LINENO: result: yes" >&5
1843echo "${ECHO_T}yes" >&6; }
1844test "$program_prefix" != NONE &&
1845  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1846# Use a double $ so make ignores it.
1847test "$program_suffix" != NONE &&
1848  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1849# Double any \ or $.  echo might interpret backslashes.
1850# By default was `s,x,x', remove it if useless.
1851cat <<\_ACEOF >conftest.sed
1852s/[\\$]/&&/g;s/;s,x,x,$//
1853_ACEOF
1854program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1855rm -f conftest.sed
1856
1857# expand $ac_aux_dir to an absolute path
1858am_aux_dir=`cd $ac_aux_dir && pwd`
1859
1860test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1861# Use eval to expand $SHELL
1862if eval "$MISSING --run true"; then
1863  am_missing_run="$MISSING --run "
1864else
1865  am_missing_run=
1866  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1867echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1868fi
1869
1870if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1871  # We used to keeping the `.' as first argument, in order to
1872  # allow $(mkdir_p) to be used without argument.  As in
1873  #   $(mkdir_p) $(somedir)
1874  # where $(somedir) is conditionally defined.  However this is wrong
1875  # for two reasons:
1876  #  1. if the package is installed by a user who cannot write `.'
1877  #     make install will fail,
1878  #  2. the above comment should most certainly read
1879  #     $(mkdir_p) $(DESTDIR)$(somedir)
1880  #     so it does not work when $(somedir) is undefined and
1881  #     $(DESTDIR) is not.
1882  #  To support the latter case, we have to write
1883  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1884  #  so the `.' trick is pointless.
1885  mkdir_p='mkdir -p --'
1886else
1887  # On NextStep and OpenStep, the `mkdir' command does not
1888  # recognize any option.  It will interpret all options as
1889  # directories to create, and then abort because `.' already
1890  # exists.
1891  for d in ./-p ./--version;
1892  do
1893    test -d $d && rmdir $d
1894  done
1895  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1896  if test -f "$ac_aux_dir/mkinstalldirs"; then
1897    mkdir_p='$(mkinstalldirs)'
1898  else
1899    mkdir_p='$(install_sh) -d'
1900  fi
1901fi
1902
1903for ac_prog in gawk mawk nawk awk
1904do
1905  # Extract the first word of "$ac_prog", so it can be a program name with args.
1906set dummy $ac_prog; ac_word=$2
1907{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1908echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1909if test "${ac_cv_prog_AWK+set}" = set; then
1910  echo $ECHO_N "(cached) $ECHO_C" >&6
1911else
1912  if test -n "$AWK"; then
1913  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1914else
1915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1916for as_dir in $PATH
1917do
1918  IFS=$as_save_IFS
1919  test -z "$as_dir" && as_dir=.
1920  for ac_exec_ext in '' $ac_executable_extensions; do
1921  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1922    ac_cv_prog_AWK="$ac_prog"
1923    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1924    break 2
1925  fi
1926done
1927done
1928IFS=$as_save_IFS
1929
1930fi
1931fi
1932AWK=$ac_cv_prog_AWK
1933if test -n "$AWK"; then
1934  { echo "$as_me:$LINENO: result: $AWK" >&5
1935echo "${ECHO_T}$AWK" >&6; }
1936else
1937  { echo "$as_me:$LINENO: result: no" >&5
1938echo "${ECHO_T}no" >&6; }
1939fi
1940
1941
1942  test -n "$AWK" && break
1943done
1944
1945{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1946echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1947set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1948if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1949  echo $ECHO_N "(cached) $ECHO_C" >&6
1950else
1951  cat >conftest.make <<\_ACEOF
1952SHELL = /bin/sh
1953all:
1954    @echo '@@@%%%=$(MAKE)=@@@%%%'
1955_ACEOF
1956# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1957case `${MAKE-make} -f conftest.make 2>/dev/null` in
1958  *@@@%%%=?*=@@@%%%*)
1959    eval ac_cv_prog_make_${ac_make}_set=yes;;
1960  *)
1961    eval ac_cv_prog_make_${ac_make}_set=no;;
1962esac
1963rm -f conftest.make
1964fi
1965if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1966  { echo "$as_me:$LINENO: result: yes" >&5
1967echo "${ECHO_T}yes" >&6; }
1968  SET_MAKE=
1969else
1970  { echo "$as_me:$LINENO: result: no" >&5
1971echo "${ECHO_T}no" >&6; }
1972  SET_MAKE="MAKE=${MAKE-make}"
1973fi
1974
1975rm -rf .tst 2>/dev/null
1976mkdir .tst 2>/dev/null
1977if test -d .tst; then
1978  am__leading_dot=.
1979else
1980  am__leading_dot=_
1981fi
1982rmdir .tst 2>/dev/null
1983
1984# test to see if srcdir already configured
1985if test "`cd $srcdir && pwd`" != "`pwd`" &&
1986   test -f $srcdir/config.status; then
1987  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1988echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1989   { (exit 1); exit 1; }; }
1990fi
1991
1992# test whether we have cygpath
1993if test -z "$CYGPATH_W"; then
1994  if (cygpath --version) >/dev/null 2>/dev/null; then
1995    CYGPATH_W='cygpath -w'
1996  else
1997    CYGPATH_W=echo
1998  fi
1999fi
2000
2001
2002# Define the identity of the package.
2003 PACKAGE=lifeglut
2004 VERSION=0.1
2005
2006
2007cat >>confdefs.h <<_ACEOF
2008#define PACKAGE "$PACKAGE"
2009_ACEOF
2010
2011
2012cat >>confdefs.h <<_ACEOF
2013#define VERSION "$VERSION"
2014_ACEOF
2015
2016# Some tools Automake needs.
2017
2018ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2019
2020
2021AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2022
2023
2024AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2025
2026
2027AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2028
2029
2030MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2031
2032install_sh=${install_sh-"$am_aux_dir/install-sh"}
2033
2034# Installed binaries are usually stripped using `strip' when the user
2035# run `make install-strip'.  However `strip' might not be the right
2036# tool to use in cross-compilation environments, therefore Automake
2037# will honor the `STRIP' environment variable to overrule this program.
2038if test "$cross_compiling" != no; then
2039  if test -n "$ac_tool_prefix"; then
2040  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2041set dummy ${ac_tool_prefix}strip; ac_word=$2
2042{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2043echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2044if test "${ac_cv_prog_STRIP+set}" = set; then
2045  echo $ECHO_N "(cached) $ECHO_C" >&6
2046else
2047  if test -n "$STRIP"; then
2048  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2049else
2050as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051for as_dir in $PATH
2052do
2053  IFS=$as_save_IFS
2054  test -z "$as_dir" && as_dir=.
2055  for ac_exec_ext in '' $ac_executable_extensions; do
2056  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2057    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2058    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2059    break 2
2060  fi
2061done
2062done
2063IFS=$as_save_IFS
2064
2065fi
2066fi
2067STRIP=$ac_cv_prog_STRIP
2068if test -n "$STRIP"; then
2069  { echo "$as_me:$LINENO: result: $STRIP" >&5
2070echo "${ECHO_T}$STRIP" >&6; }
2071else
2072  { echo "$as_me:$LINENO: result: no" >&5
2073echo "${ECHO_T}no" >&6; }
2074fi
2075
2076
2077fi
2078if test -z "$ac_cv_prog_STRIP"; then
2079  ac_ct_STRIP=$STRIP
2080  # Extract the first word of "strip", so it can be a program name with args.
2081set dummy strip; ac_word=$2
2082{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2083echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2084if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2085  echo $ECHO_N "(cached) $ECHO_C" >&6
2086else
2087  if test -n "$ac_ct_STRIP"; then
2088  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2089else
2090as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091for as_dir in $PATH
2092do
2093  IFS=$as_save_IFS
2094  test -z "$as_dir" && as_dir=.
2095  for ac_exec_ext in '' $ac_executable_extensions; do
2096  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2097    ac_cv_prog_ac_ct_STRIP="strip"
2098    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099    break 2
2100  fi
2101done
2102done
2103IFS=$as_save_IFS
2104
2105fi
2106fi
2107ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2108if test -n "$ac_ct_STRIP"; then
2109  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2110echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2111else
2112  { echo "$as_me:$LINENO: result: no" >&5
2113echo "${ECHO_T}no" >&6; }
2114fi
2115
2116  if test "x$ac_ct_STRIP" = x; then
2117    STRIP=":"
2118  else
2119    case $cross_compiling:$ac_tool_warned in
2120yes:)
2121{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2122whose name does not start with the host triplet.  If you think this
2123configuration is useful to you, please write to autoconf@gnu.org." >&5
2124echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2125whose name does not start with the host triplet.  If you think this
2126configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2127ac_tool_warned=yes ;;
2128esac
2129    STRIP=$ac_ct_STRIP
2130  fi
2131else
2132  STRIP="$ac_cv_prog_STRIP"
2133fi
2134
2135fi
2136INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2137
2138# We need awk for the "check" target.  The system "awk" is bad on
2139# some platforms.
2140# Always define AMTAR for backward compatibility.
2141
2142AMTAR=${AMTAR-"${am_missing_run}tar"}
2143
2144am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2145
2146
2147
2148
2149
2150
2151CFLAGS="-Wall -O3 -msse2"
2152
2153
2154# Check whether --enable-debug was given.
2155if test "${enable_debug+set}" = set; then
2156  enableval=$enable_debug; if test x$enableval = xyes; then
2157    CFLAGS="-Wall -ggdb -O2 -msse2"
2158fi
2159fi
2160
2161
2162# Check whether --enable-opengl was given.
2163if test "${enable_opengl+set}" = set; then
2164  enableval=$enable_opengl; if test x$enableval = xyes; then
2165    useopengl="true"
2166fi
2167else
2168  useopengl="true"
2169
2170fi
2171
2172
2173if test -n "$ac_tool_prefix"; then
2174  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2175set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2176{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2177echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2178if test "${ac_cv_prog_RANLIB+set}" = set; then
2179  echo $ECHO_N "(cached) $ECHO_C" >&6
2180else
2181  if test -n "$RANLIB"; then
2182  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2183else
2184as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2185for as_dir in $PATH
2186do
2187  IFS=$as_save_IFS
2188  test -z "$as_dir" && as_dir=.
2189  for ac_exec_ext in '' $ac_executable_extensions; do
2190  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2192    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193    break 2
2194  fi
2195done
2196done
2197IFS=$as_save_IFS
2198
2199fi
2200fi
2201RANLIB=$ac_cv_prog_RANLIB
2202if test -n "$RANLIB"; then
2203  { echo "$as_me:$LINENO: result: $RANLIB" >&5
2204echo "${ECHO_T}$RANLIB" >&6; }
2205else
2206  { echo "$as_me:$LINENO: result: no" >&5
2207echo "${ECHO_T}no" >&6; }
2208fi
2209
2210
2211fi
2212if test -z "$ac_cv_prog_RANLIB"; then
2213  ac_ct_RANLIB=$RANLIB
2214  # Extract the first word of "ranlib", so it can be a program name with args.
2215set dummy ranlib; ac_word=$2
2216{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2217echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2218if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2219  echo $ECHO_N "(cached) $ECHO_C" >&6
2220else
2221  if test -n "$ac_ct_RANLIB"; then
2222  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2223else
2224as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225for as_dir in $PATH
2226do
2227  IFS=$as_save_IFS
2228  test -z "$as_dir" && as_dir=.
2229  for ac_exec_ext in '' $ac_executable_extensions; do
2230  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2231    ac_cv_prog_ac_ct_RANLIB="ranlib"
2232    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233    break 2
2234  fi
2235done
2236done
2237IFS=$as_save_IFS
2238
2239fi
2240fi
2241ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2242if test -n "$ac_ct_RANLIB"; then
2243  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2244echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2245else
2246  { echo "$as_me:$LINENO: result: no" >&5
2247echo "${ECHO_T}no" >&6; }
2248fi
2249
2250  if test "x$ac_ct_RANLIB" = x; then
2251    RANLIB=":"
2252  else
2253    case $cross_compiling:$ac_tool_warned in
2254yes:)
2255{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2256whose name does not start with the host triplet.  If you think this
2257configuration is useful to you, please write to autoconf@gnu.org." >&5
2258echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2259whose name does not start with the host triplet.  If you think this
2260configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2261ac_tool_warned=yes ;;
2262esac
2263    RANLIB=$ac_ct_RANLIB
2264  fi
2265else
2266  RANLIB="$ac_cv_prog_RANLIB"
2267fi
2268
2269ac_ext=c
2270ac_cpp='$CPP $CPPFLAGS'
2271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2273ac_compiler_gnu=$ac_cv_c_compiler_gnu
2274if test -n "$ac_tool_prefix"; then
2275  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2276set dummy ${ac_tool_prefix}gcc; ac_word=$2
2277{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2278echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2279if test "${ac_cv_prog_CC+set}" = set; then
2280  echo $ECHO_N "(cached) $ECHO_C" >&6
2281else
2282  if test -n "$CC"; then
2283  ac_cv_prog_CC="$CC" # Let the user override the test.
2284else
2285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286for as_dir in $PATH
2287do
2288  IFS=$as_save_IFS
2289  test -z "$as_dir" && as_dir=.
2290  for ac_exec_ext in '' $ac_executable_extensions; do
2291  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2292    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2293    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294    break 2
2295  fi
2296done
2297done
2298IFS=$as_save_IFS
2299
2300fi
2301fi
2302CC=$ac_cv_prog_CC
2303if test -n "$CC"; then
2304  { echo "$as_me:$LINENO: result: $CC" >&5
2305echo "${ECHO_T}$CC" >&6; }
2306else
2307  { echo "$as_me:$LINENO: result: no" >&5
2308echo "${ECHO_T}no" >&6; }
2309fi
2310
2311
2312fi
2313if test -z "$ac_cv_prog_CC"; then
2314  ac_ct_CC=$CC
2315  # Extract the first word of "gcc", so it can be a program name with args.
2316set dummy gcc; ac_word=$2
2317{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2318echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2319if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2320  echo $ECHO_N "(cached) $ECHO_C" >&6
2321else
2322  if test -n "$ac_ct_CC"; then
2323  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2324else
2325as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2326for as_dir in $PATH
2327do
2328  IFS=$as_save_IFS
2329  test -z "$as_dir" && as_dir=.
2330  for ac_exec_ext in '' $ac_executable_extensions; do
2331  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2332    ac_cv_prog_ac_ct_CC="gcc"
2333    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334    break 2
2335  fi
2336done
2337done
2338IFS=$as_save_IFS
2339
2340fi
2341fi
2342ac_ct_CC=$ac_cv_prog_ac_ct_CC
2343if test -n "$ac_ct_CC"; then
2344  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2345echo "${ECHO_T}$ac_ct_CC" >&6; }
2346else
2347  { echo "$as_me:$LINENO: result: no" >&5
2348echo "${ECHO_T}no" >&6; }
2349fi
2350
2351  if test "x$ac_ct_CC" = x; then
2352    CC=""
2353  else
2354    case $cross_compiling:$ac_tool_warned in
2355yes:)
2356{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2357whose name does not start with the host triplet.  If you think this
2358configuration is useful to you, please write to autoconf@gnu.org." >&5
2359echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2360whose name does not start with the host triplet.  If you think this
2361configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2362ac_tool_warned=yes ;;
2363esac
2364    CC=$ac_ct_CC
2365  fi
2366else
2367  CC="$ac_cv_prog_CC"
2368fi
2369
2370if test -z "$CC"; then
2371          if test -n "$ac_tool_prefix"; then
2372    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2373set dummy ${ac_tool_prefix}cc; ac_word=$2
2374{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2375echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2376if test "${ac_cv_prog_CC+set}" = set; then
2377  echo $ECHO_N "(cached) $ECHO_C" >&6
2378else
2379  if test -n "$CC"; then
2380  ac_cv_prog_CC="$CC" # Let the user override the test.
2381else
2382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383for as_dir in $PATH
2384do
2385  IFS=$as_save_IFS
2386  test -z "$as_dir" && as_dir=.
2387  for ac_exec_ext in '' $ac_executable_extensions; do
2388  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389    ac_cv_prog_CC="${ac_tool_prefix}cc"
2390    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391    break 2
2392  fi
2393done
2394done
2395IFS=$as_save_IFS
2396
2397fi
2398fi
2399CC=$ac_cv_prog_CC
2400if test -n "$CC"; then
2401  { echo "$as_me:$LINENO: result: $CC" >&5
2402echo "${ECHO_T}$CC" >&6; }
2403else
2404  { echo "$as_me:$LINENO: result: no" >&5
2405echo "${ECHO_T}no" >&6; }
2406fi
2407
2408
2409  fi
2410fi
2411if test -z "$CC"; then
2412  # Extract the first word of "cc", so it can be a program name with args.
2413set dummy cc; ac_word=$2
2414{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2415echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2416if test "${ac_cv_prog_CC+set}" = set; then
2417  echo $ECHO_N "(cached) $ECHO_C" >&6
2418else
2419  if test -n "$CC"; then
2420  ac_cv_prog_CC="$CC" # Let the user override the test.
2421else
2422  ac_prog_rejected=no
2423as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2424for as_dir in $PATH
2425do
2426  IFS=$as_save_IFS
2427  test -z "$as_dir" && as_dir=.
2428  for ac_exec_ext in '' $ac_executable_extensions; do
2429  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2430    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2431       ac_prog_rejected=yes
2432       continue
2433     fi
2434    ac_cv_prog_CC="cc"
2435    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436    break 2
2437  fi
2438done
2439done
2440IFS=$as_save_IFS
2441
2442if test $ac_prog_rejected = yes; then
2443  # We found a bogon in the path, so make sure we never use it.
2444  set dummy $ac_cv_prog_CC
2445  shift
2446  if test $# != 0; then
2447    # We chose a different compiler from the bogus one.
2448    # However, it has the same basename, so the bogon will be chosen
2449    # first if we set CC to just the basename; use the full file name.
2450    shift
2451    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2452  fi
2453fi
2454fi
2455fi
2456CC=$ac_cv_prog_CC
2457if test -n "$CC"; then
2458  { echo "$as_me:$LINENO: result: $CC" >&5
2459echo "${ECHO_T}$CC" >&6; }
2460else
2461  { echo "$as_me:$LINENO: result: no" >&5
2462echo "${ECHO_T}no" >&6; }
2463fi
2464
2465
2466fi
2467if test -z "$CC"; then
2468  if test -n "$ac_tool_prefix"; then
2469  for ac_prog in cl.exe
2470  do
2471    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2472set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2473{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2474echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2475if test "${ac_cv_prog_CC+set}" = set; then
2476  echo $ECHO_N "(cached) $ECHO_C" >&6
2477else
2478  if test -n "$CC"; then
2479  ac_cv_prog_CC="$CC" # Let the user override the test.
2480else
2481as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482for as_dir in $PATH
2483do
2484  IFS=$as_save_IFS
2485  test -z "$as_dir" && as_dir=.
2486  for ac_exec_ext in '' $ac_executable_extensions; do
2487  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2488    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2489    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490    break 2
2491  fi
2492done
2493done
2494IFS=$as_save_IFS
2495
2496fi
2497fi
2498CC=$ac_cv_prog_CC
2499if test -n "$CC"; then
2500  { echo "$as_me:$LINENO: result: $CC" >&5
2501echo "${ECHO_T}$CC" >&6; }
2502else
2503  { echo "$as_me:$LINENO: result: no" >&5
2504echo "${ECHO_T}no" >&6; }
2505fi
2506
2507
2508    test -n "$CC" && break
2509  done
2510fi
2511if test -z "$CC"; then
2512  ac_ct_CC=$CC
2513  for ac_prog in cl.exe
2514do
2515  # Extract the first word of "$ac_prog", so it can be a program name with args.
2516set dummy $ac_prog; ac_word=$2
2517{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2518echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2519if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2520  echo $ECHO_N "(cached) $ECHO_C" >&6
2521else
2522  if test -n "$ac_ct_CC"; then
2523  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2524else
2525as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526for as_dir in $PATH
2527do
2528  IFS=$as_save_IFS
2529  test -z "$as_dir" && as_dir=.
2530  for ac_exec_ext in '' $ac_executable_extensions; do
2531  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532    ac_cv_prog_ac_ct_CC="$ac_prog"
2533    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534    break 2
2535  fi
2536done
2537done
2538IFS=$as_save_IFS
2539
2540fi
2541fi
2542ac_ct_CC=$ac_cv_prog_ac_ct_CC
2543if test -n "$ac_ct_CC"; then
2544  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2545echo "${ECHO_T}$ac_ct_CC" >&6; }
2546else
2547  { echo "$as_me:$LINENO: result: no" >&5
2548echo "${ECHO_T}no" >&6; }
2549fi
2550
2551
2552  test -n "$ac_ct_CC" && break
2553done
2554
2555  if test "x$ac_ct_CC" = x; then
2556    CC=""
2557  else
2558    case $cross_compiling:$ac_tool_warned in
2559yes:)
2560{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2561whose name does not start with the host triplet.  If you think this
2562configuration is useful to you, please write to autoconf@gnu.org." >&5
2563echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2564whose name does not start with the host triplet.  If you think this
2565configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2566ac_tool_warned=yes ;;
2567esac
2568    CC=$ac_ct_CC
2569  fi
2570fi
2571
2572fi
2573
2574
2575test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2576See \`config.log' for more details." >&5
2577echo "$as_me: error: no acceptable C compiler found in \$PATH
2578See \`config.log' for more details." >&2;}
2579   { (exit 1); exit 1; }; }
2580
2581# Provide some information about the compiler.
2582echo "$as_me:$LINENO: checking for C compiler version" >&5
2583ac_compiler=`set X $ac_compile; echo $2`
2584{ (ac_try="$ac_compiler --version >&5"
2585case "(($ac_try" in
2586  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587  *) ac_try_echo=$ac_try;;
2588esac
2589eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2590  (eval "$ac_compiler --version >&5") 2>&5
2591  ac_status=$?
2592  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593  (exit $ac_status); }
2594{ (ac_try="$ac_compiler -v >&5"
2595case "(($ac_try" in
2596  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597  *) ac_try_echo=$ac_try;;
2598esac
2599eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2600  (eval "$ac_compiler -v >&5") 2>&5
2601  ac_status=$?
2602  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603  (exit $ac_status); }
2604{ (ac_try="$ac_compiler -V >&5"
2605case "(($ac_try" in
2606  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2607  *) ac_try_echo=$ac_try;;
2608esac
2609eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2610  (eval "$ac_compiler -V >&5") 2>&5
2611  ac_status=$?
2612  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613  (exit $ac_status); }
2614
2615cat >conftest.$ac_ext <<_ACEOF
2616/* confdefs.h.  */
2617_ACEOF
2618cat confdefs.h >>conftest.$ac_ext
2619cat >>conftest.$ac_ext <<_ACEOF
2620/* end confdefs.h.  */
2621
2622int
2623main ()
2624{
2625
2626  ;
2627  return 0;
2628}
2629_ACEOF
2630ac_clean_files_save=$ac_clean_files
2631ac_clean_files="$ac_clean_files a.out a.exe b.out"
2632# Try to create an executable without -o first, disregard a.out.
2633# It will help us diagnose broken compilers, and finding out an intuition
2634# of exeext.
2635{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2636echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2637ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2638#
2639# List of possible output files, starting from the most likely.
2640# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2641# only as a last resort.  b.out is created by i960 compilers.
2642ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2643#
2644# The IRIX 6 linker writes into existing files which may not be
2645# executable, retaining their permissions.  Remove them first so a
2646# subsequent execution test works.
2647ac_rmfiles=
2648for ac_file in $ac_files
2649do
2650  case $ac_file in
2651    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2652    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2653  esac
2654done
2655rm -f $ac_rmfiles
2656
2657if { (ac_try="$ac_link_default"
2658case "(($ac_try" in
2659  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660  *) ac_try_echo=$ac_try;;
2661esac
2662eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2663  (eval "$ac_link_default") 2>&5
2664  ac_status=$?
2665  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666  (exit $ac_status); }; then
2667  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2668# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2669# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2670# so that the user can short-circuit this test for compilers unknown to
2671# Autoconf.
2672for ac_file in $ac_files ''
2673do
2674  test -f "$ac_file" || continue
2675  case $ac_file in
2676    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2677    ;;
2678    [ab].out )
2679    # We found the default executable, but exeext='' is most
2680    # certainly right.
2681    break;;
2682    *.* )
2683        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2684    then :; else
2685       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2686    fi
2687    # We set ac_cv_exeext here because the later test for it is not
2688    # safe: cross compilers may not add the suffix if given an `-o'
2689    # argument, so we may need to know it at that point already.
2690    # Even if this section looks crufty: it has the advantage of
2691    # actually working.
2692    break;;
2693    * )
2694    break;;
2695  esac
2696done
2697test "$ac_cv_exeext" = no && ac_cv_exeext=
2698
2699else
2700  ac_file=''
2701fi
2702
2703{ echo "$as_me:$LINENO: result: $ac_file" >&5
2704echo "${ECHO_T}$ac_file" >&6; }
2705if test -z "$ac_file"; then
2706  echo "$as_me: failed program was:" >&5
2707sed 's/^/| /' conftest.$ac_ext >&5
2708
2709{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2710See \`config.log' for more details." >&5
2711echo "$as_me: error: C compiler cannot create executables
2712See \`config.log' for more details." >&2;}
2713   { (exit 77); exit 77; }; }
2714fi
2715
2716ac_exeext=$ac_cv_exeext
2717
2718# Check that the compiler produces executables we can run.  If not, either
2719# the compiler is broken, or we cross compile.
2720{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2721echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2722# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2723# If not cross compiling, check that we can run a simple program.
2724if test "$cross_compiling" != yes; then
2725  if { ac_try='./$ac_file'
2726  { (case "(($ac_try" in
2727  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728  *) ac_try_echo=$ac_try;;
2729esac
2730eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2731  (eval "$ac_try") 2>&5
2732  ac_status=$?
2733  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734  (exit $ac_status); }; }; then
2735    cross_compiling=no
2736  else
2737    if test "$cross_compiling" = maybe; then
2738    cross_compiling=yes
2739    else
2740    { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2741If you meant to cross compile, use \`--host'.
2742See \`config.log' for more details." >&5
2743echo "$as_me: error: cannot run C compiled programs.
2744If you meant to cross compile, use \`--host'.
2745See \`config.log' for more details." >&2;}
2746   { (exit 1); exit 1; }; }
2747    fi
2748  fi
2749fi
2750{ echo "$as_me:$LINENO: result: yes" >&5
2751echo "${ECHO_T}yes" >&6; }
2752
2753rm -f a.out a.exe conftest$ac_cv_exeext b.out
2754ac_clean_files=$ac_clean_files_save
2755# Check that the compiler produces executables we can run.  If not, either
2756# the compiler is broken, or we cross compile.
2757{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2758echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2759{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2760echo "${ECHO_T}$cross_compiling" >&6; }
2761
2762{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2763echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2764if { (ac_try="$ac_link"
2765case "(($ac_try" in
2766  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767  *) ac_try_echo=$ac_try;;
2768esac
2769eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2770  (eval "$ac_link") 2>&5
2771  ac_status=$?
2772  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773  (exit $ac_status); }; then
2774  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2775# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2776# work properly (i.e., refer to `conftest.exe'), while it won't with
2777# `rm'.
2778for ac_file in conftest.exe conftest conftest.*; do
2779  test -f "$ac_file" || continue
2780  case $ac_file in
2781    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2782    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2783      break;;
2784    * ) break;;
2785  esac
2786done
2787else
2788  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2789See \`config.log' for more details." >&5
2790echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2791See \`config.log' for more details." >&2;}
2792   { (exit 1); exit 1; }; }
2793fi
2794
2795rm -f conftest$ac_cv_exeext
2796{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2797echo "${ECHO_T}$ac_cv_exeext" >&6; }
2798
2799rm -f conftest.$ac_ext
2800EXEEXT=$ac_cv_exeext
2801ac_exeext=$EXEEXT
2802{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2803echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2804if test "${ac_cv_objext+set}" = set; then
2805  echo $ECHO_N "(cached) $ECHO_C" >&6
2806else
2807  cat >conftest.$ac_ext <<_ACEOF
2808/* confdefs.h.  */
2809_ACEOF
2810cat confdefs.h >>conftest.$ac_ext
2811cat >>conftest.$ac_ext <<_ACEOF
2812/* end confdefs.h.  */
2813
2814int
2815main ()
2816{
2817
2818  ;
2819  return 0;
2820}
2821_ACEOF
2822rm -f conftest.o conftest.obj
2823if { (ac_try="$ac_compile"
2824case "(($ac_try" in
2825  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826  *) ac_try_echo=$ac_try;;
2827esac
2828eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2829  (eval "$ac_compile") 2>&5
2830  ac_status=$?
2831  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832  (exit $ac_status); }; then
2833  for ac_file in conftest.o conftest.obj conftest.*; do
2834  test -f "$ac_file" || continue;
2835  case $ac_file in
2836    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2837    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2838       break;;
2839  esac
2840done
2841else
2842  echo "$as_me: failed program was:" >&5
2843sed 's/^/| /' conftest.$ac_ext >&5
2844
2845{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2846See \`config.log' for more details." >&5
2847echo "$as_me: error: cannot compute suffix of object files: cannot compile
2848See \`config.log' for more details." >&2;}
2849   { (exit 1); exit 1; }; }
2850fi
2851
2852rm -f conftest.$ac_cv_objext conftest.$ac_ext
2853fi
2854{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2855echo "${ECHO_T}$ac_cv_objext" >&6; }
2856OBJEXT=$ac_cv_objext
2857ac_objext=$OBJEXT
2858{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2859echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2860if test "${ac_cv_c_compiler_gnu+set}" = set; then
2861  echo $ECHO_N "(cached) $ECHO_C" >&6
2862else
2863  cat >conftest.$ac_ext <<_ACEOF
2864/* confdefs.h.  */
2865_ACEOF
2866cat confdefs.h >>conftest.$ac_ext
2867cat >>conftest.$ac_ext <<_ACEOF
2868/* end confdefs.h.  */
2869
2870int
2871main ()
2872{
2873#ifndef __GNUC__
2874       choke me
2875#endif
2876
2877  ;
2878  return 0;
2879}
2880_ACEOF
2881rm -f conftest.$ac_objext
2882if { (ac_try="$ac_compile"
2883case "(($ac_try" in
2884  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885  *) ac_try_echo=$ac_try;;
2886esac
2887eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2888  (eval "$ac_compile") 2>conftest.er1
2889  ac_status=$?
2890  grep -v '^ *+' conftest.er1 >conftest.err
2891  rm -f conftest.er1
2892  cat conftest.err >&5
2893  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894  (exit $ac_status); } && {
2895     test -z "$ac_c_werror_flag" ||
2896     test ! -s conftest.err
2897       } && test -s conftest.$ac_objext; then
2898  ac_compiler_gnu=yes
2899else
2900  echo "$as_me: failed program was:" >&5
2901sed 's/^/| /' conftest.$ac_ext >&5
2902
2903    ac_compiler_gnu=no
2904fi
2905
2906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2907ac_cv_c_compiler_gnu=$ac_compiler_gnu
2908
2909fi
2910{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2911echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2912GCC=`test $ac_compiler_gnu = yes && echo yes`
2913ac_test_CFLAGS=${CFLAGS+set}
2914ac_save_CFLAGS=$CFLAGS
2915{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2916echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2917if test "${ac_cv_prog_cc_g+set}" = set; then
2918  echo $ECHO_N "(cached) $ECHO_C" >&6
2919else
2920  ac_save_c_werror_flag=$ac_c_werror_flag
2921   ac_c_werror_flag=yes
2922   ac_cv_prog_cc_g=no
2923   CFLAGS="-g"
2924   cat >conftest.$ac_ext <<_ACEOF
2925/* confdefs.h.  */
2926_ACEOF
2927cat confdefs.h >>conftest.$ac_ext
2928cat >>conftest.$ac_ext <<_ACEOF
2929/* end confdefs.h.  */
2930
2931int
2932main ()
2933{
2934
2935  ;
2936  return 0;
2937}
2938_ACEOF
2939rm -f conftest.$ac_objext
2940if { (ac_try="$ac_compile"
2941case "(($ac_try" in
2942  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943  *) ac_try_echo=$ac_try;;
2944esac
2945eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2946  (eval "$ac_compile") 2>conftest.er1
2947  ac_status=$?
2948  grep -v '^ *+' conftest.er1 >conftest.err
2949  rm -f conftest.er1
2950  cat conftest.err >&5
2951  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952  (exit $ac_status); } && {
2953     test -z "$ac_c_werror_flag" ||
2954     test ! -s conftest.err
2955       } && test -s conftest.$ac_objext; then
2956  ac_cv_prog_cc_g=yes
2957else
2958  echo "$as_me: failed program was:" >&5
2959sed 's/^/| /' conftest.$ac_ext >&5
2960
2961    CFLAGS=""
2962      cat >conftest.$ac_ext <<_ACEOF
2963/* confdefs.h.  */
2964_ACEOF
2965cat confdefs.h >>conftest.$ac_ext
2966cat >>conftest.$ac_ext <<_ACEOF
2967/* end confdefs.h.  */
2968
2969int
2970main ()
2971{
2972
2973  ;
2974  return 0;
2975}
2976_ACEOF
2977rm -f conftest.$ac_objext
2978if { (ac_try="$ac_compile"
2979case "(($ac_try" in
2980  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981  *) ac_try_echo=$ac_try;;
2982esac
2983eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2984  (eval "$ac_compile") 2>conftest.er1
2985  ac_status=$?
2986  grep -v '^ *+' conftest.er1 >conftest.err
2987  rm -f conftest.er1
2988  cat conftest.err >&5
2989  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990  (exit $ac_status); } && {
2991     test -z "$ac_c_werror_flag" ||
2992     test ! -s conftest.err
2993       } && test -s conftest.$ac_objext; then
2994  :
2995else
2996  echo "$as_me: failed program was:" >&5
2997sed 's/^/| /' conftest.$ac_ext >&5
2998
2999    ac_c_werror_flag=$ac_save_c_werror_flag
3000     CFLAGS="-g"
3001     cat >conftest.$ac_ext <<_ACEOF
3002/* confdefs.h.  */
3003_ACEOF
3004cat confdefs.h >>conftest.$ac_ext
3005cat >>conftest.$ac_ext <<_ACEOF
3006/* end confdefs.h.  */
3007
3008int
3009main ()
3010{
3011
3012  ;
3013  return 0;
3014}
3015_ACEOF
3016rm -f conftest.$ac_objext
3017if { (ac_try="$ac_compile"
3018case "(($ac_try" in
3019  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020  *) ac_try_echo=$ac_try;;
3021esac
3022eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3023  (eval "$ac_compile") 2>conftest.er1
3024  ac_status=$?
3025  grep -v '^ *+' conftest.er1 >conftest.err
3026  rm -f conftest.er1
3027  cat conftest.err >&5
3028  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029  (exit $ac_status); } && {
3030     test -z "$ac_c_werror_flag" ||
3031     test ! -s conftest.err
3032       } && test -s conftest.$ac_objext; then
3033  ac_cv_prog_cc_g=yes
3034else
3035  echo "$as_me: failed program was:" >&5
3036sed 's/^/| /' conftest.$ac_ext >&5
3037
3038
3039fi
3040
3041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042fi
3043
3044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045fi
3046
3047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3048   ac_c_werror_flag=$ac_save_c_werror_flag
3049fi
3050{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3051echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3052if test "$ac_test_CFLAGS" = set; then
3053  CFLAGS=$ac_save_CFLAGS
3054elif test $ac_cv_prog_cc_g = yes; then
3055  if test "$GCC" = yes; then
3056    CFLAGS="-g -O2"
3057  else
3058    CFLAGS="-g"
3059  fi
3060else
3061  if test "$GCC" = yes; then
3062    CFLAGS="-O2"
3063  else
3064    CFLAGS=
3065  fi
3066fi
3067{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3068echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3069if test "${ac_cv_prog_cc_c89+set}" = set; then
3070  echo $ECHO_N "(cached) $ECHO_C" >&6
3071else
3072  ac_cv_prog_cc_c89=no
3073ac_save_CC=$CC
3074cat >conftest.$ac_ext <<_ACEOF
3075/* confdefs.h.  */
3076_ACEOF
3077cat confdefs.h >>conftest.$ac_ext
3078cat >>conftest.$ac_ext <<_ACEOF
3079/* end confdefs.h.  */
3080#include <stdarg.h>
3081#include <stdio.h>
3082#include <sys/types.h>
3083#include <sys/stat.h>
3084/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3085struct buf { int x; };
3086FILE * (*rcsopen) (struct buf *, struct stat *, int);
3087static char *e (p, i)
3088     char **p;
3089     int i;
3090{
3091  return p[i];
3092}
3093static char *f (char * (*g) (char **, int), char **p, ...)
3094{
3095  char *s;
3096  va_list v;
3097  va_start (v,p);
3098  s = g (p, va_arg (v,int));
3099  va_end (v);
3100  return s;
3101}
3102
3103/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3104   function prototypes and stuff, but not '\xHH' hex character constants.
3105   These don't provoke an error unfortunately, instead are silently treated
3106   as 'x'.  The following induces an error, until -std is added to get
3107   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3108   array size at least.  It's necessary to write '\x00'==0 to get something
3109   that's true only with -std.  */
3110int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3111
3112/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3113   inside strings and character constants.  */
3114#define FOO(x) 'x'
3115int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3116
3117int test (int i, double x);
3118struct s1 {int (*f) (int a);};
3119struct s2 {int (*f) (double a);};
3120int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3121int argc;
3122char **argv;
3123int
3124main ()
3125{
3126return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3127  ;
3128  return 0;
3129}
3130_ACEOF
3131for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3132    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3133do
3134  CC="$ac_save_CC $ac_arg"
3135  rm -f conftest.$ac_objext
3136if { (ac_try="$ac_compile"
3137case "(($ac_try" in
3138  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139  *) ac_try_echo=$ac_try;;
3140esac
3141eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3142  (eval "$ac_compile") 2>conftest.er1
3143  ac_status=$?
3144  grep -v '^ *+' conftest.er1 >conftest.err
3145  rm -f conftest.er1
3146  cat conftest.err >&5
3147  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148  (exit $ac_status); } && {
3149     test -z "$ac_c_werror_flag" ||
3150     test ! -s conftest.err
3151       } && test -s conftest.$ac_objext; then
3152  ac_cv_prog_cc_c89=$ac_arg
3153else
3154  echo "$as_me: failed program was:" >&5
3155sed 's/^/| /' conftest.$ac_ext >&5
3156
3157
3158fi
3159
3160rm -f core conftest.err conftest.$ac_objext
3161  test "x$ac_cv_prog_cc_c89" != "xno" && break
3162done
3163rm -f conftest.$ac_ext
3164CC=$ac_save_CC
3165
3166fi
3167# AC_CACHE_VAL
3168case "x$ac_cv_prog_cc_c89" in
3169  x)
3170    { echo "$as_me:$LINENO: result: none needed" >&5
3171echo "${ECHO_T}none needed" >&6; } ;;
3172  xno)
3173    { echo "$as_me:$LINENO: result: unsupported" >&5
3174echo "${ECHO_T}unsupported" >&6; } ;;
3175  *)
3176    CC="$CC $ac_cv_prog_cc_c89"
3177    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3178echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3179esac
3180
3181
3182ac_ext=c
3183ac_cpp='$CPP $CPPFLAGS'
3184ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3185ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3186ac_compiler_gnu=$ac_cv_c_compiler_gnu
3187DEPDIR="${am__leading_dot}deps"
3188
3189ac_config_commands="$ac_config_commands depfiles"
3190
3191
3192am_make=${MAKE-make}
3193cat > confinc << 'END'
3194am__doit:
3195    @echo done
3196.PHONY: am__doit
3197END
3198# If we don't find an include directive, just comment out the code.
3199{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3200echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3201am__include="#"
3202am__quote=
3203_am_result=none
3204# First try GNU make style include.
3205echo "include confinc" > confmf
3206# We grep out `Entering directory' and `Leaving directory'
3207# messages which can occur if `w' ends up in MAKEFLAGS.
3208# In particular we don't look at `^make:' because GNU make might
3209# be invoked under some other name (usually "gmake"), in which
3210# case it prints its new name instead of `make'.
3211if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3212   am__include=include
3213   am__quote=
3214   _am_result=GNU
3215fi
3216# Now try BSD make style include.
3217if test "$am__include" = "#"; then
3218   echo '.include "confinc"' > confmf
3219   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3220      am__include=.include
3221      am__quote="\""
3222      _am_result=BSD
3223   fi
3224fi
3225
3226
3227{ echo "$as_me:$LINENO: result: $_am_result" >&5
3228echo "${ECHO_T}$_am_result" >&6; }
3229rm -f confinc confmf
3230
3231# Check whether --enable-dependency-tracking was given.
3232if test "${enable_dependency_tracking+set}" = set; then
3233  enableval=$enable_dependency_tracking;
3234fi
3235
3236if test "x$enable_dependency_tracking" != xno; then
3237  am_depcomp="$ac_aux_dir/depcomp"
3238  AMDEPBACKSLASH='\'
3239fi
3240
3241
3242if test "x$enable_dependency_tracking" != xno; then
3243  AMDEP_TRUE=
3244  AMDEP_FALSE='#'
3245else
3246  AMDEP_TRUE='#'
3247  AMDEP_FALSE=
3248fi
3249
3250
3251
3252
3253depcc="$CC"   am_compiler_list=
3254
3255{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3256echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3257if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3258  echo $ECHO_N "(cached) $ECHO_C" >&6
3259else
3260  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3261  # We make a subdir and do the tests there.  Otherwise we can end up
3262  # making bogus files that we don't know about and never remove.  For
3263  # instance it was reported that on HP-UX the gcc test will end up
3264  # making a dummy file named `D' -- because `-MD' means `put the output
3265  # in D'.
3266  mkdir conftest.dir
3267  # Copy depcomp to subdir because otherwise we won't find it if we're
3268  # using a relative directory.
3269  cp "$am_depcomp" conftest.dir
3270  cd conftest.dir
3271  # We will build objects and dependencies in a subdirectory because
3272  # it helps to detect inapplicable dependency modes.  For instance
3273  # both Tru64's cc and ICC support -MD to output dependencies as a
3274  # side effect of compilation, but ICC will put the dependencies in
3275  # the current directory while Tru64 will put them in the object
3276  # directory.
3277  mkdir sub
3278
3279  am_cv_CC_dependencies_compiler_type=none
3280  if test "$am_compiler_list" = ""; then
3281     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3282  fi
3283  for depmode in $am_compiler_list; do
3284    # Setup a source with many dependencies, because some compilers
3285    # like to wrap large dependency lists on column 80 (with \), and
3286    # we should not choose a depcomp mode which is confused by this.
3287    #
3288    # We need to recreate these files for each test, as the compiler may
3289    # overwrite some of them when testing with obscure command lines.
3290    # This happens at least with the AIX C compiler.
3291    : > sub/conftest.c
3292    for i in 1 2 3 4 5 6; do
3293      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3294      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3295      # Solaris 8's {/usr,}/bin/sh.
3296      touch sub/conftst$i.h
3297    done
3298    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3299
3300    case $depmode in
3301    nosideeffect)
3302      # after this tag, mechanisms are not by side-effect, so they'll
3303      # only be used when explicitly requested
3304      if test "x$enable_dependency_tracking" = xyes; then
3305    continue
3306      else
3307    break
3308      fi
3309      ;;
3310    none) break ;;
3311    esac
3312    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3313    # mode.  It turns out that the SunPro C++ compiler does not properly
3314    # handle `-M -o', and we need to detect this.
3315    if depmode=$depmode \
3316       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3317       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3318       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3319         >/dev/null 2>conftest.err &&
3320       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3321       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3322       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3323      # icc doesn't choke on unknown options, it will just issue warnings
3324      # or remarks (even with -Werror).  So we grep stderr for any message
3325      # that says an option was ignored or not supported.
3326      # When given -MP, icc 7.0 and 7.1 complain thusly:
3327      #   icc: Command line warning: ignoring option '-M'; no argument required
3328      # The diagnosis changed in icc 8.0:
3329      #   icc: Command line remark: option '-MP' not supported
3330      if (grep 'ignoring option' conftest.err ||
3331          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3332        am_cv_CC_dependencies_compiler_type=$depmode
3333        break
3334      fi
3335    fi
3336  done
3337
3338  cd ..
3339  rm -rf conftest.dir
3340else
3341  am_cv_CC_dependencies_compiler_type=none
3342fi
3343
3344fi
3345{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3346echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3347CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3348
3349
3350
3351if
3352  test "x$enable_dependency_tracking" != xno \
3353  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3354  am__fastdepCC_TRUE=
3355  am__fastdepCC_FALSE='#'
3356else
3357  am__fastdepCC_TRUE='#'
3358  am__fastdepCC_FALSE=
3359fi
3360
3361
3362
3363
3364# Make sure we can run config.sub.
3365$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3366  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3367echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3368   { (exit 1); exit 1; }; }
3369
3370{ echo "$as_me:$LINENO: checking build system type" >&5
3371echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3372if test "${ac_cv_build+set}" = set; then
3373  echo $ECHO_N "(cached) $ECHO_C" >&6
3374else
3375  ac_build_alias=$build_alias
3376test "x$ac_build_alias" = x &&
3377  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3378test "x$ac_build_alias" = x &&
3379  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3380echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3381   { (exit 1); exit 1; }; }
3382ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3383  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3384echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3385   { (exit 1); exit 1; }; }
3386
3387fi
3388{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3389echo "${ECHO_T}$ac_cv_build" >&6; }
3390case $ac_cv_build in
3391*-*-*) ;;
3392*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3393echo "$as_me: error: invalid value of canonical build" >&2;}
3394   { (exit 1); exit 1; }; };;
3395esac
3396build=$ac_cv_build
3397ac_save_IFS=$IFS; IFS='-'
3398set x $ac_cv_build
3399shift
3400build_cpu=$1
3401build_vendor=$2
3402shift; shift
3403# Remember, the first character of IFS is used to create $*,
3404# except with old shells:
3405build_os=$*
3406IFS=$ac_save_IFS
3407case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3408
3409
3410{ echo "$as_me:$LINENO: checking host system type" >&5
3411echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3412if test "${ac_cv_host+set}" = set; then
3413  echo $ECHO_N "(cached) $ECHO_C" >&6
3414else
3415  if test "x$host_alias" = x; then
3416  ac_cv_host=$ac_cv_build
3417else
3418  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3419    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3420echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3421   { (exit 1); exit 1; }; }
3422fi
3423
3424fi
3425{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3426echo "${ECHO_T}$ac_cv_host" >&6; }
3427case $ac_cv_host in
3428*-*-*) ;;
3429*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3430echo "$as_me: error: invalid value of canonical host" >&2;}
3431   { (exit 1); exit 1; }; };;
3432esac
3433host=$ac_cv_host
3434ac_save_IFS=$IFS; IFS='-'
3435set x $ac_cv_host
3436shift
3437host_cpu=$1
3438host_vendor=$2
3439shift; shift
3440# Remember, the first character of IFS is used to create $*,
3441# except with old shells:
3442host_os=$*
3443IFS=$ac_save_IFS
3444case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3445
3446
3447if test x"$useopengl" = xtrue; then
3448case $host_os in
3449  darwin* )
3450    echo Darwin
3451    LDFLAGS="$LDFLAGS -framework OpenGL -framework GLUT"
3452  ;;
3453  *)
3454    echo Not Darwin
3455    LDFLAGS="$LDFLAGS -lGL -lglut"
3456  ;;
3457esac
3458fi
3459
3460
3461
3462if test x"$CC" = xicc; then
3463    LDFLAGS="$LDFLAGS -openmp"
3464    CFLAGS="$CFLAGS -openmp"
3465fi
3466
3467
3468
3469ac_config_files="$ac_config_files Makefile"
3470
3471cat >confcache <<\_ACEOF
3472# This file is a shell script that caches the results of configure
3473# tests run on this system so they can be shared between configure
3474# scripts and configure runs, see configure's option --config-cache.
3475# It is not useful on other systems.  If it contains results you don't
3476# want to keep, you may remove or edit it.
3477#
3478# config.status only pays attention to the cache file if you give it
3479# the --recheck option to rerun configure.
3480#
3481# `ac_cv_env_foo' variables (set or unset) will be overridden when
3482# loading this file, other *unset* `ac_cv_foo' will be assigned the
3483# following values.
3484
3485_ACEOF
3486
3487# The following way of writing the cache mishandles newlines in values,
3488# but we know of no workaround that is simple, portable, and efficient.
3489# So, we kill variables containing newlines.
3490# Ultrix sh set writes to stderr and can't be redirected directly,
3491# and sets the high bit in the cache file unless we assign to the vars.
3492(
3493  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3494    eval ac_val=\$$ac_var
3495    case $ac_val in #(
3496    *${as_nl}*)
3497      case $ac_var in #(
3498      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3499echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3500      esac
3501      case $ac_var in #(
3502      _ | IFS | as_nl) ;; #(
3503      *) $as_unset $ac_var ;;
3504      esac ;;
3505    esac
3506  done
3507
3508  (set) 2>&1 |
3509    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3510    *${as_nl}ac_space=\ *)
3511      # `set' does not quote correctly, so add quotes (double-quote
3512      # substitution turns \\\\ into \\, and sed turns \\ into \).
3513      sed -n \
3514    "s/'/'\\\\''/g;
3515      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3516      ;; #(
3517    *)
3518      # `set' quotes correctly as required by POSIX, so do not add quotes.
3519      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3520      ;;
3521    esac |
3522    sort
3523) |
3524  sed '
3525     /^ac_cv_env_/b end
3526     t clear
3527     :clear
3528     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3529     t end
3530     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3531     :end' >>confcache
3532if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3533  if test -w "$cache_file"; then
3534    test "x$cache_file" != "x/dev/null" &&
3535      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3536echo "$as_me: updating cache $cache_file" >&6;}
3537    cat confcache >$cache_file
3538  else
3539    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3540echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3541  fi
3542fi
3543rm -f confcache
3544
3545test "x$prefix" = xNONE && prefix=$ac_default_prefix
3546# Let make expand exec_prefix.
3547test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3548
3549# Transform confdefs.h into DEFS.
3550# Protect against shell expansion while executing Makefile rules.
3551# Protect against Makefile macro expansion.
3552#
3553# If the first sed substitution is executed (which looks for macros that
3554# take arguments), then branch to the quote section.  Otherwise,
3555# look for a macro that doesn't take arguments.
3556ac_script='
3557t clear
3558:clear
3559s/^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
3560t quote
3561s/^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
3562t quote
3563b any
3564:quote
3565s/[  `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3566s/\[/\\&/g
3567s/\]/\\&/g
3568s/\$/$$/g
3569H
3570:any
3571${
3572    g
3573    s/^\n//
3574    s/\n/ /g
3575    p
3576}
3577'
3578DEFS=`sed -n "$ac_script" confdefs.h`
3579
3580
3581ac_libobjs=
3582ac_ltlibobjs=
3583for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3584  # 1. Remove the extension, and $U if already installed.
3585  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3586  ac_i=`echo "$ac_i" | sed "$ac_script"`
3587  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3588  #    will be set to the directory where LIBOBJS objects are built.
3589  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3590  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3591done
3592LIBOBJS=$ac_libobjs
3593
3594LTLIBOBJS=$ac_ltlibobjs
3595
3596
3597if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3598  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3599Usually this means the macro was only invoked conditionally." >&5
3600echo "$as_me: error: conditional \"AMDEP\" was never defined.
3601Usually this means the macro was only invoked conditionally." >&2;}
3602   { (exit 1); exit 1; }; }
3603fi
3604if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3605  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3606Usually this means the macro was only invoked conditionally." >&5
3607echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3608Usually this means the macro was only invoked conditionally." >&2;}
3609   { (exit 1); exit 1; }; }
3610fi
3611
3612: ${CONFIG_STATUS=./config.status}
3613ac_clean_files_save=$ac_clean_files
3614ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3615{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3616echo "$as_me: creating $CONFIG_STATUS" >&6;}
3617cat >$CONFIG_STATUS <<_ACEOF
3618#! $SHELL
3619# Generated by $as_me.
3620# Run this file to recreate the current configuration.
3621# Compiler output produced by configure, useful for debugging
3622# configure, is in config.log if it exists.
3623
3624debug=false
3625ac_cs_recheck=false
3626ac_cs_silent=false
3627SHELL=\${CONFIG_SHELL-$SHELL}
3628_ACEOF
3629
3630cat >>$CONFIG_STATUS <<\_ACEOF
3631## --------------------- ##
3632## M4sh Initialization.  ##
3633## --------------------- ##
3634
3635# Be more Bourne compatible
3636DUALCASE=1; export DUALCASE # for MKS sh
3637if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3638  emulate sh
3639  NULLCMD=:
3640  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3641  # is contrary to our usage.  Disable this feature.
3642  alias -g '${1+"$@"}'='"$@"'
3643  setopt NO_GLOB_SUBST
3644else
3645  case `(set -o) 2>/dev/null` in
3646  *posix*) set -o posix ;;
3647esac
3648
3649fi
3650
3651
3652
3653
3654# PATH needs CR
3655# Avoid depending upon Character Ranges.
3656as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3657as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3658as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3659as_cr_digits='0123456789'
3660as_cr_alnum=$as_cr_Letters$as_cr_digits
3661
3662# The user is always right.
3663if test "${PATH_SEPARATOR+set}" != set; then
3664  echo "#! /bin/sh" >conf$$.sh
3665  echo  "exit 0"   >>conf$$.sh
3666  chmod +x conf$$.sh
3667  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3668    PATH_SEPARATOR=';'
3669  else
3670    PATH_SEPARATOR=:
3671  fi
3672  rm -f conf$$.sh
3673fi
3674
3675# Support unset when possible.
3676if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3677  as_unset=unset
3678else
3679  as_unset=false
3680fi
3681
3682
3683# IFS
3684# We need space, tab and new line, in precisely that order.  Quoting is
3685# there to prevent editors from complaining about space-tab.
3686# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3687# splitting by setting IFS to empty value.)
3688as_nl='
3689'
3690IFS=" ""    $as_nl"
3691
3692# Find who we are.  Look in the path if we contain no directory separator.
3693case $0 in
3694  *[\\/]* ) as_myself=$0 ;;
3695  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696for as_dir in $PATH
3697do
3698  IFS=$as_save_IFS
3699  test -z "$as_dir" && as_dir=.
3700  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3701done
3702IFS=$as_save_IFS
3703
3704     ;;
3705esac
3706# We did not find ourselves, most probably we were run as `sh COMMAND'
3707# in which case we are not to be found in the path.
3708if test "x$as_myself" = x; then
3709  as_myself=$0
3710fi
3711if test ! -f "$as_myself"; then
3712  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3713  { (exit 1); exit 1; }
3714fi
3715
3716# Work around bugs in pre-3.0 UWIN ksh.
3717for as_var in ENV MAIL MAILPATH
3718do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3719done
3720PS1='$ '
3721PS2='> '
3722PS4='+ '
3723
3724# NLS nuisances.
3725for as_var in \
3726  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3727  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3728  LC_TELEPHONE LC_TIME
3729do
3730  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3731    eval $as_var=C; export $as_var
3732  else
3733    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3734  fi
3735done
3736
3737# Required to use basename.
3738if expr a : '\(a\)' >/dev/null 2>&1 &&
3739   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3740  as_expr=expr
3741else
3742  as_expr=false
3743fi
3744
3745if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3746  as_basename=basename
3747else
3748  as_basename=false
3749fi
3750
3751
3752# Name of the executable.
3753as_me=`$as_basename -- "$0" ||
3754$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3755     X"$0" : 'X\(//\)$' \| \
3756     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3757echo X/"$0" |
3758    sed '/^.*\/\([^/][^/]*\)\/*$/{
3759        s//\1/
3760        q
3761      }
3762      /^X\/\(\/\/\)$/{
3763        s//\1/
3764        q
3765      }
3766      /^X\/\(\/\).*/{
3767        s//\1/
3768        q
3769      }
3770      s/.*/./; q'`
3771
3772# CDPATH.
3773$as_unset CDPATH
3774
3775
3776
3777  as_lineno_1=$LINENO
3778  as_lineno_2=$LINENO
3779  test "x$as_lineno_1" != "x$as_lineno_2" &&
3780  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3781
3782  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3783  # uniformly replaced by the line number.  The first 'sed' inserts a
3784  # line-number line after each line using $LINENO; the second 'sed'
3785  # does the real work.  The second script uses 'N' to pair each
3786  # line-number line with the line containing $LINENO, and appends
3787  # trailing '-' during substitution so that $LINENO is not a special
3788  # case at line end.
3789  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3790  # scripts with optimization help from Paolo Bonzini.  Blame Lee
3791  # E. McMahon (1931-1989) for sed's syntax.  :-)
3792  sed -n '
3793    p
3794    /[$]LINENO/=
3795  ' <$as_myself |
3796    sed '
3797      s/[$]LINENO.*/&-/
3798      t lineno
3799      b
3800      :lineno
3801      N
3802      :loop
3803      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3804      t loop
3805      s/-\n.*//
3806    ' >$as_me.lineno &&
3807  chmod +x "$as_me.lineno" ||
3808    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3809   { (exit 1); exit 1; }; }
3810
3811  # Don't try to exec as it changes $[0], causing all sort of problems
3812  # (the dirname of $[0] is not the place where we might find the
3813  # original and so on.  Autoconf is especially sensitive to this).
3814  . "./$as_me.lineno"
3815  # Exit status is that of the last command.
3816  exit
3817}
3818
3819
3820if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3821  as_dirname=dirname
3822else
3823  as_dirname=false
3824fi
3825
3826ECHO_C= ECHO_N= ECHO_T=
3827case `echo -n x` in
3828-n*)
3829  case `echo 'x\c'` in
3830  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3831  *)   ECHO_C='\c';;
3832  esac;;
3833*)
3834  ECHO_N='-n';;
3835esac
3836
3837if expr a : '\(a\)' >/dev/null 2>&1 &&
3838   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3839  as_expr=expr
3840else
3841  as_expr=false
3842fi
3843
3844rm -f conf$$ conf$$.exe conf$$.file
3845if test -d conf$$.dir; then
3846  rm -f conf$$.dir/conf$$.file
3847else
3848  rm -f conf$$.dir
3849  mkdir conf$$.dir
3850fi
3851echo >conf$$.file
3852if ln -s conf$$.file conf$$ 2>/dev/null; then
3853  as_ln_s='ln -s'
3854  # ... but there are two gotchas:
3855  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3856  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3857  # In both cases, we have to default to `cp -p'.
3858  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3859    as_ln_s='cp -p'
3860elif ln conf$$.file conf$$ 2>/dev/null; then
3861  as_ln_s=ln
3862else
3863  as_ln_s='cp -p'
3864fi
3865rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3866rmdir conf$$.dir 2>/dev/null
3867
3868if mkdir -p . 2>/dev/null; then
3869  as_mkdir_p=:
3870else
3871  test -d ./-p && rmdir ./-p
3872  as_mkdir_p=false
3873fi
3874
3875if test -x / >/dev/null 2>&1; then
3876  as_test_x='test -x'
3877else
3878  if ls -dL / >/dev/null 2>&1; then
3879    as_ls_L_option=L
3880  else
3881    as_ls_L_option=
3882  fi
3883  as_test_x='
3884    eval sh -c '\''
3885      if test -d "$1"; then
3886        test -d "$1/.";
3887      else
3888    case $1 in
3889        -*)set "./$1";;
3890    esac;
3891    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3892    ???[sx]*):;;*)false;;esac;fi
3893    '\'' sh
3894  '
3895fi
3896as_executable_p=$as_test_x
3897
3898# Sed expression to map a string onto a valid CPP name.
3899as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3900
3901# Sed expression to map a string onto a valid variable name.
3902as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3903
3904
3905exec 6>&1
3906
3907# Save the log message, to keep $[0] and so on meaningful, and to
3908# report actual input values of CONFIG_FILES etc. instead of their
3909# values after options handling.
3910ac_log="
3911This file was extended by $as_me, which was
3912generated by GNU Autoconf 2.61.  Invocation command line was
3913
3914  CONFIG_FILES    = $CONFIG_FILES
3915  CONFIG_HEADERS  = $CONFIG_HEADERS
3916  CONFIG_LINKS    = $CONFIG_LINKS
3917  CONFIG_COMMANDS = $CONFIG_COMMANDS
3918  $ $0 $@
3919
3920on `(hostname || uname -n) 2>/dev/null | sed 1q`
3921"
3922
3923_ACEOF
3924
3925cat >>$CONFIG_STATUS <<_ACEOF
3926# Files that config.status was made for.
3927config_files="$ac_config_files"
3928config_commands="$ac_config_commands"
3929
3930_ACEOF
3931
3932cat >>$CONFIG_STATUS <<\_ACEOF
3933ac_cs_usage="\
3934\`$as_me' instantiates files from templates according to the
3935current configuration.
3936
3937Usage: $0 [OPTIONS] [FILE]...
3938
3939  -h, --help       print this help, then exit
3940  -V, --version    print version number and configuration settings, then exit
3941  -q, --quiet      do not print progress messages
3942  -d, --debug      don't remove temporary files
3943      --recheck    update $as_me by reconfiguring in the same conditions
3944  --file=FILE[:TEMPLATE]
3945           instantiate the configuration file FILE
3946
3947Configuration files:
3948$config_files
3949
3950Configuration commands:
3951$config_commands
3952
3953Report bugs to <bug-autoconf@gnu.org>."
3954
3955_ACEOF
3956cat >>$CONFIG_STATUS <<_ACEOF
3957ac_cs_version="\\
3958config.status
3959configured by $0, generated by GNU Autoconf 2.61,
3960  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3961
3962Copyright (C) 2006 Free Software Foundation, Inc.
3963This config.status script is free software; the Free Software Foundation
3964gives unlimited permission to copy, distribute and modify it."
3965
3966ac_pwd='$ac_pwd'
3967srcdir='$srcdir'
3968INSTALL='$INSTALL'
3969_ACEOF
3970
3971cat >>$CONFIG_STATUS <<\_ACEOF
3972# If no file are specified by the user, then we need to provide default
3973# value.  By we need to know if files were specified by the user.
3974ac_need_defaults=:
3975while test $# != 0
3976do
3977  case $1 in
3978  --*=*)
3979    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3980    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3981    ac_shift=:
3982    ;;
3983  *)
3984    ac_option=$1
3985    ac_optarg=$2
3986    ac_shift=shift
3987    ;;
3988  esac
3989
3990  case $ac_option in
3991  # Handling of the options.
3992  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3993    ac_cs_recheck=: ;;
3994  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3995    echo "$ac_cs_version"; exit ;;
3996  --debug | --debu | --deb | --de | --d | -d )
3997    debug=: ;;
3998  --file | --fil | --fi | --f )
3999    $ac_shift
4000    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4001    ac_need_defaults=false;;
4002  --he | --h |  --help | --hel | -h )
4003    echo "$ac_cs_usage"; exit ;;
4004  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4005  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4006    ac_cs_silent=: ;;
4007
4008  # This is an error.
4009  -*) { echo "$as_me: error: unrecognized option: $1
4010Try \`$0 --help' for more information." >&2
4011   { (exit 1); exit 1; }; } ;;
4012
4013  *) ac_config_targets="$ac_config_targets $1"
4014     ac_need_defaults=false ;;
4015
4016  esac
4017  shift
4018done
4019
4020ac_configure_extra_args=
4021
4022if $ac_cs_silent; then
4023  exec 6>/dev/null
4024  ac_configure_extra_args="$ac_configure_extra_args --silent"
4025fi
4026
4027_ACEOF
4028cat >>$CONFIG_STATUS <<_ACEOF
4029if \$ac_cs_recheck; then
4030  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4031  CONFIG_SHELL=$SHELL
4032  export CONFIG_SHELL
4033  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4034fi
4035
4036_ACEOF
4037cat >>$CONFIG_STATUS <<\_ACEOF
4038exec 5>>config.log
4039{
4040  echo
4041  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4042## Running $as_me. ##
4043_ASBOX
4044  echo "$ac_log"
4045} >&5
4046
4047_ACEOF
4048cat >>$CONFIG_STATUS <<_ACEOF
4049#
4050# INIT-COMMANDS
4051#
4052AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4053
4054_ACEOF
4055
4056cat >>$CONFIG_STATUS <<\_ACEOF
4057
4058# Handling of arguments.
4059for ac_config_target in $ac_config_targets
4060do
4061  case $ac_config_target in
4062    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4063    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4064
4065  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4066echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4067   { (exit 1); exit 1; }; };;
4068  esac
4069done
4070
4071
4072# If the user did not use the arguments to specify the items to instantiate,
4073# then the envvar interface is used.  Set only those that are not.
4074# We use the long form for the default assignment because of an extremely
4075# bizarre bug on SunOS 4.1.3.
4076if $ac_need_defaults; then
4077  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4078  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4079fi
4080
4081# Have a temporary directory for convenience.  Make it in the build tree
4082# simply because there is no reason against having it here, and in addition,
4083# creating and moving files from /tmp can sometimes cause problems.
4084# Hook for its removal unless debugging.
4085# Note that there is a small window in which the directory will not be cleaned:
4086# after its creation but before its name has been assigned to `$tmp'.
4087$debug ||
4088{
4089  tmp=
4090  trap 'exit_status=$?
4091  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4092' 0
4093  trap '{ (exit 1); exit 1; }' 1 2 13 15
4094}
4095# Create a (secure) tmp directory for tmp files.
4096
4097{
4098  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4099  test -n "$tmp" && test -d "$tmp"
4100}  ||
4101{
4102  tmp=./conf$$-$RANDOM
4103  (umask 077 && mkdir "$tmp")
4104} ||
4105{
4106   echo "$me: cannot create a temporary directory in ." >&2
4107   { (exit 1); exit 1; }
4108}
4109
4110#
4111# Set up the sed scripts for CONFIG_FILES section.
4112#
4113
4114# No need to generate the scripts if there are no CONFIG_FILES.
4115# This happens for instance when ./config.status config.h
4116if test -n "$CONFIG_FILES"; then
4117
4118_ACEOF
4119
4120
4121
4122ac_delim='%!_!# '
4123for ac_last_try in false false false false false :; do
4124  cat >conf$$subs.sed <<_ACEOF
4125SHELL!$SHELL$ac_delim
4126PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4127PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4128PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4129PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4130PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4131PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4132exec_prefix!$exec_prefix$ac_delim
4133prefix!$prefix$ac_delim
4134program_transform_name!$program_transform_name$ac_delim
4135bindir!$bindir$ac_delim
4136sbindir!$sbindir$ac_delim
4137libexecdir!$libexecdir$ac_delim
4138datarootdir!$datarootdir$ac_delim
4139datadir!$datadir$ac_delim
4140sysconfdir!$sysconfdir$ac_delim
4141sharedstatedir!$sharedstatedir$ac_delim
4142localstatedir!$localstatedir$ac_delim
4143includedir!$includedir$ac_delim
4144oldincludedir!$oldincludedir$ac_delim
4145docdir!$docdir$ac_delim
4146infodir!$infodir$ac_delim
4147htmldir!$htmldir$ac_delim
4148dvidir!$dvidir$ac_delim
4149pdfdir!$pdfdir$ac_delim
4150psdir!$psdir$ac_delim
4151libdir!$libdir$ac_delim
4152localedir!$localedir$ac_delim
4153mandir!$mandir$ac_delim
4154DEFS!$DEFS$ac_delim
4155ECHO_C!$ECHO_C$ac_delim
4156ECHO_N!$ECHO_N$ac_delim
4157ECHO_T!$ECHO_T$ac_delim
4158LIBS!$LIBS$ac_delim
4159build_alias!$build_alias$ac_delim
4160host_alias!$host_alias$ac_delim
4161target_alias!$target_alias$ac_delim
4162INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4163INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4164INSTALL_DATA!$INSTALL_DATA$ac_delim
4165CYGPATH_W!$CYGPATH_W$ac_delim
4166PACKAGE!$PACKAGE$ac_delim
4167VERSION!$VERSION$ac_delim
4168ACLOCAL!$ACLOCAL$ac_delim
4169AUTOCONF!$AUTOCONF$ac_delim
4170AUTOMAKE!$AUTOMAKE$ac_delim
4171AUTOHEADER!$AUTOHEADER$ac_delim
4172MAKEINFO!$MAKEINFO$ac_delim
4173install_sh!$install_sh$ac_delim
4174STRIP!$STRIP$ac_delim
4175INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4176mkdir_p!$mkdir_p$ac_delim
4177AWK!$AWK$ac_delim
4178SET_MAKE!$SET_MAKE$ac_delim
4179am__leading_dot!$am__leading_dot$ac_delim
4180AMTAR!$AMTAR$ac_delim
4181am__tar!$am__tar$ac_delim
4182am__untar!$am__untar$ac_delim
4183RANLIB!$RANLIB$ac_delim
4184CC!$CC$ac_delim
4185CFLAGS!$CFLAGS$ac_delim
4186LDFLAGS!$LDFLAGS$ac_delim
4187CPPFLAGS!$CPPFLAGS$ac_delim
4188ac_ct_CC!$ac_ct_CC$ac_delim
4189EXEEXT!$EXEEXT$ac_delim
4190OBJEXT!$OBJEXT$ac_delim
4191DEPDIR!$DEPDIR$ac_delim
4192am__include!$am__include$ac_delim
4193am__quote!$am__quote$ac_delim
4194AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4195AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4196AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4197CCDEPMODE!$CCDEPMODE$ac_delim
4198am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4199am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4200build!$build$ac_delim
4201build_cpu!$build_cpu$ac_delim
4202build_vendor!$build_vendor$ac_delim
4203build_os!$build_os$ac_delim
4204host!$host$ac_delim
4205host_cpu!$host_cpu$ac_delim
4206host_vendor!$host_vendor$ac_delim
4207host_os!$host_os$ac_delim
4208LIBOBJS!$LIBOBJS$ac_delim
4209LTLIBOBJS!$LTLIBOBJS$ac_delim
4210_ACEOF
4211
4212  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
4213    break
4214  elif $ac_last_try; then
4215    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4216echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4217   { (exit 1); exit 1; }; }
4218  else
4219    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4220  fi
4221done
4222
4223ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4224if test -n "$ac_eof"; then
4225  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4226  ac_eof=`expr $ac_eof + 1`
4227fi
4228
4229cat >>$CONFIG_STATUS <<_ACEOF
4230cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4231/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4232_ACEOF
4233sed '
4234s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4235s/^/s,@/; s/!/@,|#_!!_#|/
4236:n
4237t n
4238s/'"$ac_delim"'$/,g/; t
4239s/$/\\/; p
4240N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4241' >>$CONFIG_STATUS <conf$$subs.sed
4242rm -f conf$$subs.sed
4243cat >>$CONFIG_STATUS <<_ACEOF
4244:end
4245s/|#_!!_#|//g
4246CEOF$ac_eof
4247_ACEOF
4248
4249
4250# VPATH may cause trouble with some makes, so we remove $(srcdir),
4251# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4252# trailing colons and then remove the whole line if VPATH becomes empty
4253# (actually we leave an empty line to preserve line numbers).
4254if test "x$srcdir" = x.; then
4255  ac_vpsub='/^[  ]*VPATH[    ]*=/{
4256s/:*\$(srcdir):*/:/
4257s/:*\${srcdir}:*/:/
4258s/:*@srcdir@:*/:/
4259s/^\([^=]*=[     ]*\):*/\1/
4260s/:*$//
4261s/^[^=]*=[   ]*$//
4262}'
4263fi
4264
4265cat >>$CONFIG_STATUS <<\_ACEOF
4266fi # test -n "$CONFIG_FILES"
4267
4268
4269for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
4270do
4271  case $ac_tag in
4272  :[FHLC]) ac_mode=$ac_tag; continue;;
4273  esac
4274  case $ac_mode$ac_tag in
4275  :[FHL]*:*);;
4276  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4277echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4278   { (exit 1); exit 1; }; };;
4279  :[FH]-) ac_tag=-:-;;
4280  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4281  esac
4282  ac_save_IFS=$IFS
4283  IFS=:
4284  set x $ac_tag
4285  IFS=$ac_save_IFS
4286  shift
4287  ac_file=$1
4288  shift
4289
4290  case $ac_mode in
4291  :L) ac_source=$1;;
4292  :[FH])
4293    ac_file_inputs=
4294    for ac_f
4295    do
4296      case $ac_f in
4297      -) ac_f="$tmp/stdin";;
4298      *) # Look for the file first in the build tree, then in the source tree
4299     # (if the path is not absolute).  The absolute path cannot be DOS-style,
4300     # because $ac_f cannot contain `:'.
4301     test -f "$ac_f" ||
4302       case $ac_f in
4303       [\\/$]*) false;;
4304       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4305       esac ||
4306       { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4307echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4308   { (exit 1); exit 1; }; };;
4309      esac
4310      ac_file_inputs="$ac_file_inputs $ac_f"
4311    done
4312
4313    # Let's still pretend it is `configure' which instantiates (i.e., don't
4314    # use $as_me), people would be surprised to read:
4315    #    /* config.h.  Generated by config.status.  */
4316    configure_input="Generated from "`IFS=:
4317      echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4318    if test x"$ac_file" != x-; then
4319      configure_input="$ac_file.  $configure_input"
4320      { echo "$as_me:$LINENO: creating $ac_file" >&5
4321echo "$as_me: creating $ac_file" >&6;}
4322    fi
4323
4324    case $ac_tag in
4325    *:-:* | *:-) cat >"$tmp/stdin";;
4326    esac
4327    ;;
4328  esac
4329
4330  ac_dir=`$as_dirname -- "$ac_file" ||
4331$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4332     X"$ac_file" : 'X\(//\)[^/]' \| \
4333     X"$ac_file" : 'X\(//\)$' \| \
4334     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4335echo X"$ac_file" |
4336    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4337        s//\1/
4338        q
4339      }
4340      /^X\(\/\/\)[^/].*/{
4341        s//\1/
4342        q
4343      }
4344      /^X\(\/\/\)$/{
4345        s//\1/
4346        q
4347      }
4348      /^X\(\/\).*/{
4349        s//\1/
4350        q
4351      }
4352      s/.*/./; q'`
4353  { as_dir="$ac_dir"
4354  case $as_dir in #(
4355  -*) as_dir=./$as_dir;;
4356  esac
4357  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4358    as_dirs=
4359    while :; do
4360      case $as_dir in #(
4361      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4362      *) as_qdir=$as_dir;;
4363      esac
4364      as_dirs="'$as_qdir' $as_dirs"
4365      as_dir=`$as_dirname -- "$as_dir" ||
4366$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4367     X"$as_dir" : 'X\(//\)[^/]' \| \
4368     X"$as_dir" : 'X\(//\)$' \| \
4369     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4370echo X"$as_dir" |
4371    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4372        s//\1/
4373        q
4374      }
4375      /^X\(\/\/\)[^/].*/{
4376        s//\1/
4377        q
4378      }
4379      /^X\(\/\/\)$/{
4380        s//\1/
4381        q
4382      }
4383      /^X\(\/\).*/{
4384        s//\1/
4385        q
4386      }
4387      s/.*/./; q'`
4388      test -d "$as_dir" && break
4389    done
4390    test -z "$as_dirs" || eval "mkdir $as_dirs"
4391  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4392echo "$as_me: error: cannot create directory $as_dir" >&2;}
4393   { (exit 1); exit 1; }; }; }
4394  ac_builddir=.
4395
4396case "$ac_dir" in
4397.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4398*)
4399  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4400  # A ".." for each directory in $ac_dir_suffix.
4401  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4402  case $ac_top_builddir_sub in
4403  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4404  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4405  esac ;;
4406esac
4407ac_abs_top_builddir=$ac_pwd
4408ac_abs_builddir=$ac_pwd$ac_dir_suffix
4409# for backward compatibility:
4410ac_top_builddir=$ac_top_build_prefix
4411
4412case $srcdir in
4413  .)  # We are building in place.
4414    ac_srcdir=.
4415    ac_top_srcdir=$ac_top_builddir_sub
4416    ac_abs_top_srcdir=$ac_pwd ;;
4417  [\\/]* | ?:[\\/]* )  # Absolute name.
4418    ac_srcdir=$srcdir$ac_dir_suffix;
4419    ac_top_srcdir=$srcdir
4420    ac_abs_top_srcdir=$srcdir ;;
4421  *) # Relative name.
4422    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4423    ac_top_srcdir=$ac_top_build_prefix$srcdir
4424    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4425esac
4426ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4427
4428
4429  case $ac_mode in
4430  :F)
4431  #
4432  # CONFIG_FILE
4433  #
4434
4435  case $INSTALL in
4436  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4437  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4438  esac
4439_ACEOF
4440
4441cat >>$CONFIG_STATUS <<\_ACEOF
4442# If the template does not know about datarootdir, expand it.
4443# FIXME: This hack should be removed a few years after 2.60.
4444ac_datarootdir_hack=; ac_datarootdir_seen=
4445
4446case `sed -n '/datarootdir/ {
4447  p
4448  q
4449}
4450/@datadir@/p
4451/@docdir@/p
4452/@infodir@/p
4453/@localedir@/p
4454/@mandir@/p
4455' $ac_file_inputs` in
4456*datarootdir*) ac_datarootdir_seen=yes;;
4457*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4458  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4459echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4460_ACEOF
4461cat >>$CONFIG_STATUS <<_ACEOF
4462  ac_datarootdir_hack='
4463  s&@datadir@&$datadir&g
4464  s&@docdir@&$docdir&g
4465  s&@infodir@&$infodir&g
4466  s&@localedir@&$localedir&g
4467  s&@mandir@&$mandir&g
4468    s&\\\${datarootdir}&$datarootdir&g' ;;
4469esac
4470_ACEOF
4471
4472# Neutralize VPATH when `$srcdir' = `.'.
4473# Shell code in configure.ac might set extrasub.
4474# FIXME: do we really want to maintain this feature?
4475cat >>$CONFIG_STATUS <<_ACEOF
4476  sed "$ac_vpsub
4477$extrasub
4478_ACEOF
4479cat >>$CONFIG_STATUS <<\_ACEOF
4480:t
4481/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4482s&@configure_input@&$configure_input&;t t
4483s&@top_builddir@&$ac_top_builddir_sub&;t t
4484s&@srcdir@&$ac_srcdir&;t t
4485s&@abs_srcdir@&$ac_abs_srcdir&;t t
4486s&@top_srcdir@&$ac_top_srcdir&;t t
4487s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4488s&@builddir@&$ac_builddir&;t t
4489s&@abs_builddir@&$ac_abs_builddir&;t t
4490s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4491s&@INSTALL@&$ac_INSTALL&;t t
4492$ac_datarootdir_hack
4493" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4494
4495test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4496  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4497  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4498  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4499which seems to be undefined.  Please make sure it is defined." >&5
4500echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4501which seems to be undefined.  Please make sure it is defined." >&2;}
4502
4503  rm -f "$tmp/stdin"
4504  case $ac_file in
4505  -) cat "$tmp/out"; rm -f "$tmp/out";;
4506  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4507  esac
4508 ;;
4509
4510
4511  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
4512echo "$as_me: executing $ac_file commands" >&6;}
4513 ;;
4514  esac
4515
4516
4517  case $ac_file$ac_mode in
4518    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4519  # Strip MF so we end up with the name of the file.
4520  mf=`echo "$mf" | sed -e 's/:.*$//'`
4521  # Check whether this is an Automake generated Makefile or not.
4522  # We used to match only the files named `Makefile.in', but
4523  # some people rename them; so instead we look at the file content.
4524  # Grep'ing the first line is not enough: some people post-process
4525  # each Makefile.in and add a new line on top of each file to say so.
4526  # So let's grep whole file.
4527  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4528    dirpart=`$as_dirname -- "$mf" ||
4529$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4530     X"$mf" : 'X\(//\)[^/]' \| \
4531     X"$mf" : 'X\(//\)$' \| \
4532     X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4533echo X"$mf" |
4534    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4535        s//\1/
4536        q
4537      }
4538      /^X\(\/\/\)[^/].*/{
4539        s//\1/
4540        q
4541      }
4542      /^X\(\/\/\)$/{
4543        s//\1/
4544        q
4545      }
4546      /^X\(\/\).*/{
4547        s//\1/
4548        q
4549      }
4550      s/.*/./; q'`
4551  else
4552    continue
4553  fi
4554  # Extract the definition of DEPDIR, am__include, and am__quote
4555  # from the Makefile without running `make'.
4556  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4557  test -z "$DEPDIR" && continue
4558  am__include=`sed -n 's/^am__include = //p' < "$mf"`
4559  test -z "am__include" && continue
4560  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4561  # When using ansi2knr, U may be empty or an underscore; expand it
4562  U=`sed -n 's/^U = //p' < "$mf"`
4563  # Find all dependency output files, they are included files with
4564  # $(DEPDIR) in their names.  We invoke sed twice because it is the
4565  # simplest approach to changing $(DEPDIR) to its actual value in the
4566  # expansion.
4567  for file in `sed -n "
4568    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4569       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4570    # Make sure the directory exists.
4571    test -f "$dirpart/$file" && continue
4572    fdir=`$as_dirname -- "$file" ||
4573$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4574     X"$file" : 'X\(//\)[^/]' \| \
4575     X"$file" : 'X\(//\)$' \| \
4576     X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4577echo X"$file" |
4578    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4579        s//\1/
4580        q
4581      }
4582      /^X\(\/\/\)[^/].*/{
4583        s//\1/
4584        q
4585      }
4586      /^X\(\/\/\)$/{
4587        s//\1/
4588        q
4589      }
4590      /^X\(\/\).*/{
4591        s//\1/
4592        q
4593      }
4594      s/.*/./; q'`
4595    { as_dir=$dirpart/$fdir
4596  case $as_dir in #(
4597  -*) as_dir=./$as_dir;;
4598  esac
4599  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4600    as_dirs=
4601    while :; do
4602      case $as_dir in #(
4603      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4604      *) as_qdir=$as_dir;;
4605      esac
4606      as_dirs="'$as_qdir' $as_dirs"
4607      as_dir=`$as_dirname -- "$as_dir" ||
4608$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4609     X"$as_dir" : 'X\(//\)[^/]' \| \
4610     X"$as_dir" : 'X\(//\)$' \| \
4611     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4612echo X"$as_dir" |
4613    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4614        s//\1/
4615        q
4616      }
4617      /^X\(\/\/\)[^/].*/{
4618        s//\1/
4619        q
4620      }
4621      /^X\(\/\/\)$/{
4622        s//\1/
4623        q
4624      }
4625      /^X\(\/\).*/{
4626        s//\1/
4627        q
4628      }
4629      s/.*/./; q'`
4630      test -d "$as_dir" && break
4631    done
4632    test -z "$as_dirs" || eval "mkdir $as_dirs"
4633  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4634echo "$as_me: error: cannot create directory $as_dir" >&2;}
4635   { (exit 1); exit 1; }; }; }
4636    # echo "creating $dirpart/$file"
4637    echo '# dummy' > "$dirpart/$file"
4638  done
4639done
4640 ;;
4641
4642  esac
4643done # for ac_tag
4644
4645
4646{ (exit 0); exit 0; }
4647_ACEOF
4648chmod +x $CONFIG_STATUS
4649ac_clean_files=$ac_clean_files_save
4650
4651
4652# configure is writing to config.log, and then calls config.status.
4653# config.status does its own redirection, appending to config.log.
4654# Unfortunately, on DOS this fails, as config.log is still kept open
4655# by configure, so config.status won't be able to write to it; its
4656# output is simply discarded.  So we exec the FD to /dev/null,
4657# effectively closing config.log, so it can be properly (re)opened and
4658# appended to by config.status.  When coming back to configure, we
4659# need to make the FD available again.
4660if test "$no_create" != yes; then
4661  ac_cs_success=:
4662  ac_config_status_args=
4663  test "$silent" = yes &&
4664    ac_config_status_args="$ac_config_status_args --quiet"
4665  exec 5>/dev/null
4666  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4667  exec 5>>config.log
4668  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4669  # would make configure fail if this is the last instruction.
4670  $ac_cs_success || { (exit 1); exit 1; }
4671fi
4672
4673
Note: See TracBrowser for help on using the browser.