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