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