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