1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for mpm-itk 2.4.7-04.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199  if (eval "$as_required") 2>/dev/null; then :
200  as_have_required=yes
201else
202  as_have_required=no
203fi
204  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206else
207  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208as_found=false
209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210do
211  IFS=$as_save_IFS
212  test -z "$as_dir" && as_dir=.
213  as_found=:
214  case $as_dir in #(
215	 /*)
216	   for as_base in sh bash ksh sh5; do
217	     # Try only shells that exist, to save several forks.
218	     as_shell=$as_dir/$as_base
219	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221  CONFIG_SHELL=$as_shell as_have_required=yes
222		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223  break 2
224fi
225fi
226	   done;;
227       esac
228  as_found=false
229done
230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232  CONFIG_SHELL=$SHELL as_have_required=yes
233fi; }
234IFS=$as_save_IFS
235
236
237      if test "x$CONFIG_SHELL" != x; then :
238  export CONFIG_SHELL
239             # We cannot yet assume a decent shell, so we have to provide a
240# neutralization value for shells without unset; and this also
241# works around shells that cannot unset nonexistent variables.
242# Preserve -v and -x to the replacement shell.
243BASH_ENV=/dev/null
244ENV=/dev/null
245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246case $- in # ((((
247  *v*x* | *x*v* ) as_opts=-vx ;;
248  *v* ) as_opts=-v ;;
249  *x* ) as_opts=-x ;;
250  * ) as_opts= ;;
251esac
252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253# Admittedly, this is quite paranoid, since all the known shells bail
254# out after a failed `exec'.
255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256exit 255
257fi
258
259    if test x$as_have_required = xno; then :
260  $as_echo "$0: This script requires a shell more modern than all"
261  $as_echo "$0: the shells that I found on your system."
262  if test x${ZSH_VERSION+set} = xset ; then
263    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265  else
266    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267$0: including any error possibly output before this
268$0: message. Then install a modern shell, or manually run
269$0: the script under such a shell if you do have one."
270  fi
271  exit 1
272fi
273fi
274fi
275SHELL=${CONFIG_SHELL-/bin/sh}
276export SHELL
277# Unset more variables known to interfere with behavior of common tools.
278CLICOLOR_FORCE= GREP_OPTIONS=
279unset CLICOLOR_FORCE GREP_OPTIONS
280
281## --------------------- ##
282## M4sh Shell Functions. ##
283## --------------------- ##
284# as_fn_unset VAR
285# ---------------
286# Portably unset VAR.
287as_fn_unset ()
288{
289  { eval $1=; unset $1;}
290}
291as_unset=as_fn_unset
292
293# as_fn_set_status STATUS
294# -----------------------
295# Set $? to STATUS, without forking.
296as_fn_set_status ()
297{
298  return $1
299} # as_fn_set_status
300
301# as_fn_exit STATUS
302# -----------------
303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304as_fn_exit ()
305{
306  set +e
307  as_fn_set_status $1
308  exit $1
309} # as_fn_exit
310
311# as_fn_mkdir_p
312# -------------
313# Create "$as_dir" as a directory, including parents if necessary.
314as_fn_mkdir_p ()
315{
316
317  case $as_dir in #(
318  -*) as_dir=./$as_dir;;
319  esac
320  test -d "$as_dir" || eval $as_mkdir_p || {
321    as_dirs=
322    while :; do
323      case $as_dir in #(
324      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325      *) as_qdir=$as_dir;;
326      esac
327      as_dirs="'$as_qdir' $as_dirs"
328      as_dir=`$as_dirname -- "$as_dir" ||
329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330	 X"$as_dir" : 'X\(//\)[^/]' \| \
331	 X"$as_dir" : 'X\(//\)$' \| \
332	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333$as_echo X"$as_dir" |
334    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335	    s//\1/
336	    q
337	  }
338	  /^X\(\/\/\)[^/].*/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)$/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\).*/{
347	    s//\1/
348	    q
349	  }
350	  s/.*/./; q'`
351      test -d "$as_dir" && break
352    done
353    test -z "$as_dirs" || eval "mkdir $as_dirs"
354  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357} # as_fn_mkdir_p
358
359# as_fn_executable_p FILE
360# -----------------------
361# Test if FILE is an executable regular file.
362as_fn_executable_p ()
363{
364  test -f "$1" && test -x "$1"
365} # as_fn_executable_p
366# as_fn_append VAR VALUE
367# ----------------------
368# Append the text in VALUE to the end of the definition contained in VAR. Take
369# advantage of any shell optimizations that allow amortized linear growth over
370# repeated appends, instead of the typical quadratic growth present in naive
371# implementations.
372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373  eval 'as_fn_append ()
374  {
375    eval $1+=\$2
376  }'
377else
378  as_fn_append ()
379  {
380    eval $1=\$$1\$2
381  }
382fi # as_fn_append
383
384# as_fn_arith ARG...
385# ------------------
386# Perform arithmetic evaluation on the ARGs, and store the result in the
387# global $as_val. Take advantage of shells that can avoid forks. The arguments
388# must be portable across $(()) and expr.
389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390  eval 'as_fn_arith ()
391  {
392    as_val=$(( $* ))
393  }'
394else
395  as_fn_arith ()
396  {
397    as_val=`expr "$@" || test $? -eq 1`
398  }
399fi # as_fn_arith
400
401
402# as_fn_error STATUS ERROR [LINENO LOG_FD]
403# ----------------------------------------
404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406# script with STATUS, using 1 if that was 0.
407as_fn_error ()
408{
409  as_status=$1; test $as_status -eq 0 && as_status=1
410  if test "$4"; then
411    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413  fi
414  $as_echo "$as_me: error: $2" >&2
415  as_fn_exit $as_status
416} # as_fn_error
417
418if expr a : '\(a\)' >/dev/null 2>&1 &&
419   test "X`expr 00001 : '.*\(...\)'`" = X001; then
420  as_expr=expr
421else
422  as_expr=false
423fi
424
425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426  as_basename=basename
427else
428  as_basename=false
429fi
430
431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432  as_dirname=dirname
433else
434  as_dirname=false
435fi
436
437as_me=`$as_basename -- "$0" ||
438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439	 X"$0" : 'X\(//\)$' \| \
440	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441$as_echo X/"$0" |
442    sed '/^.*\/\([^/][^/]*\)\/*$/{
443	    s//\1/
444	    q
445	  }
446	  /^X\/\(\/\/\)$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\).*/{
451	    s//\1/
452	    q
453	  }
454	  s/.*/./; q'`
455
456# Avoid depending upon Character Ranges.
457as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460as_cr_digits='0123456789'
461as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464  as_lineno_1=$LINENO as_lineno_1a=$LINENO
465  as_lineno_2=$LINENO as_lineno_2a=$LINENO
466  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
469  sed -n '
470    p
471    /[$]LINENO/=
472  ' <$as_myself |
473    sed '
474      s/[$]LINENO.*/&-/
475      t lineno
476      b
477      :lineno
478      N
479      :loop
480      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481      t loop
482      s/-\n.*//
483    ' >$as_me.lineno &&
484  chmod +x "$as_me.lineno" ||
485    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488  # already done that, so ensure we don't try to do so again and fall
489  # in an infinite loop.  This has already happened in practice.
490  _as_can_reexec=no; export _as_can_reexec
491  # Don't try to exec as it changes $[0], causing all sort of problems
492  # (the dirname of $[0] is not the place where we might find the
493  # original and so on.  Autoconf is especially sensitive to this).
494  . "./$as_me.lineno"
495  # Exit status is that of the last command.
496  exit
497}
498
499ECHO_C= ECHO_N= ECHO_T=
500case `echo -n x` in #(((((
501-n*)
502  case `echo 'xy\c'` in
503  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
504  xy)  ECHO_C='\c';;
505  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
506       ECHO_T='	';;
507  esac;;
508*)
509  ECHO_N='-n';;
510esac
511
512rm -f conf$$ conf$$.exe conf$$.file
513if test -d conf$$.dir; then
514  rm -f conf$$.dir/conf$$.file
515else
516  rm -f conf$$.dir
517  mkdir conf$$.dir 2>/dev/null
518fi
519if (echo >conf$$.file) 2>/dev/null; then
520  if ln -s conf$$.file conf$$ 2>/dev/null; then
521    as_ln_s='ln -s'
522    # ... but there are two gotchas:
523    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525    # In both cases, we have to default to `cp -pR'.
526    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527      as_ln_s='cp -pR'
528  elif ln conf$$.file conf$$ 2>/dev/null; then
529    as_ln_s=ln
530  else
531    as_ln_s='cp -pR'
532  fi
533else
534  as_ln_s='cp -pR'
535fi
536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537rmdir conf$$.dir 2>/dev/null
538
539if mkdir -p . 2>/dev/null; then
540  as_mkdir_p='mkdir -p "$as_dir"'
541else
542  test -d ./-p && rmdir ./-p
543  as_mkdir_p=false
544fi
545
546as_test_x='test -x'
547as_executable_p=as_fn_executable_p
548
549# Sed expression to map a string onto a valid CPP name.
550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552# Sed expression to map a string onto a valid variable name.
553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556test -n "$DJDIR" || exec 7<&0 </dev/null
557exec 6>&1
558
559# Name of the host.
560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561# so uname gets run too.
562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
564#
565# Initializations.
566#
567ac_default_prefix=/usr/local
568ac_clean_files=
569ac_config_libobj_dir=.
570LIBOBJS=
571cross_compiling=no
572subdirs=
573MFLAGS=
574MAKEFLAGS=
575
576# Identity of this package.
577PACKAGE_NAME='mpm-itk'
578PACKAGE_TARNAME='mpm-itk'
579PACKAGE_VERSION='2.4.7-04'
580PACKAGE_STRING='mpm-itk 2.4.7-04'
581PACKAGE_BUGREPORT=''
582PACKAGE_URL=''
583
584ac_subst_vars='LTLIBOBJS
585LIBOBJS
586APXS
587OBJEXT
588EXEEXT
589ac_ct_CC
590CPPFLAGS
591LDFLAGS
592CFLAGS
593CC
594target_alias
595host_alias
596build_alias
597LIBS
598ECHO_T
599ECHO_N
600ECHO_C
601DEFS
602mandir
603localedir
604libdir
605psdir
606pdfdir
607dvidir
608htmldir
609infodir
610docdir
611oldincludedir
612includedir
613runstatedir
614localstatedir
615sharedstatedir
616sysconfdir
617datadir
618datarootdir
619libexecdir
620sbindir
621bindir
622program_transform_name
623prefix
624exec_prefix
625PACKAGE_URL
626PACKAGE_BUGREPORT
627PACKAGE_STRING
628PACKAGE_VERSION
629PACKAGE_TARNAME
630PACKAGE_NAME
631PATH_SEPARATOR
632SHELL'
633ac_subst_files=''
634ac_user_opts='
635enable_option_checking
636with_apxs
637'
638      ac_precious_vars='build_alias
639host_alias
640target_alias
641CC
642CFLAGS
643LDFLAGS
644LIBS
645CPPFLAGS
646APXS'
647
648
649# Initialize some variables set by options.
650ac_init_help=
651ac_init_version=false
652ac_unrecognized_opts=
653ac_unrecognized_sep=
654# The variables have the same names as the options, with
655# dashes changed to underlines.
656cache_file=/dev/null
657exec_prefix=NONE
658no_create=
659no_recursion=
660prefix=NONE
661program_prefix=NONE
662program_suffix=NONE
663program_transform_name=s,x,x,
664silent=
665site=
666srcdir=
667verbose=
668x_includes=NONE
669x_libraries=NONE
670
671# Installation directory options.
672# These are left unexpanded so users can "make install exec_prefix=/foo"
673# and all the variables that are supposed to be based on exec_prefix
674# by default will actually change.
675# Use braces instead of parens because sh, perl, etc. also accept them.
676# (The list follows the same order as the GNU Coding Standards.)
677bindir='${exec_prefix}/bin'
678sbindir='${exec_prefix}/sbin'
679libexecdir='${exec_prefix}/libexec'
680datarootdir='${prefix}/share'
681datadir='${datarootdir}'
682sysconfdir='${prefix}/etc'
683sharedstatedir='${prefix}/com'
684localstatedir='${prefix}/var'
685runstatedir='${localstatedir}/run'
686includedir='${prefix}/include'
687oldincludedir='/usr/include'
688docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
689infodir='${datarootdir}/info'
690htmldir='${docdir}'
691dvidir='${docdir}'
692pdfdir='${docdir}'
693psdir='${docdir}'
694libdir='${exec_prefix}/lib'
695localedir='${datarootdir}/locale'
696mandir='${datarootdir}/man'
697
698ac_prev=
699ac_dashdash=
700for ac_option
701do
702  # If the previous option needs an argument, assign it.
703  if test -n "$ac_prev"; then
704    eval $ac_prev=\$ac_option
705    ac_prev=
706    continue
707  fi
708
709  case $ac_option in
710  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
711  *=)   ac_optarg= ;;
712  *)    ac_optarg=yes ;;
713  esac
714
715  # Accept the important Cygnus configure options, so we can diagnose typos.
716
717  case $ac_dashdash$ac_option in
718  --)
719    ac_dashdash=yes ;;
720
721  -bindir | --bindir | --bindi | --bind | --bin | --bi)
722    ac_prev=bindir ;;
723  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
724    bindir=$ac_optarg ;;
725
726  -build | --build | --buil | --bui | --bu)
727    ac_prev=build_alias ;;
728  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
729    build_alias=$ac_optarg ;;
730
731  -cache-file | --cache-file | --cache-fil | --cache-fi \
732  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
733    ac_prev=cache_file ;;
734  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
735  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
736    cache_file=$ac_optarg ;;
737
738  --config-cache | -C)
739    cache_file=config.cache ;;
740
741  -datadir | --datadir | --datadi | --datad)
742    ac_prev=datadir ;;
743  -datadir=* | --datadir=* | --datadi=* | --datad=*)
744    datadir=$ac_optarg ;;
745
746  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
747  | --dataroo | --dataro | --datar)
748    ac_prev=datarootdir ;;
749  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
750  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
751    datarootdir=$ac_optarg ;;
752
753  -disable-* | --disable-*)
754    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
755    # Reject names that are not valid shell variable names.
756    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
757      as_fn_error $? "invalid feature name: $ac_useropt"
758    ac_useropt_orig=$ac_useropt
759    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
760    case $ac_user_opts in
761      *"
762"enable_$ac_useropt"
763"*) ;;
764      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
765	 ac_unrecognized_sep=', ';;
766    esac
767    eval enable_$ac_useropt=no ;;
768
769  -docdir | --docdir | --docdi | --doc | --do)
770    ac_prev=docdir ;;
771  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
772    docdir=$ac_optarg ;;
773
774  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
775    ac_prev=dvidir ;;
776  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
777    dvidir=$ac_optarg ;;
778
779  -enable-* | --enable-*)
780    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
781    # Reject names that are not valid shell variable names.
782    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
783      as_fn_error $? "invalid feature name: $ac_useropt"
784    ac_useropt_orig=$ac_useropt
785    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
786    case $ac_user_opts in
787      *"
788"enable_$ac_useropt"
789"*) ;;
790      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
791	 ac_unrecognized_sep=', ';;
792    esac
793    eval enable_$ac_useropt=\$ac_optarg ;;
794
795  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
796  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
797  | --exec | --exe | --ex)
798    ac_prev=exec_prefix ;;
799  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
800  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
801  | --exec=* | --exe=* | --ex=*)
802    exec_prefix=$ac_optarg ;;
803
804  -gas | --gas | --ga | --g)
805    # Obsolete; use --with-gas.
806    with_gas=yes ;;
807
808  -help | --help | --hel | --he | -h)
809    ac_init_help=long ;;
810  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
811    ac_init_help=recursive ;;
812  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
813    ac_init_help=short ;;
814
815  -host | --host | --hos | --ho)
816    ac_prev=host_alias ;;
817  -host=* | --host=* | --hos=* | --ho=*)
818    host_alias=$ac_optarg ;;
819
820  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
821    ac_prev=htmldir ;;
822  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
823  | --ht=*)
824    htmldir=$ac_optarg ;;
825
826  -includedir | --includedir | --includedi | --included | --include \
827  | --includ | --inclu | --incl | --inc)
828    ac_prev=includedir ;;
829  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
830  | --includ=* | --inclu=* | --incl=* | --inc=*)
831    includedir=$ac_optarg ;;
832
833  -infodir | --infodir | --infodi | --infod | --info | --inf)
834    ac_prev=infodir ;;
835  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
836    infodir=$ac_optarg ;;
837
838  -libdir | --libdir | --libdi | --libd)
839    ac_prev=libdir ;;
840  -libdir=* | --libdir=* | --libdi=* | --libd=*)
841    libdir=$ac_optarg ;;
842
843  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
844  | --libexe | --libex | --libe)
845    ac_prev=libexecdir ;;
846  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
847  | --libexe=* | --libex=* | --libe=*)
848    libexecdir=$ac_optarg ;;
849
850  -localedir | --localedir | --localedi | --localed | --locale)
851    ac_prev=localedir ;;
852  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
853    localedir=$ac_optarg ;;
854
855  -localstatedir | --localstatedir | --localstatedi | --localstated \
856  | --localstate | --localstat | --localsta | --localst | --locals)
857    ac_prev=localstatedir ;;
858  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
859  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
860    localstatedir=$ac_optarg ;;
861
862  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
863    ac_prev=mandir ;;
864  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
865    mandir=$ac_optarg ;;
866
867  -nfp | --nfp | --nf)
868    # Obsolete; use --without-fp.
869    with_fp=no ;;
870
871  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
872  | --no-cr | --no-c | -n)
873    no_create=yes ;;
874
875  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
876  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
877    no_recursion=yes ;;
878
879  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
880  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
881  | --oldin | --oldi | --old | --ol | --o)
882    ac_prev=oldincludedir ;;
883  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
884  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
885  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
886    oldincludedir=$ac_optarg ;;
887
888  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
889    ac_prev=prefix ;;
890  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
891    prefix=$ac_optarg ;;
892
893  -program-prefix | --program-prefix | --program-prefi | --program-pref \
894  | --program-pre | --program-pr | --program-p)
895    ac_prev=program_prefix ;;
896  -program-prefix=* | --program-prefix=* | --program-prefi=* \
897  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
898    program_prefix=$ac_optarg ;;
899
900  -program-suffix | --program-suffix | --program-suffi | --program-suff \
901  | --program-suf | --program-su | --program-s)
902    ac_prev=program_suffix ;;
903  -program-suffix=* | --program-suffix=* | --program-suffi=* \
904  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
905    program_suffix=$ac_optarg ;;
906
907  -program-transform-name | --program-transform-name \
908  | --program-transform-nam | --program-transform-na \
909  | --program-transform-n | --program-transform- \
910  | --program-transform | --program-transfor \
911  | --program-transfo | --program-transf \
912  | --program-trans | --program-tran \
913  | --progr-tra | --program-tr | --program-t)
914    ac_prev=program_transform_name ;;
915  -program-transform-name=* | --program-transform-name=* \
916  | --program-transform-nam=* | --program-transform-na=* \
917  | --program-transform-n=* | --program-transform-=* \
918  | --program-transform=* | --program-transfor=* \
919  | --program-transfo=* | --program-transf=* \
920  | --program-trans=* | --program-tran=* \
921  | --progr-tra=* | --program-tr=* | --program-t=*)
922    program_transform_name=$ac_optarg ;;
923
924  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
925    ac_prev=pdfdir ;;
926  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
927    pdfdir=$ac_optarg ;;
928
929  -psdir | --psdir | --psdi | --psd | --ps)
930    ac_prev=psdir ;;
931  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
932    psdir=$ac_optarg ;;
933
934  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
935  | -silent | --silent | --silen | --sile | --sil)
936    silent=yes ;;
937
938  -runstatedir | --runstatedir | --runstatedi | --runstated \
939  | --runstate | --runstat | --runsta | --runst | --runs \
940  | --run | --ru | --r)
941    ac_prev=runstatedir ;;
942  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
943  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
944  | --run=* | --ru=* | --r=*)
945    runstatedir=$ac_optarg ;;
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_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
994    # Reject names that are not valid shell variable names.
995    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
996      as_fn_error $? "invalid package name: $ac_useropt"
997    ac_useropt_orig=$ac_useropt
998    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999    case $ac_user_opts in
1000      *"
1001"with_$ac_useropt"
1002"*) ;;
1003      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1004	 ac_unrecognized_sep=', ';;
1005    esac
1006    eval with_$ac_useropt=\$ac_optarg ;;
1007
1008  -without-* | --without-*)
1009    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1010    # Reject names that are not valid shell variable names.
1011    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012      as_fn_error $? "invalid package name: $ac_useropt"
1013    ac_useropt_orig=$ac_useropt
1014    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015    case $ac_user_opts in
1016      *"
1017"with_$ac_useropt"
1018"*) ;;
1019      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1020	 ac_unrecognized_sep=', ';;
1021    esac
1022    eval with_$ac_useropt=no ;;
1023
1024  --x)
1025    # Obsolete; use --with-x.
1026    with_x=yes ;;
1027
1028  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1029  | --x-incl | --x-inc | --x-in | --x-i)
1030    ac_prev=x_includes ;;
1031  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1032  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1033    x_includes=$ac_optarg ;;
1034
1035  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1036  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1037    ac_prev=x_libraries ;;
1038  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1039  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1040    x_libraries=$ac_optarg ;;
1041
1042  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1043Try \`$0 --help' for more information"
1044    ;;
1045
1046  *=*)
1047    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1048    # Reject names that are not valid shell variable names.
1049    case $ac_envvar in #(
1050      '' | [0-9]* | *[!_$as_cr_alnum]* )
1051      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1052    esac
1053    eval $ac_envvar=\$ac_optarg
1054    export $ac_envvar ;;
1055
1056  *)
1057    # FIXME: should be removed in autoconf 3.0.
1058    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1059    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1060      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1061    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1062    ;;
1063
1064  esac
1065done
1066
1067if test -n "$ac_prev"; then
1068  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1069  as_fn_error $? "missing argument to $ac_option"
1070fi
1071
1072if test -n "$ac_unrecognized_opts"; then
1073  case $enable_option_checking in
1074    no) ;;
1075    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1076    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1077  esac
1078fi
1079
1080# Check all directory arguments for consistency.
1081for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1082		datadir sysconfdir sharedstatedir localstatedir includedir \
1083		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1084		libdir localedir mandir runstatedir
1085do
1086  eval ac_val=\$$ac_var
1087  # Remove trailing slashes.
1088  case $ac_val in
1089    */ )
1090      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1091      eval $ac_var=\$ac_val;;
1092  esac
1093  # Be sure to have absolute directory names.
1094  case $ac_val in
1095    [\\/$]* | ?:[\\/]* )  continue;;
1096    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1097  esac
1098  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1099done
1100
1101# There might be people who depend on the old broken behavior: `$host'
1102# used to hold the argument of --host etc.
1103# FIXME: To remove some day.
1104build=$build_alias
1105host=$host_alias
1106target=$target_alias
1107
1108# FIXME: To remove some day.
1109if test "x$host_alias" != x; then
1110  if test "x$build_alias" = x; then
1111    cross_compiling=maybe
1112  elif test "x$build_alias" != "x$host_alias"; then
1113    cross_compiling=yes
1114  fi
1115fi
1116
1117ac_tool_prefix=
1118test -n "$host_alias" && ac_tool_prefix=$host_alias-
1119
1120test "$silent" = yes && exec 6>/dev/null
1121
1122
1123ac_pwd=`pwd` && test -n "$ac_pwd" &&
1124ac_ls_di=`ls -di .` &&
1125ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1126  as_fn_error $? "working directory cannot be determined"
1127test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1128  as_fn_error $? "pwd does not report name of working directory"
1129
1130
1131# Find the source files, if location was not specified.
1132if test -z "$srcdir"; then
1133  ac_srcdir_defaulted=yes
1134  # Try the directory containing this script, then the parent directory.
1135  ac_confdir=`$as_dirname -- "$as_myself" ||
1136$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1137	 X"$as_myself" : 'X\(//\)[^/]' \| \
1138	 X"$as_myself" : 'X\(//\)$' \| \
1139	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1140$as_echo X"$as_myself" |
1141    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1142	    s//\1/
1143	    q
1144	  }
1145	  /^X\(\/\/\)[^/].*/{
1146	    s//\1/
1147	    q
1148	  }
1149	  /^X\(\/\/\)$/{
1150	    s//\1/
1151	    q
1152	  }
1153	  /^X\(\/\).*/{
1154	    s//\1/
1155	    q
1156	  }
1157	  s/.*/./; q'`
1158  srcdir=$ac_confdir
1159  if test ! -r "$srcdir/$ac_unique_file"; then
1160    srcdir=..
1161  fi
1162else
1163  ac_srcdir_defaulted=no
1164fi
1165if test ! -r "$srcdir/$ac_unique_file"; then
1166  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1167  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1168fi
1169ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1170ac_abs_confdir=`(
1171	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1172	pwd)`
1173# When building in place, set srcdir=.
1174if test "$ac_abs_confdir" = "$ac_pwd"; then
1175  srcdir=.
1176fi
1177# Remove unnecessary trailing slashes from srcdir.
1178# Double slashes in file names in object file debugging info
1179# mess up M-x gdb in Emacs.
1180case $srcdir in
1181*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1182esac
1183for ac_var in $ac_precious_vars; do
1184  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1185  eval ac_env_${ac_var}_value=\$${ac_var}
1186  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1187  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1188done
1189
1190#
1191# Report the --help message.
1192#
1193if test "$ac_init_help" = "long"; then
1194  # Omit some internal or obsolete options to make the list less imposing.
1195  # This message is too long to be a string in the A/UX 3.1 sh.
1196  cat <<_ACEOF
1197\`configure' configures mpm-itk 2.4.7-04 to adapt to many kinds of systems.
1198
1199Usage: $0 [OPTION]... [VAR=VALUE]...
1200
1201To assign environment variables (e.g., CC, CFLAGS...), specify them as
1202VAR=VALUE.  See below for descriptions of some of the useful variables.
1203
1204Defaults for the options are specified in brackets.
1205
1206Configuration:
1207  -h, --help              display this help and exit
1208      --help=short        display options specific to this package
1209      --help=recursive    display the short help of all the included packages
1210  -V, --version           display version information and exit
1211  -q, --quiet, --silent   do not print \`checking ...' messages
1212      --cache-file=FILE   cache test results in FILE [disabled]
1213  -C, --config-cache      alias for \`--cache-file=config.cache'
1214  -n, --no-create         do not create output files
1215      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1216
1217Installation directories:
1218  --prefix=PREFIX         install architecture-independent files in PREFIX
1219                          [$ac_default_prefix]
1220  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1221                          [PREFIX]
1222
1223By default, \`make install' will install all the files in
1224\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1225an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1226for instance \`--prefix=\$HOME'.
1227
1228For better control, use the options below.
1229
1230Fine tuning of the installation directories:
1231  --bindir=DIR            user executables [EPREFIX/bin]
1232  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1233  --libexecdir=DIR        program executables [EPREFIX/libexec]
1234  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1235  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1236  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1237  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1238  --libdir=DIR            object code libraries [EPREFIX/lib]
1239  --includedir=DIR        C header files [PREFIX/include]
1240  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1241  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1242  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1243  --infodir=DIR           info documentation [DATAROOTDIR/info]
1244  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1245  --mandir=DIR            man documentation [DATAROOTDIR/man]
1246  --docdir=DIR            documentation root [DATAROOTDIR/doc/mpm-itk]
1247  --htmldir=DIR           html documentation [DOCDIR]
1248  --dvidir=DIR            dvi documentation [DOCDIR]
1249  --pdfdir=DIR            pdf documentation [DOCDIR]
1250  --psdir=DIR             ps documentation [DOCDIR]
1251_ACEOF
1252
1253  cat <<\_ACEOF
1254_ACEOF
1255fi
1256
1257if test -n "$ac_init_help"; then
1258  case $ac_init_help in
1259     short | recursive ) echo "Configuration of mpm-itk 2.4.7-04:";;
1260   esac
1261  cat <<\_ACEOF
1262
1263Optional Packages:
1264  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1265  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1266  --with-apxs=APXS        absolute path name of apxs executable
1267
1268Some influential environment variables:
1269  CC          C compiler command
1270  CFLAGS      C compiler flags
1271  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1272              nonstandard directory <lib dir>
1273  LIBS        libraries to pass to the linker, e.g. -l<library>
1274  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1275              you have headers in a nonstandard directory <include dir>
1276  APXS
1277
1278Use these variables to override the choices made by `configure' or to help
1279it to find libraries and programs with nonstandard names/locations.
1280
1281Report bugs to the package provider.
1282_ACEOF
1283ac_status=$?
1284fi
1285
1286if test "$ac_init_help" = "recursive"; then
1287  # If there are subdirs, report their specific --help.
1288  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1289    test -d "$ac_dir" ||
1290      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1291      continue
1292    ac_builddir=.
1293
1294case "$ac_dir" in
1295.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1296*)
1297  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1298  # A ".." for each directory in $ac_dir_suffix.
1299  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1300  case $ac_top_builddir_sub in
1301  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1302  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1303  esac ;;
1304esac
1305ac_abs_top_builddir=$ac_pwd
1306ac_abs_builddir=$ac_pwd$ac_dir_suffix
1307# for backward compatibility:
1308ac_top_builddir=$ac_top_build_prefix
1309
1310case $srcdir in
1311  .)  # We are building in place.
1312    ac_srcdir=.
1313    ac_top_srcdir=$ac_top_builddir_sub
1314    ac_abs_top_srcdir=$ac_pwd ;;
1315  [\\/]* | ?:[\\/]* )  # Absolute name.
1316    ac_srcdir=$srcdir$ac_dir_suffix;
1317    ac_top_srcdir=$srcdir
1318    ac_abs_top_srcdir=$srcdir ;;
1319  *) # Relative name.
1320    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1321    ac_top_srcdir=$ac_top_build_prefix$srcdir
1322    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1323esac
1324ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1325
1326    cd "$ac_dir" || { ac_status=$?; continue; }
1327    # Check for guested configure.
1328    if test -f "$ac_srcdir/configure.gnu"; then
1329      echo &&
1330      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1331    elif test -f "$ac_srcdir/configure"; then
1332      echo &&
1333      $SHELL "$ac_srcdir/configure" --help=recursive
1334    else
1335      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336    fi || ac_status=$?
1337    cd "$ac_pwd" || { ac_status=$?; break; }
1338  done
1339fi
1340
1341test -n "$ac_init_help" && exit $ac_status
1342if $ac_init_version; then
1343  cat <<\_ACEOF
1344mpm-itk configure 2.4.7-04
1345generated by GNU Autoconf 2.69
1346
1347Copyright (C) 2012 Free Software Foundation, Inc.
1348This configure script is free software; the Free Software Foundation
1349gives unlimited permission to copy, distribute and modify it.
1350_ACEOF
1351  exit
1352fi
1353
1354## ------------------------ ##
1355## Autoconf initialization. ##
1356## ------------------------ ##
1357
1358# ac_fn_c_try_compile LINENO
1359# --------------------------
1360# Try to compile conftest.$ac_ext, and return whether this succeeded.
1361ac_fn_c_try_compile ()
1362{
1363  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1364  rm -f conftest.$ac_objext
1365  if { { ac_try="$ac_compile"
1366case "(($ac_try" in
1367  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1368  *) ac_try_echo=$ac_try;;
1369esac
1370eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1371$as_echo "$ac_try_echo"; } >&5
1372  (eval "$ac_compile") 2>conftest.err
1373  ac_status=$?
1374  if test -s conftest.err; then
1375    grep -v '^ *+' conftest.err >conftest.er1
1376    cat conftest.er1 >&5
1377    mv -f conftest.er1 conftest.err
1378  fi
1379  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1380  test $ac_status = 0; } && {
1381	 test -z "$ac_c_werror_flag" ||
1382	 test ! -s conftest.err
1383       } && test -s conftest.$ac_objext; then :
1384  ac_retval=0
1385else
1386  $as_echo "$as_me: failed program was:" >&5
1387sed 's/^/| /' conftest.$ac_ext >&5
1388
1389	ac_retval=1
1390fi
1391  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1392  as_fn_set_status $ac_retval
1393
1394} # ac_fn_c_try_compile
1395
1396# ac_fn_c_try_link LINENO
1397# -----------------------
1398# Try to link conftest.$ac_ext, and return whether this succeeded.
1399ac_fn_c_try_link ()
1400{
1401  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1402  rm -f conftest.$ac_objext conftest$ac_exeext
1403  if { { ac_try="$ac_link"
1404case "(($ac_try" in
1405  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1406  *) ac_try_echo=$ac_try;;
1407esac
1408eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1409$as_echo "$ac_try_echo"; } >&5
1410  (eval "$ac_link") 2>conftest.err
1411  ac_status=$?
1412  if test -s conftest.err; then
1413    grep -v '^ *+' conftest.err >conftest.er1
1414    cat conftest.er1 >&5
1415    mv -f conftest.er1 conftest.err
1416  fi
1417  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1418  test $ac_status = 0; } && {
1419	 test -z "$ac_c_werror_flag" ||
1420	 test ! -s conftest.err
1421       } && test -s conftest$ac_exeext && {
1422	 test "$cross_compiling" = yes ||
1423	 test -x conftest$ac_exeext
1424       }; then :
1425  ac_retval=0
1426else
1427  $as_echo "$as_me: failed program was:" >&5
1428sed 's/^/| /' conftest.$ac_ext >&5
1429
1430	ac_retval=1
1431fi
1432  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1433  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1434  # interfere with the next link command; also delete a directory that is
1435  # left behind by Apple's compiler.  We do this before executing the actions.
1436  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1437  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1438  as_fn_set_status $ac_retval
1439
1440} # ac_fn_c_try_link
1441cat >config.log <<_ACEOF
1442This file contains any messages produced by compilers while
1443running configure, to aid debugging if configure makes a mistake.
1444
1445It was created by mpm-itk $as_me 2.4.7-04, which was
1446generated by GNU Autoconf 2.69.  Invocation command line was
1447
1448  $ $0 $@
1449
1450_ACEOF
1451exec 5>>config.log
1452{
1453cat <<_ASUNAME
1454## --------- ##
1455## Platform. ##
1456## --------- ##
1457
1458hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1459uname -m = `(uname -m) 2>/dev/null || echo unknown`
1460uname -r = `(uname -r) 2>/dev/null || echo unknown`
1461uname -s = `(uname -s) 2>/dev/null || echo unknown`
1462uname -v = `(uname -v) 2>/dev/null || echo unknown`
1463
1464/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1465/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1466
1467/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1468/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1469/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1470/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1471/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1472/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1473/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1474
1475_ASUNAME
1476
1477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1478for as_dir in $PATH
1479do
1480  IFS=$as_save_IFS
1481  test -z "$as_dir" && as_dir=.
1482    $as_echo "PATH: $as_dir"
1483  done
1484IFS=$as_save_IFS
1485
1486} >&5
1487
1488cat >&5 <<_ACEOF
1489
1490
1491## ----------- ##
1492## Core tests. ##
1493## ----------- ##
1494
1495_ACEOF
1496
1497
1498# Keep a trace of the command line.
1499# Strip out --no-create and --no-recursion so they do not pile up.
1500# Strip out --silent because we don't want to record it for future runs.
1501# Also quote any args containing shell meta-characters.
1502# Make two passes to allow for proper duplicate-argument suppression.
1503ac_configure_args=
1504ac_configure_args0=
1505ac_configure_args1=
1506ac_must_keep_next=false
1507for ac_pass in 1 2
1508do
1509  for ac_arg
1510  do
1511    case $ac_arg in
1512    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1513    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1514    | -silent | --silent | --silen | --sile | --sil)
1515      continue ;;
1516    *\'*)
1517      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1518    esac
1519    case $ac_pass in
1520    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1521    2)
1522      as_fn_append ac_configure_args1 " '$ac_arg'"
1523      if test $ac_must_keep_next = true; then
1524	ac_must_keep_next=false # Got value, back to normal.
1525      else
1526	case $ac_arg in
1527	  *=* | --config-cache | -C | -disable-* | --disable-* \
1528	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1529	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1530	  | -with-* | --with-* | -without-* | --without-* | --x)
1531	    case "$ac_configure_args0 " in
1532	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1533	    esac
1534	    ;;
1535	  -* ) ac_must_keep_next=true ;;
1536	esac
1537      fi
1538      as_fn_append ac_configure_args " '$ac_arg'"
1539      ;;
1540    esac
1541  done
1542done
1543{ ac_configure_args0=; unset ac_configure_args0;}
1544{ ac_configure_args1=; unset ac_configure_args1;}
1545
1546# When interrupted or exit'd, cleanup temporary files, and complete
1547# config.log.  We remove comments because anyway the quotes in there
1548# would cause problems or look ugly.
1549# WARNING: Use '\'' to represent an apostrophe within the trap.
1550# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1551trap 'exit_status=$?
1552  # Save into config.log some information that might help in debugging.
1553  {
1554    echo
1555
1556    $as_echo "## ---------------- ##
1557## Cache variables. ##
1558## ---------------- ##"
1559    echo
1560    # The following way of writing the cache mishandles newlines in values,
1561(
1562  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1563    eval ac_val=\$$ac_var
1564    case $ac_val in #(
1565    *${as_nl}*)
1566      case $ac_var in #(
1567      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1568$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1569      esac
1570      case $ac_var in #(
1571      _ | IFS | as_nl) ;; #(
1572      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1573      *) { eval $ac_var=; unset $ac_var;} ;;
1574      esac ;;
1575    esac
1576  done
1577  (set) 2>&1 |
1578    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1579    *${as_nl}ac_space=\ *)
1580      sed -n \
1581	"s/'\''/'\''\\\\'\'''\''/g;
1582	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1583      ;; #(
1584    *)
1585      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1586      ;;
1587    esac |
1588    sort
1589)
1590    echo
1591
1592    $as_echo "## ----------------- ##
1593## Output variables. ##
1594## ----------------- ##"
1595    echo
1596    for ac_var in $ac_subst_vars
1597    do
1598      eval ac_val=\$$ac_var
1599      case $ac_val in
1600      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1601      esac
1602      $as_echo "$ac_var='\''$ac_val'\''"
1603    done | sort
1604    echo
1605
1606    if test -n "$ac_subst_files"; then
1607      $as_echo "## ------------------- ##
1608## File substitutions. ##
1609## ------------------- ##"
1610      echo
1611      for ac_var in $ac_subst_files
1612      do
1613	eval ac_val=\$$ac_var
1614	case $ac_val in
1615	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1616	esac
1617	$as_echo "$ac_var='\''$ac_val'\''"
1618      done | sort
1619      echo
1620    fi
1621
1622    if test -s confdefs.h; then
1623      $as_echo "## ----------- ##
1624## confdefs.h. ##
1625## ----------- ##"
1626      echo
1627      cat confdefs.h
1628      echo
1629    fi
1630    test "$ac_signal" != 0 &&
1631      $as_echo "$as_me: caught signal $ac_signal"
1632    $as_echo "$as_me: exit $exit_status"
1633  } >&5
1634  rm -f core *.core core.conftest.* &&
1635    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1636    exit $exit_status
1637' 0
1638for ac_signal in 1 2 13 15; do
1639  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1640done
1641ac_signal=0
1642
1643# confdefs.h avoids OS command line length limits that DEFS can exceed.
1644rm -f -r conftest* confdefs.h
1645
1646$as_echo "/* confdefs.h */" > confdefs.h
1647
1648# Predefined preprocessor variables.
1649
1650cat >>confdefs.h <<_ACEOF
1651#define PACKAGE_NAME "$PACKAGE_NAME"
1652_ACEOF
1653
1654cat >>confdefs.h <<_ACEOF
1655#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1656_ACEOF
1657
1658cat >>confdefs.h <<_ACEOF
1659#define PACKAGE_VERSION "$PACKAGE_VERSION"
1660_ACEOF
1661
1662cat >>confdefs.h <<_ACEOF
1663#define PACKAGE_STRING "$PACKAGE_STRING"
1664_ACEOF
1665
1666cat >>confdefs.h <<_ACEOF
1667#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1668_ACEOF
1669
1670cat >>confdefs.h <<_ACEOF
1671#define PACKAGE_URL "$PACKAGE_URL"
1672_ACEOF
1673
1674
1675# Let the site file select an alternate cache file if it wants to.
1676# Prefer an explicitly selected file to automatically selected ones.
1677ac_site_file1=NONE
1678ac_site_file2=NONE
1679if test -n "$CONFIG_SITE"; then
1680  # We do not want a PATH search for config.site.
1681  case $CONFIG_SITE in #((
1682    -*)  ac_site_file1=./$CONFIG_SITE;;
1683    */*) ac_site_file1=$CONFIG_SITE;;
1684    *)   ac_site_file1=./$CONFIG_SITE;;
1685  esac
1686elif test "x$prefix" != xNONE; then
1687  ac_site_file1=$prefix/share/config.site
1688  ac_site_file2=$prefix/etc/config.site
1689else
1690  ac_site_file1=$ac_default_prefix/share/config.site
1691  ac_site_file2=$ac_default_prefix/etc/config.site
1692fi
1693for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1694do
1695  test "x$ac_site_file" = xNONE && continue
1696  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1697    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1698$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1699    sed 's/^/| /' "$ac_site_file" >&5
1700    . "$ac_site_file" \
1701      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1702$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1703as_fn_error $? "failed to load site script $ac_site_file
1704See \`config.log' for more details" "$LINENO" 5; }
1705  fi
1706done
1707
1708if test -r "$cache_file"; then
1709  # Some versions of bash will fail to source /dev/null (special files
1710  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1711  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1712    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1713$as_echo "$as_me: loading cache $cache_file" >&6;}
1714    case $cache_file in
1715      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1716      *)                      . "./$cache_file";;
1717    esac
1718  fi
1719else
1720  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1721$as_echo "$as_me: creating cache $cache_file" >&6;}
1722  >$cache_file
1723fi
1724
1725# Check that the precious variables saved in the cache have kept the same
1726# value.
1727ac_cache_corrupted=false
1728for ac_var in $ac_precious_vars; do
1729  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1730  eval ac_new_set=\$ac_env_${ac_var}_set
1731  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1732  eval ac_new_val=\$ac_env_${ac_var}_value
1733  case $ac_old_set,$ac_new_set in
1734    set,)
1735      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1736$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1737      ac_cache_corrupted=: ;;
1738    ,set)
1739      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1740$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1741      ac_cache_corrupted=: ;;
1742    ,);;
1743    *)
1744      if test "x$ac_old_val" != "x$ac_new_val"; then
1745	# differences in whitespace do not lead to failure.
1746	ac_old_val_w=`echo x $ac_old_val`
1747	ac_new_val_w=`echo x $ac_new_val`
1748	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1749	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1750$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1751	  ac_cache_corrupted=:
1752	else
1753	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1754$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1755	  eval $ac_var=\$ac_old_val
1756	fi
1757	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1758$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1759	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1760$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1761      fi;;
1762  esac
1763  # Pass precious variables to config.status.
1764  if test "$ac_new_set" = set; then
1765    case $ac_new_val in
1766    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1767    *) ac_arg=$ac_var=$ac_new_val ;;
1768    esac
1769    case " $ac_configure_args " in
1770      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1771      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1772    esac
1773  fi
1774done
1775if $ac_cache_corrupted; then
1776  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1777$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1778  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1779$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1780  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1781fi
1782## -------------------- ##
1783## Main body of script. ##
1784## -------------------- ##
1785
1786ac_ext=c
1787ac_cpp='$CPP $CPPFLAGS'
1788ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1789ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1790ac_compiler_gnu=$ac_cv_c_compiler_gnu
1791
1792
1793ac_ext=c
1794ac_cpp='$CPP $CPPFLAGS'
1795ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1796ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1797ac_compiler_gnu=$ac_cv_c_compiler_gnu
1798if test -n "$ac_tool_prefix"; then
1799  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1800set dummy ${ac_tool_prefix}gcc; ac_word=$2
1801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1802$as_echo_n "checking for $ac_word... " >&6; }
1803if ${ac_cv_prog_CC+:} false; then :
1804  $as_echo_n "(cached) " >&6
1805else
1806  if test -n "$CC"; then
1807  ac_cv_prog_CC="$CC" # Let the user override the test.
1808else
1809as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810for as_dir in $PATH
1811do
1812  IFS=$as_save_IFS
1813  test -z "$as_dir" && as_dir=.
1814    for ac_exec_ext in '' $ac_executable_extensions; do
1815  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1817    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1818    break 2
1819  fi
1820done
1821  done
1822IFS=$as_save_IFS
1823
1824fi
1825fi
1826CC=$ac_cv_prog_CC
1827if test -n "$CC"; then
1828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1829$as_echo "$CC" >&6; }
1830else
1831  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1832$as_echo "no" >&6; }
1833fi
1834
1835
1836fi
1837if test -z "$ac_cv_prog_CC"; then
1838  ac_ct_CC=$CC
1839  # Extract the first word of "gcc", so it can be a program name with args.
1840set dummy gcc; ac_word=$2
1841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1842$as_echo_n "checking for $ac_word... " >&6; }
1843if ${ac_cv_prog_ac_ct_CC+:} false; then :
1844  $as_echo_n "(cached) " >&6
1845else
1846  if test -n "$ac_ct_CC"; then
1847  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1848else
1849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1850for as_dir in $PATH
1851do
1852  IFS=$as_save_IFS
1853  test -z "$as_dir" && as_dir=.
1854    for ac_exec_ext in '' $ac_executable_extensions; do
1855  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1856    ac_cv_prog_ac_ct_CC="gcc"
1857    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1858    break 2
1859  fi
1860done
1861  done
1862IFS=$as_save_IFS
1863
1864fi
1865fi
1866ac_ct_CC=$ac_cv_prog_ac_ct_CC
1867if test -n "$ac_ct_CC"; then
1868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1869$as_echo "$ac_ct_CC" >&6; }
1870else
1871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1872$as_echo "no" >&6; }
1873fi
1874
1875  if test "x$ac_ct_CC" = x; then
1876    CC=""
1877  else
1878    case $cross_compiling:$ac_tool_warned in
1879yes:)
1880{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1881$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1882ac_tool_warned=yes ;;
1883esac
1884    CC=$ac_ct_CC
1885  fi
1886else
1887  CC="$ac_cv_prog_CC"
1888fi
1889
1890if test -z "$CC"; then
1891          if test -n "$ac_tool_prefix"; then
1892    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1893set dummy ${ac_tool_prefix}cc; ac_word=$2
1894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1895$as_echo_n "checking for $ac_word... " >&6; }
1896if ${ac_cv_prog_CC+:} false; then :
1897  $as_echo_n "(cached) " >&6
1898else
1899  if test -n "$CC"; then
1900  ac_cv_prog_CC="$CC" # Let the user override the test.
1901else
1902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903for as_dir in $PATH
1904do
1905  IFS=$as_save_IFS
1906  test -z "$as_dir" && as_dir=.
1907    for ac_exec_ext in '' $ac_executable_extensions; do
1908  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1909    ac_cv_prog_CC="${ac_tool_prefix}cc"
1910    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1911    break 2
1912  fi
1913done
1914  done
1915IFS=$as_save_IFS
1916
1917fi
1918fi
1919CC=$ac_cv_prog_CC
1920if test -n "$CC"; then
1921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1922$as_echo "$CC" >&6; }
1923else
1924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1925$as_echo "no" >&6; }
1926fi
1927
1928
1929  fi
1930fi
1931if test -z "$CC"; then
1932  # Extract the first word of "cc", so it can be a program name with args.
1933set dummy cc; ac_word=$2
1934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1935$as_echo_n "checking for $ac_word... " >&6; }
1936if ${ac_cv_prog_CC+:} false; then :
1937  $as_echo_n "(cached) " >&6
1938else
1939  if test -n "$CC"; then
1940  ac_cv_prog_CC="$CC" # Let the user override the test.
1941else
1942  ac_prog_rejected=no
1943as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1944for as_dir in $PATH
1945do
1946  IFS=$as_save_IFS
1947  test -z "$as_dir" && as_dir=.
1948    for ac_exec_ext in '' $ac_executable_extensions; do
1949  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1950    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1951       ac_prog_rejected=yes
1952       continue
1953     fi
1954    ac_cv_prog_CC="cc"
1955    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1956    break 2
1957  fi
1958done
1959  done
1960IFS=$as_save_IFS
1961
1962if test $ac_prog_rejected = yes; then
1963  # We found a bogon in the path, so make sure we never use it.
1964  set dummy $ac_cv_prog_CC
1965  shift
1966  if test $# != 0; then
1967    # We chose a different compiler from the bogus one.
1968    # However, it has the same basename, so the bogon will be chosen
1969    # first if we set CC to just the basename; use the full file name.
1970    shift
1971    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1972  fi
1973fi
1974fi
1975fi
1976CC=$ac_cv_prog_CC
1977if test -n "$CC"; then
1978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1979$as_echo "$CC" >&6; }
1980else
1981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1982$as_echo "no" >&6; }
1983fi
1984
1985
1986fi
1987if test -z "$CC"; then
1988  if test -n "$ac_tool_prefix"; then
1989  for ac_prog in cl.exe
1990  do
1991    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1992set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1994$as_echo_n "checking for $ac_word... " >&6; }
1995if ${ac_cv_prog_CC+:} false; then :
1996  $as_echo_n "(cached) " >&6
1997else
1998  if test -n "$CC"; then
1999  ac_cv_prog_CC="$CC" # Let the user override the test.
2000else
2001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002for as_dir in $PATH
2003do
2004  IFS=$as_save_IFS
2005  test -z "$as_dir" && as_dir=.
2006    for ac_exec_ext in '' $ac_executable_extensions; do
2007  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2008    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2009    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2010    break 2
2011  fi
2012done
2013  done
2014IFS=$as_save_IFS
2015
2016fi
2017fi
2018CC=$ac_cv_prog_CC
2019if test -n "$CC"; then
2020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2021$as_echo "$CC" >&6; }
2022else
2023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2024$as_echo "no" >&6; }
2025fi
2026
2027
2028    test -n "$CC" && break
2029  done
2030fi
2031if test -z "$CC"; then
2032  ac_ct_CC=$CC
2033  for ac_prog in cl.exe
2034do
2035  # Extract the first word of "$ac_prog", so it can be a program name with args.
2036set dummy $ac_prog; ac_word=$2
2037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2038$as_echo_n "checking for $ac_word... " >&6; }
2039if ${ac_cv_prog_ac_ct_CC+:} false; then :
2040  $as_echo_n "(cached) " >&6
2041else
2042  if test -n "$ac_ct_CC"; then
2043  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2044else
2045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046for as_dir in $PATH
2047do
2048  IFS=$as_save_IFS
2049  test -z "$as_dir" && as_dir=.
2050    for ac_exec_ext in '' $ac_executable_extensions; do
2051  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2052    ac_cv_prog_ac_ct_CC="$ac_prog"
2053    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2054    break 2
2055  fi
2056done
2057  done
2058IFS=$as_save_IFS
2059
2060fi
2061fi
2062ac_ct_CC=$ac_cv_prog_ac_ct_CC
2063if test -n "$ac_ct_CC"; then
2064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2065$as_echo "$ac_ct_CC" >&6; }
2066else
2067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2068$as_echo "no" >&6; }
2069fi
2070
2071
2072  test -n "$ac_ct_CC" && break
2073done
2074
2075  if test "x$ac_ct_CC" = x; then
2076    CC=""
2077  else
2078    case $cross_compiling:$ac_tool_warned in
2079yes:)
2080{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2081$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2082ac_tool_warned=yes ;;
2083esac
2084    CC=$ac_ct_CC
2085  fi
2086fi
2087
2088fi
2089
2090
2091test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2092$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2093as_fn_error $? "no acceptable C compiler found in \$PATH
2094See \`config.log' for more details" "$LINENO" 5; }
2095
2096# Provide some information about the compiler.
2097$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2098set X $ac_compile
2099ac_compiler=$2
2100for ac_option in --version -v -V -qversion; do
2101  { { ac_try="$ac_compiler $ac_option >&5"
2102case "(($ac_try" in
2103  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2104  *) ac_try_echo=$ac_try;;
2105esac
2106eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2107$as_echo "$ac_try_echo"; } >&5
2108  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2109  ac_status=$?
2110  if test -s conftest.err; then
2111    sed '10a\
2112... rest of stderr output deleted ...
2113         10q' conftest.err >conftest.er1
2114    cat conftest.er1 >&5
2115  fi
2116  rm -f conftest.er1 conftest.err
2117  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2118  test $ac_status = 0; }
2119done
2120
2121cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122/* end confdefs.h.  */
2123
2124int
2125main ()
2126{
2127
2128  ;
2129  return 0;
2130}
2131_ACEOF
2132ac_clean_files_save=$ac_clean_files
2133ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2134# Try to create an executable without -o first, disregard a.out.
2135# It will help us diagnose broken compilers, and finding out an intuition
2136# of exeext.
2137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2138$as_echo_n "checking whether the C compiler works... " >&6; }
2139ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2140
2141# The possible output files:
2142ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2143
2144ac_rmfiles=
2145for ac_file in $ac_files
2146do
2147  case $ac_file in
2148    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2149    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2150  esac
2151done
2152rm -f $ac_rmfiles
2153
2154if { { ac_try="$ac_link_default"
2155case "(($ac_try" in
2156  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2157  *) ac_try_echo=$ac_try;;
2158esac
2159eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2160$as_echo "$ac_try_echo"; } >&5
2161  (eval "$ac_link_default") 2>&5
2162  ac_status=$?
2163  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2164  test $ac_status = 0; }; then :
2165  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2166# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2167# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2168# so that the user can short-circuit this test for compilers unknown to
2169# Autoconf.
2170for ac_file in $ac_files ''
2171do
2172  test -f "$ac_file" || continue
2173  case $ac_file in
2174    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2175	;;
2176    [ab].out )
2177	# We found the default executable, but exeext='' is most
2178	# certainly right.
2179	break;;
2180    *.* )
2181	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2182	then :; else
2183	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2184	fi
2185	# We set ac_cv_exeext here because the later test for it is not
2186	# safe: cross compilers may not add the suffix if given an `-o'
2187	# argument, so we may need to know it at that point already.
2188	# Even if this section looks crufty: it has the advantage of
2189	# actually working.
2190	break;;
2191    * )
2192	break;;
2193  esac
2194done
2195test "$ac_cv_exeext" = no && ac_cv_exeext=
2196
2197else
2198  ac_file=''
2199fi
2200if test -z "$ac_file"; then :
2201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2202$as_echo "no" >&6; }
2203$as_echo "$as_me: failed program was:" >&5
2204sed 's/^/| /' conftest.$ac_ext >&5
2205
2206{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2207$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2208as_fn_error 77 "C compiler cannot create executables
2209See \`config.log' for more details" "$LINENO" 5; }
2210else
2211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2212$as_echo "yes" >&6; }
2213fi
2214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2215$as_echo_n "checking for C compiler default output file name... " >&6; }
2216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2217$as_echo "$ac_file" >&6; }
2218ac_exeext=$ac_cv_exeext
2219
2220rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2221ac_clean_files=$ac_clean_files_save
2222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2223$as_echo_n "checking for suffix of executables... " >&6; }
2224if { { ac_try="$ac_link"
2225case "(($ac_try" in
2226  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2227  *) ac_try_echo=$ac_try;;
2228esac
2229eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2230$as_echo "$ac_try_echo"; } >&5
2231  (eval "$ac_link") 2>&5
2232  ac_status=$?
2233  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2234  test $ac_status = 0; }; then :
2235  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2236# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2237# work properly (i.e., refer to `conftest.exe'), while it won't with
2238# `rm'.
2239for ac_file in conftest.exe conftest conftest.*; do
2240  test -f "$ac_file" || continue
2241  case $ac_file in
2242    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2243    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2244	  break;;
2245    * ) break;;
2246  esac
2247done
2248else
2249  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2250$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2251as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2252See \`config.log' for more details" "$LINENO" 5; }
2253fi
2254rm -f conftest conftest$ac_cv_exeext
2255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2256$as_echo "$ac_cv_exeext" >&6; }
2257
2258rm -f conftest.$ac_ext
2259EXEEXT=$ac_cv_exeext
2260ac_exeext=$EXEEXT
2261cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2262/* end confdefs.h.  */
2263#include <stdio.h>
2264int
2265main ()
2266{
2267FILE *f = fopen ("conftest.out", "w");
2268 return ferror (f) || fclose (f) != 0;
2269
2270  ;
2271  return 0;
2272}
2273_ACEOF
2274ac_clean_files="$ac_clean_files conftest.out"
2275# Check that the compiler produces executables we can run.  If not, either
2276# the compiler is broken, or we cross compile.
2277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2278$as_echo_n "checking whether we are cross compiling... " >&6; }
2279if test "$cross_compiling" != yes; then
2280  { { ac_try="$ac_link"
2281case "(($ac_try" in
2282  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2283  *) ac_try_echo=$ac_try;;
2284esac
2285eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2286$as_echo "$ac_try_echo"; } >&5
2287  (eval "$ac_link") 2>&5
2288  ac_status=$?
2289  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2290  test $ac_status = 0; }
2291  if { ac_try='./conftest$ac_cv_exeext'
2292  { { case "(($ac_try" in
2293  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2294  *) ac_try_echo=$ac_try;;
2295esac
2296eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2297$as_echo "$ac_try_echo"; } >&5
2298  (eval "$ac_try") 2>&5
2299  ac_status=$?
2300  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2301  test $ac_status = 0; }; }; then
2302    cross_compiling=no
2303  else
2304    if test "$cross_compiling" = maybe; then
2305	cross_compiling=yes
2306    else
2307	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2308$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2309as_fn_error $? "cannot run C compiled programs.
2310If you meant to cross compile, use \`--host'.
2311See \`config.log' for more details" "$LINENO" 5; }
2312    fi
2313  fi
2314fi
2315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2316$as_echo "$cross_compiling" >&6; }
2317
2318rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2319ac_clean_files=$ac_clean_files_save
2320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2321$as_echo_n "checking for suffix of object files... " >&6; }
2322if ${ac_cv_objext+:} false; then :
2323  $as_echo_n "(cached) " >&6
2324else
2325  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326/* end confdefs.h.  */
2327
2328int
2329main ()
2330{
2331
2332  ;
2333  return 0;
2334}
2335_ACEOF
2336rm -f conftest.o conftest.obj
2337if { { ac_try="$ac_compile"
2338case "(($ac_try" in
2339  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2340  *) ac_try_echo=$ac_try;;
2341esac
2342eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2343$as_echo "$ac_try_echo"; } >&5
2344  (eval "$ac_compile") 2>&5
2345  ac_status=$?
2346  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2347  test $ac_status = 0; }; then :
2348  for ac_file in conftest.o conftest.obj conftest.*; do
2349  test -f "$ac_file" || continue;
2350  case $ac_file in
2351    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2352    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2353       break;;
2354  esac
2355done
2356else
2357  $as_echo "$as_me: failed program was:" >&5
2358sed 's/^/| /' conftest.$ac_ext >&5
2359
2360{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2361$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2362as_fn_error $? "cannot compute suffix of object files: cannot compile
2363See \`config.log' for more details" "$LINENO" 5; }
2364fi
2365rm -f conftest.$ac_cv_objext conftest.$ac_ext
2366fi
2367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2368$as_echo "$ac_cv_objext" >&6; }
2369OBJEXT=$ac_cv_objext
2370ac_objext=$OBJEXT
2371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2372$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2373if ${ac_cv_c_compiler_gnu+:} false; then :
2374  $as_echo_n "(cached) " >&6
2375else
2376  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2377/* end confdefs.h.  */
2378
2379int
2380main ()
2381{
2382#ifndef __GNUC__
2383       choke me
2384#endif
2385
2386  ;
2387  return 0;
2388}
2389_ACEOF
2390if ac_fn_c_try_compile "$LINENO"; then :
2391  ac_compiler_gnu=yes
2392else
2393  ac_compiler_gnu=no
2394fi
2395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396ac_cv_c_compiler_gnu=$ac_compiler_gnu
2397
2398fi
2399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2400$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2401if test $ac_compiler_gnu = yes; then
2402  GCC=yes
2403else
2404  GCC=
2405fi
2406ac_test_CFLAGS=${CFLAGS+set}
2407ac_save_CFLAGS=$CFLAGS
2408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2409$as_echo_n "checking whether $CC accepts -g... " >&6; }
2410if ${ac_cv_prog_cc_g+:} false; then :
2411  $as_echo_n "(cached) " >&6
2412else
2413  ac_save_c_werror_flag=$ac_c_werror_flag
2414   ac_c_werror_flag=yes
2415   ac_cv_prog_cc_g=no
2416   CFLAGS="-g"
2417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2418/* end confdefs.h.  */
2419
2420int
2421main ()
2422{
2423
2424  ;
2425  return 0;
2426}
2427_ACEOF
2428if ac_fn_c_try_compile "$LINENO"; then :
2429  ac_cv_prog_cc_g=yes
2430else
2431  CFLAGS=""
2432      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2433/* end confdefs.h.  */
2434
2435int
2436main ()
2437{
2438
2439  ;
2440  return 0;
2441}
2442_ACEOF
2443if ac_fn_c_try_compile "$LINENO"; then :
2444
2445else
2446  ac_c_werror_flag=$ac_save_c_werror_flag
2447	 CFLAGS="-g"
2448	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449/* end confdefs.h.  */
2450
2451int
2452main ()
2453{
2454
2455  ;
2456  return 0;
2457}
2458_ACEOF
2459if ac_fn_c_try_compile "$LINENO"; then :
2460  ac_cv_prog_cc_g=yes
2461fi
2462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2463fi
2464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2465fi
2466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2467   ac_c_werror_flag=$ac_save_c_werror_flag
2468fi
2469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2470$as_echo "$ac_cv_prog_cc_g" >&6; }
2471if test "$ac_test_CFLAGS" = set; then
2472  CFLAGS=$ac_save_CFLAGS
2473elif test $ac_cv_prog_cc_g = yes; then
2474  if test "$GCC" = yes; then
2475    CFLAGS="-g -O2"
2476  else
2477    CFLAGS="-g"
2478  fi
2479else
2480  if test "$GCC" = yes; then
2481    CFLAGS="-O2"
2482  else
2483    CFLAGS=
2484  fi
2485fi
2486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2487$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2488if ${ac_cv_prog_cc_c89+:} false; then :
2489  $as_echo_n "(cached) " >&6
2490else
2491  ac_cv_prog_cc_c89=no
2492ac_save_CC=$CC
2493cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2494/* end confdefs.h.  */
2495#include <stdarg.h>
2496#include <stdio.h>
2497struct stat;
2498/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2499struct buf { int x; };
2500FILE * (*rcsopen) (struct buf *, struct stat *, int);
2501static char *e (p, i)
2502     char **p;
2503     int i;
2504{
2505  return p[i];
2506}
2507static char *f (char * (*g) (char **, int), char **p, ...)
2508{
2509  char *s;
2510  va_list v;
2511  va_start (v,p);
2512  s = g (p, va_arg (v,int));
2513  va_end (v);
2514  return s;
2515}
2516
2517/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2518   function prototypes and stuff, but not '\xHH' hex character constants.
2519   These don't provoke an error unfortunately, instead are silently treated
2520   as 'x'.  The following induces an error, until -std is added to get
2521   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2522   array size at least.  It's necessary to write '\x00'==0 to get something
2523   that's true only with -std.  */
2524int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2525
2526/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2527   inside strings and character constants.  */
2528#define FOO(x) 'x'
2529int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2530
2531int test (int i, double x);
2532struct s1 {int (*f) (int a);};
2533struct s2 {int (*f) (double a);};
2534int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2535int argc;
2536char **argv;
2537int
2538main ()
2539{
2540return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2541  ;
2542  return 0;
2543}
2544_ACEOF
2545for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2546	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2547do
2548  CC="$ac_save_CC $ac_arg"
2549  if ac_fn_c_try_compile "$LINENO"; then :
2550  ac_cv_prog_cc_c89=$ac_arg
2551fi
2552rm -f core conftest.err conftest.$ac_objext
2553  test "x$ac_cv_prog_cc_c89" != "xno" && break
2554done
2555rm -f conftest.$ac_ext
2556CC=$ac_save_CC
2557
2558fi
2559# AC_CACHE_VAL
2560case "x$ac_cv_prog_cc_c89" in
2561  x)
2562    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2563$as_echo "none needed" >&6; } ;;
2564  xno)
2565    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2566$as_echo "unsupported" >&6; } ;;
2567  *)
2568    CC="$CC $ac_cv_prog_cc_c89"
2569    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2570$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2571esac
2572if test "x$ac_cv_prog_cc_c89" != xno; then :
2573
2574fi
2575
2576ac_ext=c
2577ac_cpp='$CPP $CPPFLAGS'
2578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2580ac_compiler_gnu=$ac_cv_c_compiler_gnu
2581
2582
2583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
2584$as_echo_n "checking for cap_init in -lcap... " >&6; }
2585if ${ac_cv_lib_cap_cap_init+:} false; then :
2586  $as_echo_n "(cached) " >&6
2587else
2588  ac_check_lib_save_LIBS=$LIBS
2589LIBS="-lcap  $LIBS"
2590cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2591/* end confdefs.h.  */
2592
2593/* Override any GCC internal prototype to avoid an error.
2594   Use char because int might match the return type of a GCC
2595   builtin and then its argument prototype would still apply.  */
2596#ifdef __cplusplus
2597extern "C"
2598#endif
2599char cap_init ();
2600int
2601main ()
2602{
2603return cap_init ();
2604  ;
2605  return 0;
2606}
2607_ACEOF
2608if ac_fn_c_try_link "$LINENO"; then :
2609  ac_cv_lib_cap_cap_init=yes
2610else
2611  ac_cv_lib_cap_cap_init=no
2612fi
2613rm -f core conftest.err conftest.$ac_objext \
2614    conftest$ac_exeext conftest.$ac_ext
2615LIBS=$ac_check_lib_save_LIBS
2616fi
2617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
2618$as_echo "$ac_cv_lib_cap_cap_init" >&6; }
2619if test "x$ac_cv_lib_cap_cap_init" = xyes; then :
2620  cat >>confdefs.h <<_ACEOF
2621#define HAVE_LIBCAP 1
2622_ACEOF
2623
2624  LIBS="-lcap $LIBS"
2625
2626fi
2627
2628
2629
2630
2631    if test -z "$APXS"
2632  then
2633    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-apxs" >&5
2634$as_echo_n "checking for --with-apxs... " >&6; }
2635
2636# Check whether --with-apxs was given.
2637if test "${with_apxs+set}" = set; then :
2638  withval=$with_apxs;  if test "$withval" != "yes"
2639                  then
2640                    APXS="$withval"
2641                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
2642$as_echo "$withval" >&6; }
2643                  else
2644                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2645$as_echo "no" >&6; }
2646                  fi
2647
2648else
2649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650$as_echo "no" >&6; }
2651
2652fi
2653
2654  fi
2655
2656    if test -z "$APXS"
2657  then
2658    # Extract the first word of "apxs", so it can be a program name with args.
2659set dummy apxs; ac_word=$2
2660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2661$as_echo_n "checking for $ac_word... " >&6; }
2662if ${ac_cv_path_APXS+:} false; then :
2663  $as_echo_n "(cached) " >&6
2664else
2665  case $APXS in
2666  [\\/]* | ?:[\\/]*)
2667  ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
2668  ;;
2669  *)
2670  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2671for as_dir in $PATH
2672do
2673  IFS=$as_save_IFS
2674  test -z "$as_dir" && as_dir=.
2675    for ac_exec_ext in '' $ac_executable_extensions; do
2676  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2677    ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
2678    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679    break 2
2680  fi
2681done
2682  done
2683IFS=$as_save_IFS
2684
2685  test -z "$ac_cv_path_APXS" && ac_cv_path_APXS="missing"
2686  ;;
2687esac
2688fi
2689APXS=$ac_cv_path_APXS
2690if test -n "$APXS"; then
2691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
2692$as_echo "$APXS" >&6; }
2693else
2694  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695$as_echo "no" >&6; }
2696fi
2697
2698
2699  fi
2700
2701
2702ac_config_headers="$ac_config_headers config.h"
2703
2704ac_config_files="$ac_config_files Makefile"
2705
2706cat >confcache <<\_ACEOF
2707# This file is a shell script that caches the results of configure
2708# tests run on this system so they can be shared between configure
2709# scripts and configure runs, see configure's option --config-cache.
2710# It is not useful on other systems.  If it contains results you don't
2711# want to keep, you may remove or edit it.
2712#
2713# config.status only pays attention to the cache file if you give it
2714# the --recheck option to rerun configure.
2715#
2716# `ac_cv_env_foo' variables (set or unset) will be overridden when
2717# loading this file, other *unset* `ac_cv_foo' will be assigned the
2718# following values.
2719
2720_ACEOF
2721
2722# The following way of writing the cache mishandles newlines in values,
2723# but we know of no workaround that is simple, portable, and efficient.
2724# So, we kill variables containing newlines.
2725# Ultrix sh set writes to stderr and can't be redirected directly,
2726# and sets the high bit in the cache file unless we assign to the vars.
2727(
2728  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2729    eval ac_val=\$$ac_var
2730    case $ac_val in #(
2731    *${as_nl}*)
2732      case $ac_var in #(
2733      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2734$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2735      esac
2736      case $ac_var in #(
2737      _ | IFS | as_nl) ;; #(
2738      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2739      *) { eval $ac_var=; unset $ac_var;} ;;
2740      esac ;;
2741    esac
2742  done
2743
2744  (set) 2>&1 |
2745    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2746    *${as_nl}ac_space=\ *)
2747      # `set' does not quote correctly, so add quotes: double-quote
2748      # substitution turns \\\\ into \\, and sed turns \\ into \.
2749      sed -n \
2750	"s/'/'\\\\''/g;
2751	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2752      ;; #(
2753    *)
2754      # `set' quotes correctly as required by POSIX, so do not add quotes.
2755      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2756      ;;
2757    esac |
2758    sort
2759) |
2760  sed '
2761     /^ac_cv_env_/b end
2762     t clear
2763     :clear
2764     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2765     t end
2766     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2767     :end' >>confcache
2768if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2769  if test -w "$cache_file"; then
2770    if test "x$cache_file" != "x/dev/null"; then
2771      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2772$as_echo "$as_me: updating cache $cache_file" >&6;}
2773      if test ! -f "$cache_file" || test -h "$cache_file"; then
2774	cat confcache >"$cache_file"
2775      else
2776        case $cache_file in #(
2777        */* | ?:*)
2778	  mv -f confcache "$cache_file"$$ &&
2779	  mv -f "$cache_file"$$ "$cache_file" ;; #(
2780        *)
2781	  mv -f confcache "$cache_file" ;;
2782	esac
2783      fi
2784    fi
2785  else
2786    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2787$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2788  fi
2789fi
2790rm -f confcache
2791
2792test "x$prefix" = xNONE && prefix=$ac_default_prefix
2793# Let make expand exec_prefix.
2794test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2795
2796DEFS=-DHAVE_CONFIG_H
2797
2798ac_libobjs=
2799ac_ltlibobjs=
2800U=
2801for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2802  # 1. Remove the extension, and $U if already installed.
2803  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2804  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2805  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2806  #    will be set to the directory where LIBOBJS objects are built.
2807  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2808  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2809done
2810LIBOBJS=$ac_libobjs
2811
2812LTLIBOBJS=$ac_ltlibobjs
2813
2814
2815
2816: "${CONFIG_STATUS=./config.status}"
2817ac_write_fail=0
2818ac_clean_files_save=$ac_clean_files
2819ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2820{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2821$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2822as_write_fail=0
2823cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2824#! $SHELL
2825# Generated by $as_me.
2826# Run this file to recreate the current configuration.
2827# Compiler output produced by configure, useful for debugging
2828# configure, is in config.log if it exists.
2829
2830debug=false
2831ac_cs_recheck=false
2832ac_cs_silent=false
2833
2834SHELL=\${CONFIG_SHELL-$SHELL}
2835export SHELL
2836_ASEOF
2837cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2838## -------------------- ##
2839## M4sh Initialization. ##
2840## -------------------- ##
2841
2842# Be more Bourne compatible
2843DUALCASE=1; export DUALCASE # for MKS sh
2844if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2845  emulate sh
2846  NULLCMD=:
2847  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2848  # is contrary to our usage.  Disable this feature.
2849  alias -g '${1+"$@"}'='"$@"'
2850  setopt NO_GLOB_SUBST
2851else
2852  case `(set -o) 2>/dev/null` in #(
2853  *posix*) :
2854    set -o posix ;; #(
2855  *) :
2856     ;;
2857esac
2858fi
2859
2860
2861as_nl='
2862'
2863export as_nl
2864# Printing a long string crashes Solaris 7 /usr/bin/printf.
2865as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2866as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2867as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2868# Prefer a ksh shell builtin over an external printf program on Solaris,
2869# but without wasting forks for bash or zsh.
2870if test -z "$BASH_VERSION$ZSH_VERSION" \
2871    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2872  as_echo='print -r --'
2873  as_echo_n='print -rn --'
2874elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2875  as_echo='printf %s\n'
2876  as_echo_n='printf %s'
2877else
2878  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2879    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2880    as_echo_n='/usr/ucb/echo -n'
2881  else
2882    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2883    as_echo_n_body='eval
2884      arg=$1;
2885      case $arg in #(
2886      *"$as_nl"*)
2887	expr "X$arg" : "X\\(.*\\)$as_nl";
2888	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2889      esac;
2890      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2891    '
2892    export as_echo_n_body
2893    as_echo_n='sh -c $as_echo_n_body as_echo'
2894  fi
2895  export as_echo_body
2896  as_echo='sh -c $as_echo_body as_echo'
2897fi
2898
2899# The user is always right.
2900if test "${PATH_SEPARATOR+set}" != set; then
2901  PATH_SEPARATOR=:
2902  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2903    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2904      PATH_SEPARATOR=';'
2905  }
2906fi
2907
2908
2909# IFS
2910# We need space, tab and new line, in precisely that order.  Quoting is
2911# there to prevent editors from complaining about space-tab.
2912# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2913# splitting by setting IFS to empty value.)
2914IFS=" ""	$as_nl"
2915
2916# Find who we are.  Look in the path if we contain no directory separator.
2917as_myself=
2918case $0 in #((
2919  *[\\/]* ) as_myself=$0 ;;
2920  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921for as_dir in $PATH
2922do
2923  IFS=$as_save_IFS
2924  test -z "$as_dir" && as_dir=.
2925    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2926  done
2927IFS=$as_save_IFS
2928
2929     ;;
2930esac
2931# We did not find ourselves, most probably we were run as `sh COMMAND'
2932# in which case we are not to be found in the path.
2933if test "x$as_myself" = x; then
2934  as_myself=$0
2935fi
2936if test ! -f "$as_myself"; then
2937  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2938  exit 1
2939fi
2940
2941# Unset variables that we do not need and which cause bugs (e.g. in
2942# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2943# suppresses any "Segmentation fault" message there.  '((' could
2944# trigger a bug in pdksh 5.2.14.
2945for as_var in BASH_ENV ENV MAIL MAILPATH
2946do eval test x\${$as_var+set} = xset \
2947  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2948done
2949PS1='$ '
2950PS2='> '
2951PS4='+ '
2952
2953# NLS nuisances.
2954LC_ALL=C
2955export LC_ALL
2956LANGUAGE=C
2957export LANGUAGE
2958
2959# CDPATH.
2960(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2961
2962
2963# as_fn_error STATUS ERROR [LINENO LOG_FD]
2964# ----------------------------------------
2965# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2966# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2967# script with STATUS, using 1 if that was 0.
2968as_fn_error ()
2969{
2970  as_status=$1; test $as_status -eq 0 && as_status=1
2971  if test "$4"; then
2972    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2973    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2974  fi
2975  $as_echo "$as_me: error: $2" >&2
2976  as_fn_exit $as_status
2977} # as_fn_error
2978
2979
2980# as_fn_set_status STATUS
2981# -----------------------
2982# Set $? to STATUS, without forking.
2983as_fn_set_status ()
2984{
2985  return $1
2986} # as_fn_set_status
2987
2988# as_fn_exit STATUS
2989# -----------------
2990# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2991as_fn_exit ()
2992{
2993  set +e
2994  as_fn_set_status $1
2995  exit $1
2996} # as_fn_exit
2997
2998# as_fn_unset VAR
2999# ---------------
3000# Portably unset VAR.
3001as_fn_unset ()
3002{
3003  { eval $1=; unset $1;}
3004}
3005as_unset=as_fn_unset
3006# as_fn_append VAR VALUE
3007# ----------------------
3008# Append the text in VALUE to the end of the definition contained in VAR. Take
3009# advantage of any shell optimizations that allow amortized linear growth over
3010# repeated appends, instead of the typical quadratic growth present in naive
3011# implementations.
3012if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3013  eval 'as_fn_append ()
3014  {
3015    eval $1+=\$2
3016  }'
3017else
3018  as_fn_append ()
3019  {
3020    eval $1=\$$1\$2
3021  }
3022fi # as_fn_append
3023
3024# as_fn_arith ARG...
3025# ------------------
3026# Perform arithmetic evaluation on the ARGs, and store the result in the
3027# global $as_val. Take advantage of shells that can avoid forks. The arguments
3028# must be portable across $(()) and expr.
3029if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3030  eval 'as_fn_arith ()
3031  {
3032    as_val=$(( $* ))
3033  }'
3034else
3035  as_fn_arith ()
3036  {
3037    as_val=`expr "$@" || test $? -eq 1`
3038  }
3039fi # as_fn_arith
3040
3041
3042if expr a : '\(a\)' >/dev/null 2>&1 &&
3043   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3044  as_expr=expr
3045else
3046  as_expr=false
3047fi
3048
3049if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3050  as_basename=basename
3051else
3052  as_basename=false
3053fi
3054
3055if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3056  as_dirname=dirname
3057else
3058  as_dirname=false
3059fi
3060
3061as_me=`$as_basename -- "$0" ||
3062$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3063	 X"$0" : 'X\(//\)$' \| \
3064	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3065$as_echo X/"$0" |
3066    sed '/^.*\/\([^/][^/]*\)\/*$/{
3067	    s//\1/
3068	    q
3069	  }
3070	  /^X\/\(\/\/\)$/{
3071	    s//\1/
3072	    q
3073	  }
3074	  /^X\/\(\/\).*/{
3075	    s//\1/
3076	    q
3077	  }
3078	  s/.*/./; q'`
3079
3080# Avoid depending upon Character Ranges.
3081as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3082as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3083as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3084as_cr_digits='0123456789'
3085as_cr_alnum=$as_cr_Letters$as_cr_digits
3086
3087ECHO_C= ECHO_N= ECHO_T=
3088case `echo -n x` in #(((((
3089-n*)
3090  case `echo 'xy\c'` in
3091  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3092  xy)  ECHO_C='\c';;
3093  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3094       ECHO_T='	';;
3095  esac;;
3096*)
3097  ECHO_N='-n';;
3098esac
3099
3100rm -f conf$$ conf$$.exe conf$$.file
3101if test -d conf$$.dir; then
3102  rm -f conf$$.dir/conf$$.file
3103else
3104  rm -f conf$$.dir
3105  mkdir conf$$.dir 2>/dev/null
3106fi
3107if (echo >conf$$.file) 2>/dev/null; then
3108  if ln -s conf$$.file conf$$ 2>/dev/null; then
3109    as_ln_s='ln -s'
3110    # ... but there are two gotchas:
3111    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3112    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3113    # In both cases, we have to default to `cp -pR'.
3114    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3115      as_ln_s='cp -pR'
3116  elif ln conf$$.file conf$$ 2>/dev/null; then
3117    as_ln_s=ln
3118  else
3119    as_ln_s='cp -pR'
3120  fi
3121else
3122  as_ln_s='cp -pR'
3123fi
3124rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3125rmdir conf$$.dir 2>/dev/null
3126
3127
3128# as_fn_mkdir_p
3129# -------------
3130# Create "$as_dir" as a directory, including parents if necessary.
3131as_fn_mkdir_p ()
3132{
3133
3134  case $as_dir in #(
3135  -*) as_dir=./$as_dir;;
3136  esac
3137  test -d "$as_dir" || eval $as_mkdir_p || {
3138    as_dirs=
3139    while :; do
3140      case $as_dir in #(
3141      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3142      *) as_qdir=$as_dir;;
3143      esac
3144      as_dirs="'$as_qdir' $as_dirs"
3145      as_dir=`$as_dirname -- "$as_dir" ||
3146$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3147	 X"$as_dir" : 'X\(//\)[^/]' \| \
3148	 X"$as_dir" : 'X\(//\)$' \| \
3149	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3150$as_echo X"$as_dir" |
3151    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3152	    s//\1/
3153	    q
3154	  }
3155	  /^X\(\/\/\)[^/].*/{
3156	    s//\1/
3157	    q
3158	  }
3159	  /^X\(\/\/\)$/{
3160	    s//\1/
3161	    q
3162	  }
3163	  /^X\(\/\).*/{
3164	    s//\1/
3165	    q
3166	  }
3167	  s/.*/./; q'`
3168      test -d "$as_dir" && break
3169    done
3170    test -z "$as_dirs" || eval "mkdir $as_dirs"
3171  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3172
3173
3174} # as_fn_mkdir_p
3175if mkdir -p . 2>/dev/null; then
3176  as_mkdir_p='mkdir -p "$as_dir"'
3177else
3178  test -d ./-p && rmdir ./-p
3179  as_mkdir_p=false
3180fi
3181
3182
3183# as_fn_executable_p FILE
3184# -----------------------
3185# Test if FILE is an executable regular file.
3186as_fn_executable_p ()
3187{
3188  test -f "$1" && test -x "$1"
3189} # as_fn_executable_p
3190as_test_x='test -x'
3191as_executable_p=as_fn_executable_p
3192
3193# Sed expression to map a string onto a valid CPP name.
3194as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3195
3196# Sed expression to map a string onto a valid variable name.
3197as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3198
3199
3200exec 6>&1
3201## ----------------------------------- ##
3202## Main body of $CONFIG_STATUS script. ##
3203## ----------------------------------- ##
3204_ASEOF
3205test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3206
3207cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3208# Save the log message, to keep $0 and so on meaningful, and to
3209# report actual input values of CONFIG_FILES etc. instead of their
3210# values after options handling.
3211ac_log="
3212This file was extended by mpm-itk $as_me 2.4.7-04, which was
3213generated by GNU Autoconf 2.69.  Invocation command line was
3214
3215  CONFIG_FILES    = $CONFIG_FILES
3216  CONFIG_HEADERS  = $CONFIG_HEADERS
3217  CONFIG_LINKS    = $CONFIG_LINKS
3218  CONFIG_COMMANDS = $CONFIG_COMMANDS
3219  $ $0 $@
3220
3221on `(hostname || uname -n) 2>/dev/null | sed 1q`
3222"
3223
3224_ACEOF
3225
3226case $ac_config_files in *"
3227"*) set x $ac_config_files; shift; ac_config_files=$*;;
3228esac
3229
3230case $ac_config_headers in *"
3231"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3232esac
3233
3234
3235cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3236# Files that config.status was made for.
3237config_files="$ac_config_files"
3238config_headers="$ac_config_headers"
3239
3240_ACEOF
3241
3242cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3243ac_cs_usage="\
3244\`$as_me' instantiates files and other configuration actions
3245from templates according to the current configuration.  Unless the files
3246and actions are specified as TAGs, all are instantiated by default.
3247
3248Usage: $0 [OPTION]... [TAG]...
3249
3250  -h, --help       print this help, then exit
3251  -V, --version    print version number and configuration settings, then exit
3252      --config     print configuration, then exit
3253  -q, --quiet, --silent
3254                   do not print progress messages
3255  -d, --debug      don't remove temporary files
3256      --recheck    update $as_me by reconfiguring in the same conditions
3257      --file=FILE[:TEMPLATE]
3258                   instantiate the configuration file FILE
3259      --header=FILE[:TEMPLATE]
3260                   instantiate the configuration header FILE
3261
3262Configuration files:
3263$config_files
3264
3265Configuration headers:
3266$config_headers
3267
3268Report bugs to the package provider."
3269
3270_ACEOF
3271cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3272ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3273ac_cs_version="\\
3274mpm-itk config.status 2.4.7-04
3275configured by $0, generated by GNU Autoconf 2.69,
3276  with options \\"\$ac_cs_config\\"
3277
3278Copyright (C) 2012 Free Software Foundation, Inc.
3279This config.status script is free software; the Free Software Foundation
3280gives unlimited permission to copy, distribute and modify it."
3281
3282ac_pwd='$ac_pwd'
3283srcdir='$srcdir'
3284test -n "\$AWK" || AWK=awk
3285_ACEOF
3286
3287cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3288# The default lists apply if the user does not specify any file.
3289ac_need_defaults=:
3290while test $# != 0
3291do
3292  case $1 in
3293  --*=?*)
3294    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3295    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3296    ac_shift=:
3297    ;;
3298  --*=)
3299    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3300    ac_optarg=
3301    ac_shift=:
3302    ;;
3303  *)
3304    ac_option=$1
3305    ac_optarg=$2
3306    ac_shift=shift
3307    ;;
3308  esac
3309
3310  case $ac_option in
3311  # Handling of the options.
3312  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3313    ac_cs_recheck=: ;;
3314  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3315    $as_echo "$ac_cs_version"; exit ;;
3316  --config | --confi | --conf | --con | --co | --c )
3317    $as_echo "$ac_cs_config"; exit ;;
3318  --debug | --debu | --deb | --de | --d | -d )
3319    debug=: ;;
3320  --file | --fil | --fi | --f )
3321    $ac_shift
3322    case $ac_optarg in
3323    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3324    '') as_fn_error $? "missing file argument" ;;
3325    esac
3326    as_fn_append CONFIG_FILES " '$ac_optarg'"
3327    ac_need_defaults=false;;
3328  --header | --heade | --head | --hea )
3329    $ac_shift
3330    case $ac_optarg in
3331    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3332    esac
3333    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3334    ac_need_defaults=false;;
3335  --he | --h)
3336    # Conflict between --help and --header
3337    as_fn_error $? "ambiguous option: \`$1'
3338Try \`$0 --help' for more information.";;
3339  --help | --hel | -h )
3340    $as_echo "$ac_cs_usage"; exit ;;
3341  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3342  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3343    ac_cs_silent=: ;;
3344
3345  # This is an error.
3346  -*) as_fn_error $? "unrecognized option: \`$1'
3347Try \`$0 --help' for more information." ;;
3348
3349  *) as_fn_append ac_config_targets " $1"
3350     ac_need_defaults=false ;;
3351
3352  esac
3353  shift
3354done
3355
3356ac_configure_extra_args=
3357
3358if $ac_cs_silent; then
3359  exec 6>/dev/null
3360  ac_configure_extra_args="$ac_configure_extra_args --silent"
3361fi
3362
3363_ACEOF
3364cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3365if \$ac_cs_recheck; then
3366  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3367  shift
3368  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3369  CONFIG_SHELL='$SHELL'
3370  export CONFIG_SHELL
3371  exec "\$@"
3372fi
3373
3374_ACEOF
3375cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3376exec 5>>config.log
3377{
3378  echo
3379  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3380## Running $as_me. ##
3381_ASBOX
3382  $as_echo "$ac_log"
3383} >&5
3384
3385_ACEOF
3386cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3387_ACEOF
3388
3389cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3390
3391# Handling of arguments.
3392for ac_config_target in $ac_config_targets
3393do
3394  case $ac_config_target in
3395    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3396    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3397
3398  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3399  esac
3400done
3401
3402
3403# If the user did not use the arguments to specify the items to instantiate,
3404# then the envvar interface is used.  Set only those that are not.
3405# We use the long form for the default assignment because of an extremely
3406# bizarre bug on SunOS 4.1.3.
3407if $ac_need_defaults; then
3408  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3409  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3410fi
3411
3412# Have a temporary directory for convenience.  Make it in the build tree
3413# simply because there is no reason against having it here, and in addition,
3414# creating and moving files from /tmp can sometimes cause problems.
3415# Hook for its removal unless debugging.
3416# Note that there is a small window in which the directory will not be cleaned:
3417# after its creation but before its name has been assigned to `$tmp'.
3418$debug ||
3419{
3420  tmp= ac_tmp=
3421  trap 'exit_status=$?
3422  : "${ac_tmp:=$tmp}"
3423  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3424' 0
3425  trap 'as_fn_exit 1' 1 2 13 15
3426}
3427# Create a (secure) tmp directory for tmp files.
3428
3429{
3430  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3431  test -d "$tmp"
3432}  ||
3433{
3434  tmp=./conf$$-$RANDOM
3435  (umask 077 && mkdir "$tmp")
3436} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3437ac_tmp=$tmp
3438
3439# Set up the scripts for CONFIG_FILES section.
3440# No need to generate them if there are no CONFIG_FILES.
3441# This happens for instance with `./config.status config.h'.
3442if test -n "$CONFIG_FILES"; then
3443
3444
3445ac_cr=`echo X | tr X '\015'`
3446# On cygwin, bash can eat \r inside `` if the user requested igncr.
3447# But we know of no other shell where ac_cr would be empty at this
3448# point, so we can use a bashism as a fallback.
3449if test "x$ac_cr" = x; then
3450  eval ac_cr=\$\'\\r\'
3451fi
3452ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3453if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3454  ac_cs_awk_cr='\\r'
3455else
3456  ac_cs_awk_cr=$ac_cr
3457fi
3458
3459echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3460_ACEOF
3461
3462
3463{
3464  echo "cat >conf$$subs.awk <<_ACEOF" &&
3465  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3466  echo "_ACEOF"
3467} >conf$$subs.sh ||
3468  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3469ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3470ac_delim='%!_!# '
3471for ac_last_try in false false false false false :; do
3472  . ./conf$$subs.sh ||
3473    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3474
3475  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3476  if test $ac_delim_n = $ac_delim_num; then
3477    break
3478  elif $ac_last_try; then
3479    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3480  else
3481    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3482  fi
3483done
3484rm -f conf$$subs.sh
3485
3486cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3487cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3488_ACEOF
3489sed -n '
3490h
3491s/^/S["/; s/!.*/"]=/
3492p
3493g
3494s/^[^!]*!//
3495:repl
3496t repl
3497s/'"$ac_delim"'$//
3498t delim
3499:nl
3500h
3501s/\(.\{148\}\)..*/\1/
3502t more1
3503s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3504p
3505n
3506b repl
3507:more1
3508s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3509p
3510g
3511s/.\{148\}//
3512t nl
3513:delim
3514h
3515s/\(.\{148\}\)..*/\1/
3516t more2
3517s/["\\]/\\&/g; s/^/"/; s/$/"/
3518p
3519b
3520:more2
3521s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3522p
3523g
3524s/.\{148\}//
3525t delim
3526' <conf$$subs.awk | sed '
3527/^[^""]/{
3528  N
3529  s/\n//
3530}
3531' >>$CONFIG_STATUS || ac_write_fail=1
3532rm -f conf$$subs.awk
3533cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3534_ACAWK
3535cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3536  for (key in S) S_is_set[key] = 1
3537  FS = ""
3538
3539}
3540{
3541  line = $ 0
3542  nfields = split(line, field, "@")
3543  substed = 0
3544  len = length(field[1])
3545  for (i = 2; i < nfields; i++) {
3546    key = field[i]
3547    keylen = length(key)
3548    if (S_is_set[key]) {
3549      value = S[key]
3550      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3551      len += length(value) + length(field[++i])
3552      substed = 1
3553    } else
3554      len += 1 + keylen
3555  }
3556
3557  print line
3558}
3559
3560_ACAWK
3561_ACEOF
3562cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3563if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3564  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3565else
3566  cat
3567fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3568  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3569_ACEOF
3570
3571# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3572# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3573# trailing colons and then remove the whole line if VPATH becomes empty
3574# (actually we leave an empty line to preserve line numbers).
3575if test "x$srcdir" = x.; then
3576  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3577h
3578s///
3579s/^/:/
3580s/[	 ]*$/:/
3581s/:\$(srcdir):/:/g
3582s/:\${srcdir}:/:/g
3583s/:@srcdir@:/:/g
3584s/^:*//
3585s/:*$//
3586x
3587s/\(=[	 ]*\).*/\1/
3588G
3589s/\n//
3590s/^[^=]*=[	 ]*$//
3591}'
3592fi
3593
3594cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3595fi # test -n "$CONFIG_FILES"
3596
3597# Set up the scripts for CONFIG_HEADERS section.
3598# No need to generate them if there are no CONFIG_HEADERS.
3599# This happens for instance with `./config.status Makefile'.
3600if test -n "$CONFIG_HEADERS"; then
3601cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
3602BEGIN {
3603_ACEOF
3604
3605# Transform confdefs.h into an awk script `defines.awk', embedded as
3606# here-document in config.status, that substitutes the proper values into
3607# config.h.in to produce config.h.
3608
3609# Create a delimiter string that does not exist in confdefs.h, to ease
3610# handling of long lines.
3611ac_delim='%!_!# '
3612for ac_last_try in false false :; do
3613  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
3614  if test -z "$ac_tt"; then
3615    break
3616  elif $ac_last_try; then
3617    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
3618  else
3619    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3620  fi
3621done
3622
3623# For the awk script, D is an array of macro values keyed by name,
3624# likewise P contains macro parameters if any.  Preserve backslash
3625# newline sequences.
3626
3627ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3628sed -n '
3629s/.\{148\}/&'"$ac_delim"'/g
3630t rset
3631:rset
3632s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
3633t def
3634d
3635:def
3636s/\\$//
3637t bsnl
3638s/["\\]/\\&/g
3639s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
3640D["\1"]=" \3"/p
3641s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
3642d
3643:bsnl
3644s/["\\]/\\&/g
3645s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
3646D["\1"]=" \3\\\\\\n"\\/p
3647t cont
3648s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
3649t cont
3650d
3651:cont
3652n
3653s/.\{148\}/&'"$ac_delim"'/g
3654t clear
3655:clear
3656s/\\$//
3657t bsnlc
3658s/["\\]/\\&/g; s/^/"/; s/$/"/p
3659d
3660:bsnlc
3661s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
3662b cont
3663' <confdefs.h | sed '
3664s/'"$ac_delim"'/"\\\
3665"/g' >>$CONFIG_STATUS || ac_write_fail=1
3666
3667cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3668  for (key in D) D_is_set[key] = 1
3669  FS = ""
3670}
3671/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3672  line = \$ 0
3673  split(line, arg, " ")
3674  if (arg[1] == "#") {
3675    defundef = arg[2]
3676    mac1 = arg[3]
3677  } else {
3678    defundef = substr(arg[1], 2)
3679    mac1 = arg[2]
3680  }
3681  split(mac1, mac2, "(") #)
3682  macro = mac2[1]
3683  prefix = substr(line, 1, index(line, defundef) - 1)
3684  if (D_is_set[macro]) {
3685    # Preserve the white space surrounding the "#".
3686    print prefix "define", macro P[macro] D[macro]
3687    next
3688  } else {
3689    # Replace #undef with comments.  This is necessary, for example,
3690    # in the case of _POSIX_SOURCE, which is predefined and required
3691    # on some systems where configure will not decide to define it.
3692    if (defundef == "undef") {
3693      print "/*", prefix defundef, macro, "*/"
3694      next
3695    }
3696  }
3697}
3698{ print }
3699_ACAWK
3700_ACEOF
3701cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3702  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
3703fi # test -n "$CONFIG_HEADERS"
3704
3705
3706eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
3707shift
3708for ac_tag
3709do
3710  case $ac_tag in
3711  :[FHLC]) ac_mode=$ac_tag; continue;;
3712  esac
3713  case $ac_mode$ac_tag in
3714  :[FHL]*:*);;
3715  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3716  :[FH]-) ac_tag=-:-;;
3717  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3718  esac
3719  ac_save_IFS=$IFS
3720  IFS=:
3721  set x $ac_tag
3722  IFS=$ac_save_IFS
3723  shift
3724  ac_file=$1
3725  shift
3726
3727  case $ac_mode in
3728  :L) ac_source=$1;;
3729  :[FH])
3730    ac_file_inputs=
3731    for ac_f
3732    do
3733      case $ac_f in
3734      -) ac_f="$ac_tmp/stdin";;
3735      *) # Look for the file first in the build tree, then in the source tree
3736	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3737	 # because $ac_f cannot contain `:'.
3738	 test -f "$ac_f" ||
3739	   case $ac_f in
3740	   [\\/$]*) false;;
3741	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3742	   esac ||
3743	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3744      esac
3745      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3746      as_fn_append ac_file_inputs " '$ac_f'"
3747    done
3748
3749    # Let's still pretend it is `configure' which instantiates (i.e., don't
3750    # use $as_me), people would be surprised to read:
3751    #    /* config.h.  Generated by config.status.  */
3752    configure_input='Generated from '`
3753	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3754	`' by configure.'
3755    if test x"$ac_file" != x-; then
3756      configure_input="$ac_file.  $configure_input"
3757      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3758$as_echo "$as_me: creating $ac_file" >&6;}
3759    fi
3760    # Neutralize special characters interpreted by sed in replacement strings.
3761    case $configure_input in #(
3762    *\&* | *\|* | *\\* )
3763       ac_sed_conf_input=`$as_echo "$configure_input" |
3764       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3765    *) ac_sed_conf_input=$configure_input;;
3766    esac
3767
3768    case $ac_tag in
3769    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3770      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3771    esac
3772    ;;
3773  esac
3774
3775  ac_dir=`$as_dirname -- "$ac_file" ||
3776$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3777	 X"$ac_file" : 'X\(//\)[^/]' \| \
3778	 X"$ac_file" : 'X\(//\)$' \| \
3779	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3780$as_echo X"$ac_file" |
3781    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3782	    s//\1/
3783	    q
3784	  }
3785	  /^X\(\/\/\)[^/].*/{
3786	    s//\1/
3787	    q
3788	  }
3789	  /^X\(\/\/\)$/{
3790	    s//\1/
3791	    q
3792	  }
3793	  /^X\(\/\).*/{
3794	    s//\1/
3795	    q
3796	  }
3797	  s/.*/./; q'`
3798  as_dir="$ac_dir"; as_fn_mkdir_p
3799  ac_builddir=.
3800
3801case "$ac_dir" in
3802.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3803*)
3804  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3805  # A ".." for each directory in $ac_dir_suffix.
3806  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3807  case $ac_top_builddir_sub in
3808  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3809  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3810  esac ;;
3811esac
3812ac_abs_top_builddir=$ac_pwd
3813ac_abs_builddir=$ac_pwd$ac_dir_suffix
3814# for backward compatibility:
3815ac_top_builddir=$ac_top_build_prefix
3816
3817case $srcdir in
3818  .)  # We are building in place.
3819    ac_srcdir=.
3820    ac_top_srcdir=$ac_top_builddir_sub
3821    ac_abs_top_srcdir=$ac_pwd ;;
3822  [\\/]* | ?:[\\/]* )  # Absolute name.
3823    ac_srcdir=$srcdir$ac_dir_suffix;
3824    ac_top_srcdir=$srcdir
3825    ac_abs_top_srcdir=$srcdir ;;
3826  *) # Relative name.
3827    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3828    ac_top_srcdir=$ac_top_build_prefix$srcdir
3829    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3830esac
3831ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3832
3833
3834  case $ac_mode in
3835  :F)
3836  #
3837  # CONFIG_FILE
3838  #
3839
3840_ACEOF
3841
3842cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3843# If the template does not know about datarootdir, expand it.
3844# FIXME: This hack should be removed a few years after 2.60.
3845ac_datarootdir_hack=; ac_datarootdir_seen=
3846ac_sed_dataroot='
3847/datarootdir/ {
3848  p
3849  q
3850}
3851/@datadir@/p
3852/@docdir@/p
3853/@infodir@/p
3854/@localedir@/p
3855/@mandir@/p'
3856case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3857*datarootdir*) ac_datarootdir_seen=yes;;
3858*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3859  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3860$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3861_ACEOF
3862cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3863  ac_datarootdir_hack='
3864  s&@datadir@&$datadir&g
3865  s&@docdir@&$docdir&g
3866  s&@infodir@&$infodir&g
3867  s&@localedir@&$localedir&g
3868  s&@mandir@&$mandir&g
3869  s&\\\${datarootdir}&$datarootdir&g' ;;
3870esac
3871_ACEOF
3872
3873# Neutralize VPATH when `$srcdir' = `.'.
3874# Shell code in configure.ac might set extrasub.
3875# FIXME: do we really want to maintain this feature?
3876cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3877ac_sed_extra="$ac_vpsub
3878$extrasub
3879_ACEOF
3880cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3881:t
3882/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3883s|@configure_input@|$ac_sed_conf_input|;t t
3884s&@top_builddir@&$ac_top_builddir_sub&;t t
3885s&@top_build_prefix@&$ac_top_build_prefix&;t t
3886s&@srcdir@&$ac_srcdir&;t t
3887s&@abs_srcdir@&$ac_abs_srcdir&;t t
3888s&@top_srcdir@&$ac_top_srcdir&;t t
3889s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3890s&@builddir@&$ac_builddir&;t t
3891s&@abs_builddir@&$ac_abs_builddir&;t t
3892s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3893$ac_datarootdir_hack
3894"
3895eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3896  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3897
3898test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3899  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3900  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
3901      "$ac_tmp/out"`; test -z "$ac_out"; } &&
3902  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3903which seems to be undefined.  Please make sure it is defined" >&5
3904$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3905which seems to be undefined.  Please make sure it is defined" >&2;}
3906
3907  rm -f "$ac_tmp/stdin"
3908  case $ac_file in
3909  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3910  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3911  esac \
3912  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3913 ;;
3914  :H)
3915  #
3916  # CONFIG_HEADER
3917  #
3918  if test x"$ac_file" != x-; then
3919    {
3920      $as_echo "/* $configure_input  */" \
3921      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
3922    } >"$ac_tmp/config.h" \
3923      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3924    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
3925      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
3926$as_echo "$as_me: $ac_file is unchanged" >&6;}
3927    else
3928      rm -f "$ac_file"
3929      mv "$ac_tmp/config.h" "$ac_file" \
3930	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
3931    fi
3932  else
3933    $as_echo "/* $configure_input  */" \
3934      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
3935      || as_fn_error $? "could not create -" "$LINENO" 5
3936  fi
3937 ;;
3938
3939
3940  esac
3941
3942done # for ac_tag
3943
3944
3945as_fn_exit 0
3946_ACEOF
3947ac_clean_files=$ac_clean_files_save
3948
3949test $ac_write_fail = 0 ||
3950  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3951
3952
3953# configure is writing to config.log, and then calls config.status.
3954# config.status does its own redirection, appending to config.log.
3955# Unfortunately, on DOS this fails, as config.log is still kept open
3956# by configure, so config.status won't be able to write to it; its
3957# output is simply discarded.  So we exec the FD to /dev/null,
3958# effectively closing config.log, so it can be properly (re)opened and
3959# appended to by config.status.  When coming back to configure, we
3960# need to make the FD available again.
3961if test "$no_create" != yes; then
3962  ac_cs_success=:
3963  ac_config_status_args=
3964  test "$silent" = yes &&
3965    ac_config_status_args="$ac_config_status_args --quiet"
3966  exec 5>/dev/null
3967  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3968  exec 5>>config.log
3969  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3970  # would make configure fail if this is the last instruction.
3971  $ac_cs_success || as_fn_exit 1
3972fi
3973if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3974  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3975$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3976fi
3977
3978