1#! /bin/bash
2# Generated by configure.
3# Run this file to recreate the current configuration.
4# Compiler output produced by configure, useful for debugging
5# configure, is in config.log if it exists.
6
7debug=false
8ac_cs_recheck=false
9ac_cs_silent=false
10SHELL=${CONFIG_SHELL-/bin/bash}
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (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# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85  as_unset=unset
86else
87  as_unset=false
88fi
89
90
91# IFS
92# We need space, tab and new line, in precisely that order.  Quoting is
93# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.)
96IFS=" ""	$as_nl"
97
98# Find who we are.  Look in the path if we contain no directory separator.
99case $0 in
100  *[\\/]* ) as_myself=$0 ;;
101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104  IFS=$as_save_IFS
105  test -z "$as_dir" && as_dir=.
106  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110     ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115  as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119  { (exit 1); exit 1; }
120fi
121
122# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139  as_expr=expr
140else
141  as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145  as_basename=basename
146else
147  as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154	 X"$0" : 'X\(//\)$' \| \
155	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157    sed '/^.*\/\([^/][^/]*\)\/*$/{
158	    s//\1/
159	    q
160	  }
161	  /^X\/\(\/\/\)$/{
162	    s//\1/
163	    q
164	  }
165	  /^X\/\(\/\).*/{
166	    s//\1/
167	    q
168	  }
169	  s/.*/./; q'`
170
171# CDPATH.
172$as_unset CDPATH
173
174
175
176  as_lineno_1=$LINENO
177  as_lineno_2=$LINENO
178  test "x$as_lineno_1" != "x$as_lineno_2" &&
179  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
180
181  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
182  # uniformly replaced by the line number.  The first 'sed' inserts a
183  # line-number line after each line using $LINENO; the second 'sed'
184  # does the real work.  The second script uses 'N' to pair each
185  # line-number line with the line containing $LINENO, and appends
186  # trailing '-' during substitution so that $LINENO is not a special
187  # case at line end.
188  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
189  # scripts with optimization help from Paolo Bonzini.  Blame Lee
190  # E. McMahon (1931-1989) for sed's syntax.  :-)
191  sed -n '
192    p
193    /[$]LINENO/=
194  ' <$as_myself |
195    sed '
196      s/[$]LINENO.*/&-/
197      t lineno
198      b
199      :lineno
200      N
201      :loop
202      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
203      t loop
204      s/-\n.*//
205    ' >$as_me.lineno &&
206  chmod +x "$as_me.lineno" ||
207    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
208   { (exit 1); exit 1; }; }
209
210  # Don't try to exec as it changes $[0], causing all sort of problems
211  # (the dirname of $[0] is not the place where we might find the
212  # original and so on.  Autoconf is especially sensitive to this).
213  . "./$as_me.lineno"
214  # Exit status is that of the last command.
215  exit
216}
217
218
219if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
220  as_dirname=dirname
221else
222  as_dirname=false
223fi
224
225ECHO_C= ECHO_N= ECHO_T=
226case `echo -n x` in
227-n*)
228  case `echo 'x\c'` in
229  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
230  *)   ECHO_C='\c';;
231  esac;;
232*)
233  ECHO_N='-n';;
234esac
235if expr a : '\(a\)' >/dev/null 2>&1 &&
236   test "X`expr 00001 : '.*\(...\)'`" = X001; then
237  as_expr=expr
238else
239  as_expr=false
240fi
241
242rm -f conf$$ conf$$.exe conf$$.file
243if test -d conf$$.dir; then
244  rm -f conf$$.dir/conf$$.file
245else
246  rm -f conf$$.dir
247  mkdir conf$$.dir 2>/dev/null
248fi
249if (echo >conf$$.file) 2>/dev/null; then
250  if ln -s conf$$.file conf$$ 2>/dev/null; then
251    as_ln_s='ln -s'
252    # ... but there are two gotchas:
253    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
254    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
255    # In both cases, we have to default to `cp -p'.
256    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
257      as_ln_s='cp -p'
258  elif ln conf$$.file conf$$ 2>/dev/null; then
259    as_ln_s=ln
260  else
261    as_ln_s='cp -p'
262  fi
263else
264  as_ln_s='cp -p'
265fi
266rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
267rmdir conf$$.dir 2>/dev/null
268
269if mkdir -p . 2>/dev/null; then
270  as_mkdir_p=:
271else
272  test -d ./-p && rmdir ./-p
273  as_mkdir_p=false
274fi
275
276if test -x / >/dev/null 2>&1; then
277  as_test_x='test -x'
278else
279  if ls -dL / >/dev/null 2>&1; then
280    as_ls_L_option=L
281  else
282    as_ls_L_option=
283  fi
284  as_test_x='
285    eval sh -c '\''
286      if test -d "$1"; then
287	test -d "$1/.";
288      else
289	case $1 in
290	-*)set "./$1";;
291	esac;
292	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
293	???[sx]*):;;*)false;;esac;fi
294    '\'' sh
295  '
296fi
297as_executable_p=$as_test_x
298
299# Sed expression to map a string onto a valid CPP name.
300as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
301
302# Sed expression to map a string onto a valid variable name.
303as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
304
305
306exec 6>&1
307
308# Save the log message, to keep $[0] and so on meaningful, and to
309# report actual input values of CONFIG_FILES etc. instead of their
310# values after options handling.
311ac_log="
312This file was extended by Check $as_me 0.9.8, which was
313generated by GNU Autoconf 2.63.  Invocation command line was
314
315  CONFIG_FILES    = $CONFIG_FILES
316  CONFIG_HEADERS  = $CONFIG_HEADERS
317  CONFIG_LINKS    = $CONFIG_LINKS
318  CONFIG_COMMANDS = $CONFIG_COMMANDS
319  $ $0 $@
320
321on `(hostname || uname -n) 2>/dev/null | sed 1q`
322"
323
324# Files that config.status was made for.
325config_files=" check.pc Makefile doc/Makefile lib/Makefile src/check.h src/Makefile tests/Makefile tests/test_vars"
326config_headers=" config.h"
327config_commands=" depfiles libtool"
328
329ac_cs_usage="\
330\`$as_me' instantiates files from templates according to the
331current configuration.
332
333Usage: $0 [OPTION]... [FILE]...
334
335  -h, --help       print this help, then exit
336  -V, --version    print version number and configuration settings, then exit
337  -q, --quiet, --silent
338                   do not print progress messages
339  -d, --debug      don't remove temporary files
340      --recheck    update $as_me by reconfiguring in the same conditions
341      --file=FILE[:TEMPLATE]
342                   instantiate the configuration file FILE
343      --header=FILE[:TEMPLATE]
344                   instantiate the configuration header FILE
345
346Configuration files:
347$config_files
348
349Configuration headers:
350$config_headers
351
352Configuration commands:
353$config_commands
354
355Report bugs to <bug-autoconf@gnu.org>."
356
357ac_cs_version="\
358Check config.status 0.9.8
359configured by ./configure, generated by GNU Autoconf 2.63,
360  with options \"\"
361
362Copyright (C) 2008 Free Software Foundation, Inc.
363This config.status script is free software; the Free Software Foundation
364gives unlimited permission to copy, distribute and modify it."
365
366ac_pwd='/vagrant/deps/check-0.9.8'
367srcdir='.'
368INSTALL='/usr/bin/install -c'
369MKDIR_P='/bin/mkdir -p'
370AWK='mawk'
371test -n "$AWK" || AWK=awk
372# The default lists apply if the user does not specify any file.
373ac_need_defaults=:
374while test $# != 0
375do
376  case $1 in
377  --*=*)
378    ac_option=`expr "X$1" : 'X\([^=]*\)='`
379    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
380    ac_shift=:
381    ;;
382  *)
383    ac_option=$1
384    ac_optarg=$2
385    ac_shift=shift
386    ;;
387  esac
388
389  case $ac_option in
390  # Handling of the options.
391  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
392    ac_cs_recheck=: ;;
393  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
394    $as_echo "$ac_cs_version"; exit ;;
395  --debug | --debu | --deb | --de | --d | -d )
396    debug=: ;;
397  --file | --fil | --fi | --f )
398    $ac_shift
399    case $ac_optarg in
400    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
401    esac
402    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
403    ac_need_defaults=false;;
404  --header | --heade | --head | --hea )
405    $ac_shift
406    case $ac_optarg in
407    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
408    esac
409    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
410    ac_need_defaults=false;;
411  --he | --h)
412    # Conflict between --help and --header
413    { $as_echo "$as_me: error: ambiguous option: $1
414Try \`$0 --help' for more information." >&2
415   { (exit 1); exit 1; }; };;
416  --help | --hel | -h )
417    $as_echo "$ac_cs_usage"; exit ;;
418  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
419  | -silent | --silent | --silen | --sile | --sil | --si | --s)
420    ac_cs_silent=: ;;
421
422  # This is an error.
423  -*) { $as_echo "$as_me: error: unrecognized option: $1
424Try \`$0 --help' for more information." >&2
425   { (exit 1); exit 1; }; } ;;
426
427  *) ac_config_targets="$ac_config_targets $1"
428     ac_need_defaults=false ;;
429
430  esac
431  shift
432done
433
434ac_configure_extra_args=
435
436if $ac_cs_silent; then
437  exec 6>/dev/null
438  ac_configure_extra_args="$ac_configure_extra_args --silent"
439fi
440
441if $ac_cs_recheck; then
442  set X '/bin/bash' './configure'  $ac_configure_extra_args --no-create --no-recursion
443  shift
444  $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
445  CONFIG_SHELL='/bin/bash'
446  export CONFIG_SHELL
447  exec "$@"
448fi
449
450exec 5>>config.log
451{
452  echo
453  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
454## Running $as_me. ##
455_ASBOX
456  $as_echo "$ac_log"
457} >&5
458
459#
460# INIT-COMMANDS
461#
462AMDEP_TRUE="" ac_aux_dir="build-aux"
463
464
465# The HP-UX ksh and POSIX shell print the target directory to stdout
466# if CDPATH is set.
467(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
468
469sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
470double_quote_subst='s/\(["`\\]\)/\\\1/g'
471delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
472macro_version='2.2.6'
473macro_revision='1.3012'
474enable_shared='yes'
475enable_static='yes'
476pic_mode='default'
477enable_fast_install='yes'
478host_alias=''
479host='x86_64-unknown-linux-gnu'
480host_os='linux-gnu'
481build_alias=''
482build='x86_64-unknown-linux-gnu'
483build_os='linux-gnu'
484SED='/bin/sed'
485Xsed='/bin/sed -e 1s/^X//'
486GREP='/bin/grep'
487EGREP='/bin/grep -E'
488FGREP='/bin/grep -F'
489LD='/usr/bin/ld -m elf_x86_64'
490NM='/usr/bin/nm -B'
491LN_S='ln -s'
492max_cmd_len='1572864'
493ac_objext='o'
494exeext=''
495lt_unset='unset'
496lt_SP2NL='tr \040 \012'
497lt_NL2SP='tr \015\012 \040\040'
498reload_flag=' -r'
499reload_cmds='$LD$reload_flag -o $output$reload_objs'
500OBJDUMP='objdump'
501deplibs_check_method='pass_all'
502file_magic_cmd='$MAGIC_CMD'
503AR='ar'
504AR_FLAGS='cru'
505STRIP='strip'
506RANLIB='ranlib'
507old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
508old_postuninstall_cmds=''
509old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
510CC='gcc'
511CFLAGS='-g -O2 -Wall -ansi -pedantic -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros'
512compiler='gcc'
513GCC='yes'
514lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
515lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
516lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
517lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
518objdir='.libs'
519SHELL='/bin/bash'
520ECHO='echo'
521MAGIC_CMD='file'
522lt_prog_compiler_no_builtin_flag=' -fno-builtin'
523lt_prog_compiler_wl='-Wl,'
524lt_prog_compiler_pic=' -fPIC -DPIC'
525lt_prog_compiler_static='-static'
526lt_cv_prog_compiler_c_o='yes'
527need_locks='no'
528DSYMUTIL=''
529NMEDIT=''
530LIPO=''
531OTOOL=''
532OTOOL64=''
533libext='a'
534shrext_cmds='.so'
535extract_expsyms_cmds=''
536archive_cmds_need_lc='no'
537enable_shared_with_static_runtimes='no'
538export_dynamic_flag_spec='${wl}--export-dynamic'
539whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
540compiler_needs_object='no'
541old_archive_from_new_cmds=''
542old_archive_from_expsyms_cmds=''
543archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
544archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
545	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
546	    echo "local: *; };" >> $output_objdir/$libname.ver~
547	    $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
548module_cmds=''
549module_expsym_cmds=''
550with_gnu_ld='yes'
551allow_undefined_flag=''
552no_undefined_flag=''
553hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
554hardcode_libdir_flag_spec_ld=''
555hardcode_libdir_separator=''
556hardcode_direct='no'
557hardcode_direct_absolute='no'
558hardcode_minus_L='no'
559hardcode_shlibpath_var='unsupported'
560hardcode_automatic='no'
561inherit_rpath='no'
562link_all_deplibs='unknown'
563fix_srcfile_path=''
564always_export_symbols='no'
565export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
566exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
567include_expsyms=''
568prelink_cmds=''
569file_list_spec=''
570variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
571need_lib_prefix='no'
572need_version='no'
573version_type='linux'
574runpath_var='LD_RUN_PATH'
575shlibpath_var='LD_LIBRARY_PATH'
576shlibpath_overrides_runpath='no'
577libname_spec='lib$name'
578library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
579soname_spec='${libname}${release}${shared_ext}$major'
580postinstall_cmds=''
581postuninstall_cmds=''
582finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
583finish_eval=''
584hardcode_into_libs='yes'
585sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/4.4.3 /usr/lib /lib'
586sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu '
587hardcode_action='immediate'
588enable_dlopen='unknown'
589enable_dlopen_self='unknown'
590enable_dlopen_self_static='unknown'
591old_striplib='strip --strip-debug'
592striplib='strip --strip-unneeded'
593
594LTCC='gcc'
595LTCFLAGS='-g -O2'
596compiler='gcc'
597
598# Quote evaled strings.
599for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd AR AR_FLAGS STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix SHELL ECHO lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator fix_srcfile_path exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec finish_eval old_striplib striplib; do
600    case `eval \\$ECHO "X\\$$var"` in
601    *[\\\`\"\$]*)
602      eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
603      ;;
604    *)
605      eval "lt_$var=\\\"\$$var\\\""
606      ;;
607    esac
608done
609
610# Double-quote double-evaled strings.
611for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec; do
612    case `eval \\$ECHO "X\\$$var"` in
613    *[\\\`\"\$]*)
614      eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
615      ;;
616    *)
617      eval "lt_$var=\\\"\$$var\\\""
618      ;;
619    esac
620done
621
622# Fix-up fallback echo if it was mangled by the above quoting rules.
623case $lt_ECHO in
624*'\$0 --fallback-echo"')  lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
625  ;;
626esac
627
628ac_aux_dir='build-aux'
629xsi_shell='yes'
630lt_shell_append='yes'
631
632# See if we are running on zsh, and set the options which allow our
633# commands through without removal of \ escapes INIT.
634if test -n "${ZSH_VERSION+set}" ; then
635   setopt NO_GLOB_SUBST
636fi
637
638
639    PACKAGE='check'
640    VERSION='0.9.8'
641    TIMESTAMP=''
642    RM='rm -f'
643    ofile='libtool'
644
645
646
647
648
649# Handling of arguments.
650for ac_config_target in $ac_config_targets
651do
652  case $ac_config_target in
653    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
654    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
655    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
656    "check.pc") CONFIG_FILES="$CONFIG_FILES check.pc" ;;
657    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
658    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
659    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
660    "src/check.h") CONFIG_FILES="$CONFIG_FILES src/check.h" ;;
661    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
662    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
663    "tests/test_vars") CONFIG_FILES="$CONFIG_FILES tests/test_vars" ;;
664
665  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
666$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
667   { (exit 1); exit 1; }; };;
668  esac
669done
670
671
672# If the user did not use the arguments to specify the items to instantiate,
673# then the envvar interface is used.  Set only those that are not.
674# We use the long form for the default assignment because of an extremely
675# bizarre bug on SunOS 4.1.3.
676if $ac_need_defaults; then
677  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
678  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
679  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
680fi
681
682# Have a temporary directory for convenience.  Make it in the build tree
683# simply because there is no reason against having it here, and in addition,
684# creating and moving files from /tmp can sometimes cause problems.
685# Hook for its removal unless debugging.
686# Note that there is a small window in which the directory will not be cleaned:
687# after its creation but before its name has been assigned to `$tmp'.
688$debug ||
689{
690  tmp=
691  trap 'exit_status=$?
692  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
693' 0
694  trap '{ (exit 1); exit 1; }' 1 2 13 15
695}
696# Create a (secure) tmp directory for tmp files.
697
698{
699  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
700  test -n "$tmp" && test -d "$tmp"
701}  ||
702{
703  tmp=./conf$$-$RANDOM
704  (umask 077 && mkdir "$tmp")
705} ||
706{
707   $as_echo "$as_me: cannot create a temporary directory in ." >&2
708   { (exit 1); exit 1; }
709}
710
711# Set up the scripts for CONFIG_FILES section.
712# No need to generate them if there are no CONFIG_FILES.
713# This happens for instance with `./config.status config.h'.
714if test -n "$CONFIG_FILES"; then
715
716
717ac_cr='
718'
719ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
720if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
721  ac_cs_awk_cr='\\r'
722else
723  ac_cs_awk_cr=$ac_cr
724fi
725
726echo 'BEGIN {' >"$tmp/subs1.awk" &&
727cat >>"$tmp/subs1.awk" <<\_ACAWK &&
728S["LTLIBOBJS"]=""
729S["PTHREAD_CFLAGS"]="-pthread"
730S["PTHREAD_LIBS"]=""
731S["PTHREAD_CC"]="gcc"
732S["acx_pthread_config"]=""
733S["LIBOBJS"]=""
734S["SUBUNIT_FALSE"]=""
735S["SUBUNIT_TRUE"]="#"
736S["ENABLE_SUBUNIT"]="0"
737S["TEX"]="false"
738S["GENHTML"]="false"
739S["LCOV"]="false"
740S["GCOV"]="gcov"
741S["OTOOL64"]=""
742S["OTOOL"]=""
743S["LIPO"]=""
744S["NMEDIT"]=""
745S["DSYMUTIL"]=""
746S["lt_ECHO"]="echo"
747S["RANLIB"]="ranlib"
748S["AR"]="ar"
749S["OBJDUMP"]="objdump"
750S["NM"]="/usr/bin/nm -B"
751S["ac_ct_DUMPBIN"]=""
752S["DUMPBIN"]=""
753S["LD"]="/usr/bin/ld -m elf_x86_64"
754S["FGREP"]="/bin/grep -F"
755S["SED"]="/bin/sed"
756S["host_os"]="linux-gnu"
757S["host_vendor"]="unknown"
758S["host_cpu"]="x86_64"
759S["host"]="x86_64-unknown-linux-gnu"
760S["build_os"]="linux-gnu"
761S["build_vendor"]="unknown"
762S["build_cpu"]="x86_64"
763S["build"]="x86_64-unknown-linux-gnu"
764S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
765S["LN_S"]="ln -s"
766S["NO_TIMEOUT_TESTS_FALSE"]=""
767S["NO_TIMEOUT_TESTS_TRUE"]="#"
768S["ENABLE_GCOV_FALSE"]=""
769S["ENABLE_GCOV_TRUE"]="#"
770S["GCOV_LIBS"]=""
771S["GCOV_CFLAGS"]=""
772S["CHECK_VERSION"]="0.9.8"
773S["CHECK_MICRO_VERSION"]="8"
774S["CHECK_MINOR_VERSION"]="9"
775S["CHECK_MAJOR_VERSION"]="0"
776S["am__fastdepCC_FALSE"]="#"
777S["am__fastdepCC_TRUE"]=""
778S["CCDEPMODE"]="depmode=gcc3"
779S["AMDEPBACKSLASH"]="\\"
780S["AMDEP_FALSE"]="#"
781S["AMDEP_TRUE"]=""
782S["am__quote"]=""
783S["am__include"]="include"
784S["DEPDIR"]=".deps"
785S["am__untar"]="${AMTAR} xf -"
786S["am__tar"]="${AMTAR} chof - \"$$tardir\""
787S["AMTAR"]="${SHELL} /vagrant/deps/check-0.9.8/build-aux/missing --run tar"
788S["am__leading_dot"]="."
789S["SET_MAKE"]=""
790S["AWK"]="mawk"
791S["mkdir_p"]="/bin/mkdir -p"
792S["MKDIR_P"]="/bin/mkdir -p"
793S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
794S["STRIP"]="strip"
795S["install_sh"]="$(SHELL) /vagrant/deps/check-0.9.8/build-aux/install-sh"
796S["MAKEINFO"]="${SHELL} /vagrant/deps/check-0.9.8/build-aux/missing --run makeinfo"
797S["AUTOHEADER"]="${SHELL} /vagrant/deps/check-0.9.8/build-aux/missing --run autoheader"
798S["AUTOMAKE"]="${SHELL} /vagrant/deps/check-0.9.8/build-aux/missing --run automake-1.10"
799S["AUTOCONF"]="${SHELL} /vagrant/deps/check-0.9.8/build-aux/missing --run autoconf"
800S["ACLOCAL"]="${SHELL} /vagrant/deps/check-0.9.8/build-aux/missing --run aclocal-1.10"
801S["VERSION"]="0.9.8"
802S["PACKAGE"]="check"
803S["CYGPATH_W"]="echo"
804S["am__isrc"]=""
805S["INSTALL_DATA"]="${INSTALL} -m 644"
806S["INSTALL_SCRIPT"]="${INSTALL}"
807S["INSTALL_PROGRAM"]="${INSTALL}"
808S["EGREP"]="/bin/grep -E"
809S["GREP"]="/bin/grep"
810S["CPP"]="gcc -E"
811S["OBJEXT"]="o"
812S["EXEEXT"]=""
813S["ac_ct_CC"]="gcc"
814S["CPPFLAGS"]=""
815S["LDFLAGS"]=""
816S["CFLAGS"]="-g -O2 -Wall -ansi -pedantic -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros"
817S["CC"]="gcc"
818S["target_alias"]=""
819S["host_alias"]=""
820S["build_alias"]=""
821S["LIBS"]=""
822S["ECHO_T"]=""
823S["ECHO_N"]="-n"
824S["ECHO_C"]=""
825S["DEFS"]="-DHAVE_CONFIG_H"
826S["mandir"]="${datarootdir}/man"
827S["localedir"]="${datarootdir}/locale"
828S["libdir"]="${exec_prefix}/lib"
829S["psdir"]="${docdir}"
830S["pdfdir"]="${docdir}"
831S["dvidir"]="${docdir}"
832S["htmldir"]="${docdir}"
833S["infodir"]="${datarootdir}/info"
834S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
835S["oldincludedir"]="/usr/include"
836S["includedir"]="${prefix}/include"
837S["localstatedir"]="${prefix}/var"
838S["sharedstatedir"]="${prefix}/com"
839S["sysconfdir"]="${prefix}/etc"
840S["datadir"]="${datarootdir}"
841S["datarootdir"]="${prefix}/share"
842S["libexecdir"]="${exec_prefix}/libexec"
843S["sbindir"]="${exec_prefix}/sbin"
844S["bindir"]="${exec_prefix}/bin"
845S["program_transform_name"]="s,x,x,"
846S["prefix"]="/usr/local"
847S["exec_prefix"]="${prefix}"
848S["PACKAGE_BUGREPORT"]="check-devel at lists dot sourceforge dot net"
849S["PACKAGE_STRING"]="Check 0.9.8"
850S["PACKAGE_VERSION"]="0.9.8"
851S["PACKAGE_TARNAME"]="check"
852S["PACKAGE_NAME"]="Check"
853S["PATH_SEPARATOR"]=":"
854S["SHELL"]="/bin/bash"
855_ACAWK
856cat >>"$tmp/subs1.awk" <<_ACAWK &&
857  for (key in S) S_is_set[key] = 1
858  FS = ""
859
860}
861{
862  line = $ 0
863  nfields = split(line, field, "@")
864  substed = 0
865  len = length(field[1])
866  for (i = 2; i < nfields; i++) {
867    key = field[i]
868    keylen = length(key)
869    if (S_is_set[key]) {
870      value = S[key]
871      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
872      len += length(value) + length(field[++i])
873      substed = 1
874    } else
875      len += 1 + keylen
876  }
877
878  print line
879}
880
881_ACAWK
882if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
883  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
884else
885  cat
886fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
887  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
888$as_echo "$as_me: error: could not setup config files machinery" >&2;}
889   { (exit 1); exit 1; }; }
890fi # test -n "$CONFIG_FILES"
891
892# Set up the scripts for CONFIG_HEADERS section.
893# No need to generate them if there are no CONFIG_HEADERS.
894# This happens for instance with `./config.status Makefile'.
895if test -n "$CONFIG_HEADERS"; then
896cat >"$tmp/defines.awk" <<\_ACAWK ||
897BEGIN {
898D["PACKAGE_NAME"]=" \"Check\""
899D["PACKAGE_TARNAME"]=" \"check\""
900D["PACKAGE_VERSION"]=" \"0.9.8\""
901D["PACKAGE_STRING"]=" \"Check 0.9.8\""
902D["PACKAGE_BUGREPORT"]=" \"check-devel at lists dot sourceforge dot net\""
903D["STDC_HEADERS"]=" 1"
904D["HAVE_SYS_TYPES_H"]=" 1"
905D["HAVE_SYS_STAT_H"]=" 1"
906D["HAVE_STDLIB_H"]=" 1"
907D["HAVE_STRING_H"]=" 1"
908D["HAVE_MEMORY_H"]=" 1"
909D["HAVE_STRINGS_H"]=" 1"
910D["HAVE_INTTYPES_H"]=" 1"
911D["HAVE_STDINT_H"]=" 1"
912D["HAVE_UNISTD_H"]=" 1"
913D["__EXTENSIONS__"]=" 1"
914D["_ALL_SOURCE"]=" 1"
915D["_GNU_SOURCE"]=" 1"
916D["_POSIX_PTHREAD_SEMANTICS"]=" 1"
917D["_TANDEM_SOURCE"]=" 1"
918D["PACKAGE"]=" \"check\""
919D["VERSION"]=" \"0.9.8\""
920D["HAVE_DLFCN_H"]=" 1"
921D["LT_OBJDIR"]=" \".libs/\""
922D["STDC_HEADERS"]=" 1"
923D["HAVE_SYS_WAIT_H"]=" 1"
924D["HAVE_FCNTL_H"]=" 1"
925D["HAVE_STDDEF_H"]=" 1"
926D["HAVE_STDINT_H"]=" 1"
927D["HAVE_STDLIB_H"]=" 1"
928D["HAVE_STRING_H"]=" 1"
929D["HAVE_SYS_TIME_H"]=" 1"
930D["HAVE_UNISTD_H"]=" 1"
931D["ENABLE_SUBUNIT"]=" 0"
932D["TIME_WITH_SYS_TIME"]=" 1"
933D["SIZEOF_INT"]=" 4"
934D["SIZEOF_SHORT"]=" 2"
935D["SIZEOF_LONG"]=" 8"
936D["HAVE_STDLIB_H"]=" 1"
937D["HAVE_MALLOC"]=" 1"
938D["HAVE_STDLIB_H"]=" 1"
939D["HAVE_REALLOC"]=" 1"
940D["HAVE_FILENO"]=" 1"
941D["HAVE_LOCALTIME_R"]=" 1"
942D["HAVE_PIPE"]=" 1"
943D["HAVE_PUTENV"]=" 1"
944D["HAVE_SETENV"]=" 1"
945D["HAVE_SLEEP"]=" 1"
946D["HAVE_STRDUP"]=" 1"
947D["HAVE_STRSIGNAL"]=" 1"
948D["HAVE_UNSETENV"]=" 1"
949D["HAVE_DECL_FILENO"]=" 1"
950D["HAVE_DECL_LOCALTIME_R"]=" 0"
951D["HAVE_DECL_PIPE"]=" 1"
952D["HAVE_DECL_PUTENV"]=" 1"
953D["HAVE_DECL_SETENV"]=" 1"
954D["HAVE_DECL_SLEEP"]=" 1"
955D["HAVE_DECL_STRDUP"]=" 1"
956D["HAVE_DECL_STRSIGNAL"]=" 1"
957D["HAVE_DECL_UNSETENV"]=" 1"
958D["HAVE_PTHREAD"]=" 1"
959  for (key in D) D_is_set[key] = 1
960  FS = ""
961}
962/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
963  line = $ 0
964  split(line, arg, " ")
965  if (arg[1] == "#") {
966    defundef = arg[2]
967    mac1 = arg[3]
968  } else {
969    defundef = substr(arg[1], 2)
970    mac1 = arg[2]
971  }
972  split(mac1, mac2, "(") #)
973  macro = mac2[1]
974  prefix = substr(line, 1, index(line, defundef) - 1)
975  if (D_is_set[macro]) {
976    # Preserve the white space surrounding the "#".
977    print prefix "define", macro P[macro] D[macro]
978    next
979  } else {
980    # Replace #undef with comments.  This is necessary, for example,
981    # in the case of _POSIX_SOURCE, which is predefined and required
982    # on some systems where configure will not decide to define it.
983    if (defundef == "undef") {
984      print "/*", prefix defundef, macro, "*/"
985      next
986    }
987  }
988}
989{ print }
990_ACAWK
991  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
992$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
993   { (exit 1); exit 1; }; }
994fi # test -n "$CONFIG_HEADERS"
995
996
997eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
998shift
999for ac_tag
1000do
1001  case $ac_tag in
1002  :[FHLC]) ac_mode=$ac_tag; continue;;
1003  esac
1004  case $ac_mode$ac_tag in
1005  :[FHL]*:*);;
1006  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
1007$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
1008   { (exit 1); exit 1; }; };;
1009  :[FH]-) ac_tag=-:-;;
1010  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1011  esac
1012  ac_save_IFS=$IFS
1013  IFS=:
1014  set x $ac_tag
1015  IFS=$ac_save_IFS
1016  shift
1017  ac_file=$1
1018  shift
1019
1020  case $ac_mode in
1021  :L) ac_source=$1;;
1022  :[FH])
1023    ac_file_inputs=
1024    for ac_f
1025    do
1026      case $ac_f in
1027      -) ac_f="$tmp/stdin";;
1028      *) # Look for the file first in the build tree, then in the source tree
1029	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
1030	 # because $ac_f cannot contain `:'.
1031	 test -f "$ac_f" ||
1032	   case $ac_f in
1033	   [\\/$]*) false;;
1034	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1035	   esac ||
1036	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
1037$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
1038   { (exit 1); exit 1; }; };;
1039      esac
1040      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1041      ac_file_inputs="$ac_file_inputs '$ac_f'"
1042    done
1043
1044    # Let's still pretend it is `configure' which instantiates (i.e., don't
1045    # use $as_me), people would be surprised to read:
1046    #    /* config.h.  Generated by config.status.  */
1047    configure_input='Generated from '`
1048	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1049	`' by configure.'
1050    if test x"$ac_file" != x-; then
1051      configure_input="$ac_file.  $configure_input"
1052      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
1053$as_echo "$as_me: creating $ac_file" >&6;}
1054    fi
1055    # Neutralize special characters interpreted by sed in replacement strings.
1056    case $configure_input in #(
1057    *\&* | *\|* | *\\* )
1058       ac_sed_conf_input=`$as_echo "$configure_input" |
1059       sed 's/[\\\\&|]/\\\\&/g'`;; #(
1060    *) ac_sed_conf_input=$configure_input;;
1061    esac
1062
1063    case $ac_tag in
1064    *:-:* | *:-) cat >"$tmp/stdin" \
1065      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
1066$as_echo "$as_me: error: could not create $ac_file" >&2;}
1067   { (exit 1); exit 1; }; } ;;
1068    esac
1069    ;;
1070  esac
1071
1072  ac_dir=`$as_dirname -- "$ac_file" ||
1073$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1074	 X"$ac_file" : 'X\(//\)[^/]' \| \
1075	 X"$ac_file" : 'X\(//\)$' \| \
1076	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1077$as_echo X"$ac_file" |
1078    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1079	    s//\1/
1080	    q
1081	  }
1082	  /^X\(\/\/\)[^/].*/{
1083	    s//\1/
1084	    q
1085	  }
1086	  /^X\(\/\/\)$/{
1087	    s//\1/
1088	    q
1089	  }
1090	  /^X\(\/\).*/{
1091	    s//\1/
1092	    q
1093	  }
1094	  s/.*/./; q'`
1095  { as_dir="$ac_dir"
1096  case $as_dir in #(
1097  -*) as_dir=./$as_dir;;
1098  esac
1099  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1100    as_dirs=
1101    while :; do
1102      case $as_dir in #(
1103      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1104      *) as_qdir=$as_dir;;
1105      esac
1106      as_dirs="'$as_qdir' $as_dirs"
1107      as_dir=`$as_dirname -- "$as_dir" ||
1108$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1109	 X"$as_dir" : 'X\(//\)[^/]' \| \
1110	 X"$as_dir" : 'X\(//\)$' \| \
1111	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1112$as_echo X"$as_dir" |
1113    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1114	    s//\1/
1115	    q
1116	  }
1117	  /^X\(\/\/\)[^/].*/{
1118	    s//\1/
1119	    q
1120	  }
1121	  /^X\(\/\/\)$/{
1122	    s//\1/
1123	    q
1124	  }
1125	  /^X\(\/\).*/{
1126	    s//\1/
1127	    q
1128	  }
1129	  s/.*/./; q'`
1130      test -d "$as_dir" && break
1131    done
1132    test -z "$as_dirs" || eval "mkdir $as_dirs"
1133  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
1134$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
1135   { (exit 1); exit 1; }; }; }
1136  ac_builddir=.
1137
1138case "$ac_dir" in
1139.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1140*)
1141  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1142  # A ".." for each directory in $ac_dir_suffix.
1143  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1144  case $ac_top_builddir_sub in
1145  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1146  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1147  esac ;;
1148esac
1149ac_abs_top_builddir=$ac_pwd
1150ac_abs_builddir=$ac_pwd$ac_dir_suffix
1151# for backward compatibility:
1152ac_top_builddir=$ac_top_build_prefix
1153
1154case $srcdir in
1155  .)  # We are building in place.
1156    ac_srcdir=.
1157    ac_top_srcdir=$ac_top_builddir_sub
1158    ac_abs_top_srcdir=$ac_pwd ;;
1159  [\\/]* | ?:[\\/]* )  # Absolute name.
1160    ac_srcdir=$srcdir$ac_dir_suffix;
1161    ac_top_srcdir=$srcdir
1162    ac_abs_top_srcdir=$srcdir ;;
1163  *) # Relative name.
1164    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1165    ac_top_srcdir=$ac_top_build_prefix$srcdir
1166    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1167esac
1168ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1169
1170
1171  case $ac_mode in
1172  :F)
1173  #
1174  # CONFIG_FILE
1175  #
1176
1177  case $INSTALL in
1178  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1179  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1180  esac
1181  ac_MKDIR_P=$MKDIR_P
1182  case $MKDIR_P in
1183  [\\/$]* | ?:[\\/]* ) ;;
1184  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1185  esac
1186# If the template does not know about datarootdir, expand it.
1187# FIXME: This hack should be removed a few years after 2.60.
1188ac_datarootdir_hack=; ac_datarootdir_seen=
1189
1190ac_sed_dataroot='
1191/datarootdir/ {
1192  p
1193  q
1194}
1195/@datadir@/p
1196/@docdir@/p
1197/@infodir@/p
1198/@localedir@/p
1199/@mandir@/p
1200'
1201case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1202*datarootdir*) ac_datarootdir_seen=yes;;
1203*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1204  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1205$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1206  ac_datarootdir_hack='
1207  s&@datadir@&${datarootdir}&g
1208  s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
1209  s&@infodir@&${datarootdir}/info&g
1210  s&@localedir@&${datarootdir}/locale&g
1211  s&@mandir@&${datarootdir}/man&g
1212    s&\${datarootdir}&${prefix}/share&g' ;;
1213esac
1214ac_sed_extra="/^[	 ]*VPATH[	 ]*=/{
1215s/:*\$(srcdir):*/:/
1216s/:*\${srcdir}:*/:/
1217s/:*@srcdir@:*/:/
1218s/^\([^=]*=[	 ]*\):*/\1/
1219s/:*$//
1220s/^[^=]*=[	 ]*$//
1221}
1222
1223:t
1224/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1225s|@configure_input@|$ac_sed_conf_input|;t t
1226s&@top_builddir@&$ac_top_builddir_sub&;t t
1227s&@top_build_prefix@&$ac_top_build_prefix&;t t
1228s&@srcdir@&$ac_srcdir&;t t
1229s&@abs_srcdir@&$ac_abs_srcdir&;t t
1230s&@top_srcdir@&$ac_top_srcdir&;t t
1231s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1232s&@builddir@&$ac_builddir&;t t
1233s&@abs_builddir@&$ac_abs_builddir&;t t
1234s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1235s&@INSTALL@&$ac_INSTALL&;t t
1236s&@MKDIR_P@&$ac_MKDIR_P&;t t
1237$ac_datarootdir_hack
1238"
1239eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
1240  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
1241$as_echo "$as_me: error: could not create $ac_file" >&2;}
1242   { (exit 1); exit 1; }; }
1243
1244test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1245  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1246  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1247  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1248which seems to be undefined.  Please make sure it is defined." >&5
1249$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1250which seems to be undefined.  Please make sure it is defined." >&2;}
1251
1252  rm -f "$tmp/stdin"
1253  case $ac_file in
1254  -) cat "$tmp/out" && rm -f "$tmp/out";;
1255  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1256  esac \
1257  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
1258$as_echo "$as_me: error: could not create $ac_file" >&2;}
1259   { (exit 1); exit 1; }; }
1260 ;;
1261  :H)
1262  #
1263  # CONFIG_HEADER
1264  #
1265  if test x"$ac_file" != x-; then
1266    {
1267      $as_echo "/* $configure_input  */" \
1268      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
1269    } >"$tmp/config.h" \
1270      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
1271$as_echo "$as_me: error: could not create $ac_file" >&2;}
1272   { (exit 1); exit 1; }; }
1273    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
1274      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
1275$as_echo "$as_me: $ac_file is unchanged" >&6;}
1276    else
1277      rm -f "$ac_file"
1278      mv "$tmp/config.h" "$ac_file" \
1279	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
1280$as_echo "$as_me: error: could not create $ac_file" >&2;}
1281   { (exit 1); exit 1; }; }
1282    fi
1283  else
1284    $as_echo "/* $configure_input  */" \
1285      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
1286      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
1287$as_echo "$as_me: error: could not create -" >&2;}
1288   { (exit 1); exit 1; }; }
1289  fi
1290# Compute "$ac_file"'s index in $config_headers.
1291_am_arg="$ac_file"
1292_am_stamp_count=1
1293for _am_header in $config_headers :; do
1294  case $_am_header in
1295    $_am_arg | $_am_arg:* )
1296      break ;;
1297    * )
1298      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1299  esac
1300done
1301echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
1302$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1303	 X"$_am_arg" : 'X\(//\)[^/]' \| \
1304	 X"$_am_arg" : 'X\(//\)$' \| \
1305	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1306$as_echo X"$_am_arg" |
1307    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1308	    s//\1/
1309	    q
1310	  }
1311	  /^X\(\/\/\)[^/].*/{
1312	    s//\1/
1313	    q
1314	  }
1315	  /^X\(\/\/\)$/{
1316	    s//\1/
1317	    q
1318	  }
1319	  /^X\(\/\).*/{
1320	    s//\1/
1321	    q
1322	  }
1323	  s/.*/./; q'`/stamp-h$_am_stamp_count
1324 ;;
1325
1326  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
1327$as_echo "$as_me: executing $ac_file commands" >&6;}
1328 ;;
1329  esac
1330
1331
1332  case $ac_file$ac_mode in
1333    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1334  # Autoconf 2.62 quotes --file arguments for eval, but not when files
1335  # are listed without --file.  Let's play safe and only enable the eval
1336  # if we detect the quoting.
1337  case $CONFIG_FILES in
1338  *\'*) eval set x "$CONFIG_FILES" ;;
1339  *)   set x $CONFIG_FILES ;;
1340  esac
1341  shift
1342  for mf
1343  do
1344    # Strip MF so we end up with the name of the file.
1345    mf=`echo "$mf" | sed -e 's/:.*$//'`
1346    # Check whether this is an Automake generated Makefile or not.
1347    # We used to match only the files named `Makefile.in', but
1348    # some people rename them; so instead we look at the file content.
1349    # Grep'ing the first line is not enough: some people post-process
1350    # each Makefile.in and add a new line on top of each file to say so.
1351    # Grep'ing the whole file is not good either: AIX grep has a line
1352    # limit of 2048, but all sed's we know have understand at least 4000.
1353    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1354      dirpart=`$as_dirname -- "$mf" ||
1355$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1356	 X"$mf" : 'X\(//\)[^/]' \| \
1357	 X"$mf" : 'X\(//\)$' \| \
1358	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1359$as_echo X"$mf" |
1360    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1361	    s//\1/
1362	    q
1363	  }
1364	  /^X\(\/\/\)[^/].*/{
1365	    s//\1/
1366	    q
1367	  }
1368	  /^X\(\/\/\)$/{
1369	    s//\1/
1370	    q
1371	  }
1372	  /^X\(\/\).*/{
1373	    s//\1/
1374	    q
1375	  }
1376	  s/.*/./; q'`
1377    else
1378      continue
1379    fi
1380    # Extract the definition of DEPDIR, am__include, and am__quote
1381    # from the Makefile without running `make'.
1382    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1383    test -z "$DEPDIR" && continue
1384    am__include=`sed -n 's/^am__include = //p' < "$mf"`
1385    test -z "am__include" && continue
1386    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1387    # When using ansi2knr, U may be empty or an underscore; expand it
1388    U=`sed -n 's/^U = //p' < "$mf"`
1389    # Find all dependency output files, they are included files with
1390    # $(DEPDIR) in their names.  We invoke sed twice because it is the
1391    # simplest approach to changing $(DEPDIR) to its actual value in the
1392    # expansion.
1393    for file in `sed -n "
1394      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1395	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1396      # Make sure the directory exists.
1397      test -f "$dirpart/$file" && continue
1398      fdir=`$as_dirname -- "$file" ||
1399$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1400	 X"$file" : 'X\(//\)[^/]' \| \
1401	 X"$file" : 'X\(//\)$' \| \
1402	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1403$as_echo X"$file" |
1404    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1405	    s//\1/
1406	    q
1407	  }
1408	  /^X\(\/\/\)[^/].*/{
1409	    s//\1/
1410	    q
1411	  }
1412	  /^X\(\/\/\)$/{
1413	    s//\1/
1414	    q
1415	  }
1416	  /^X\(\/\).*/{
1417	    s//\1/
1418	    q
1419	  }
1420	  s/.*/./; q'`
1421      { as_dir=$dirpart/$fdir
1422  case $as_dir in #(
1423  -*) as_dir=./$as_dir;;
1424  esac
1425  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1426    as_dirs=
1427    while :; do
1428      case $as_dir in #(
1429      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1430      *) as_qdir=$as_dir;;
1431      esac
1432      as_dirs="'$as_qdir' $as_dirs"
1433      as_dir=`$as_dirname -- "$as_dir" ||
1434$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1435	 X"$as_dir" : 'X\(//\)[^/]' \| \
1436	 X"$as_dir" : 'X\(//\)$' \| \
1437	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1438$as_echo X"$as_dir" |
1439    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1440	    s//\1/
1441	    q
1442	  }
1443	  /^X\(\/\/\)[^/].*/{
1444	    s//\1/
1445	    q
1446	  }
1447	  /^X\(\/\/\)$/{
1448	    s//\1/
1449	    q
1450	  }
1451	  /^X\(\/\).*/{
1452	    s//\1/
1453	    q
1454	  }
1455	  s/.*/./; q'`
1456      test -d "$as_dir" && break
1457    done
1458    test -z "$as_dirs" || eval "mkdir $as_dirs"
1459  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
1460$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
1461   { (exit 1); exit 1; }; }; }
1462      # echo "creating $dirpart/$file"
1463      echo '# dummy' > "$dirpart/$file"
1464    done
1465  done
1466}
1467 ;;
1468    "libtool":C)
1469
1470    # See if we are running on zsh, and set the options which allow our
1471    # commands through without removal of \ escapes.
1472    if test -n "${ZSH_VERSION+set}" ; then
1473      setopt NO_GLOB_SUBST
1474    fi
1475
1476    cfgfile="${ofile}T"
1477    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1478    $RM "$cfgfile"
1479
1480    cat <<_LT_EOF >> "$cfgfile"
1481#! $SHELL
1482
1483# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1484# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1485# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1486# NOTE: Changes made to this file will be lost: look at ltmain.sh.
1487#
1488#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1489#                 2006, 2007, 2008 Free Software Foundation, Inc.
1490#   Written by Gordon Matzigkeit, 1996
1491#
1492#   This file is part of GNU Libtool.
1493#
1494# GNU Libtool is free software; you can redistribute it and/or
1495# modify it under the terms of the GNU General Public License as
1496# published by the Free Software Foundation; either version 2 of
1497# the License, or (at your option) any later version.
1498#
1499# As a special exception to the GNU General Public License,
1500# if you distribute this file as part of a program or library that
1501# is built using GNU Libtool, you may include this file under the
1502# same distribution terms that you use for the rest of that program.
1503#
1504# GNU Libtool is distributed in the hope that it will be useful,
1505# but WITHOUT ANY WARRANTY; without even the implied warranty of
1506# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1507# GNU General Public License for more details.
1508#
1509# You should have received a copy of the GNU General Public License
1510# along with GNU Libtool; see the file COPYING.  If not, a copy
1511# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1512# obtained by writing to the Free Software Foundation, Inc.,
1513# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1514
1515
1516# The names of the tagged configurations supported by this script.
1517available_tags=""
1518
1519# ### BEGIN LIBTOOL CONFIG
1520
1521# Which release of libtool.m4 was used?
1522macro_version=$macro_version
1523macro_revision=$macro_revision
1524
1525# Whether or not to build shared libraries.
1526build_libtool_libs=$enable_shared
1527
1528# Whether or not to build static libraries.
1529build_old_libs=$enable_static
1530
1531# What type of objects to build.
1532pic_mode=$pic_mode
1533
1534# Whether or not to optimize for fast installation.
1535fast_install=$enable_fast_install
1536
1537# The host system.
1538host_alias=$host_alias
1539host=$host
1540host_os=$host_os
1541
1542# The build system.
1543build_alias=$build_alias
1544build=$build
1545build_os=$build_os
1546
1547# A sed program that does not truncate output.
1548SED=$lt_SED
1549
1550# Sed that helps us avoid accidentally triggering echo(1) options like -n.
1551Xsed="\$SED -e 1s/^X//"
1552
1553# A grep program that handles long lines.
1554GREP=$lt_GREP
1555
1556# An ERE matcher.
1557EGREP=$lt_EGREP
1558
1559# A literal string matcher.
1560FGREP=$lt_FGREP
1561
1562# A BSD- or MS-compatible name lister.
1563NM=$lt_NM
1564
1565# Whether we need soft or hard links.
1566LN_S=$lt_LN_S
1567
1568# What is the maximum length of a command?
1569max_cmd_len=$max_cmd_len
1570
1571# Object file suffix (normally "o").
1572objext=$ac_objext
1573
1574# Executable file suffix (normally "").
1575exeext=$exeext
1576
1577# whether the shell understands "unset".
1578lt_unset=$lt_unset
1579
1580# turn spaces into newlines.
1581SP2NL=$lt_lt_SP2NL
1582
1583# turn newlines into spaces.
1584NL2SP=$lt_lt_NL2SP
1585
1586# How to create reloadable object files.
1587reload_flag=$lt_reload_flag
1588reload_cmds=$lt_reload_cmds
1589
1590# An object symbol dumper.
1591OBJDUMP=$lt_OBJDUMP
1592
1593# Method to check whether dependent libraries are shared objects.
1594deplibs_check_method=$lt_deplibs_check_method
1595
1596# Command to use when deplibs_check_method == "file_magic".
1597file_magic_cmd=$lt_file_magic_cmd
1598
1599# The archiver.
1600AR=$lt_AR
1601AR_FLAGS=$lt_AR_FLAGS
1602
1603# A symbol stripping program.
1604STRIP=$lt_STRIP
1605
1606# Commands used to install an old-style archive.
1607RANLIB=$lt_RANLIB
1608old_postinstall_cmds=$lt_old_postinstall_cmds
1609old_postuninstall_cmds=$lt_old_postuninstall_cmds
1610
1611# A C compiler.
1612LTCC=$lt_CC
1613
1614# LTCC compiler flags.
1615LTCFLAGS=$lt_CFLAGS
1616
1617# Take the output of nm and produce a listing of raw symbols and C names.
1618global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1619
1620# Transform the output of nm in a proper C declaration.
1621global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1622
1623# Transform the output of nm in a C name address pair.
1624global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1625
1626# Transform the output of nm in a C name address pair when lib prefix is needed.
1627global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1628
1629# The name of the directory that contains temporary libtool files.
1630objdir=$objdir
1631
1632# Shell to use when invoking shell scripts.
1633SHELL=$lt_SHELL
1634
1635# An echo program that does not interpret backslashes.
1636ECHO=$lt_ECHO
1637
1638# Used to examine libraries when file_magic_cmd begins with "file".
1639MAGIC_CMD=$MAGIC_CMD
1640
1641# Must we lock files when doing compilation?
1642need_locks=$lt_need_locks
1643
1644# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1645DSYMUTIL=$lt_DSYMUTIL
1646
1647# Tool to change global to local symbols on Mac OS X.
1648NMEDIT=$lt_NMEDIT
1649
1650# Tool to manipulate fat objects and archives on Mac OS X.
1651LIPO=$lt_LIPO
1652
1653# ldd/readelf like tool for Mach-O binaries on Mac OS X.
1654OTOOL=$lt_OTOOL
1655
1656# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1657OTOOL64=$lt_OTOOL64
1658
1659# Old archive suffix (normally "a").
1660libext=$libext
1661
1662# Shared library suffix (normally ".so").
1663shrext_cmds=$lt_shrext_cmds
1664
1665# The commands to extract the exported symbol list from a shared archive.
1666extract_expsyms_cmds=$lt_extract_expsyms_cmds
1667
1668# Variables whose values should be saved in libtool wrapper scripts and
1669# restored at link time.
1670variables_saved_for_relink=$lt_variables_saved_for_relink
1671
1672# Do we need the "lib" prefix for modules?
1673need_lib_prefix=$need_lib_prefix
1674
1675# Do we need a version for libraries?
1676need_version=$need_version
1677
1678# Library versioning type.
1679version_type=$version_type
1680
1681# Shared library runtime path variable.
1682runpath_var=$runpath_var
1683
1684# Shared library path variable.
1685shlibpath_var=$shlibpath_var
1686
1687# Is shlibpath searched before the hard-coded library search path?
1688shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1689
1690# Format of library name prefix.
1691libname_spec=$lt_libname_spec
1692
1693# List of archive names.  First name is the real one, the rest are links.
1694# The last name is the one that the linker finds with -lNAME
1695library_names_spec=$lt_library_names_spec
1696
1697# The coded name of the library, if different from the real name.
1698soname_spec=$lt_soname_spec
1699
1700# Command to use after installation of a shared archive.
1701postinstall_cmds=$lt_postinstall_cmds
1702
1703# Command to use after uninstallation of a shared archive.
1704postuninstall_cmds=$lt_postuninstall_cmds
1705
1706# Commands used to finish a libtool library installation in a directory.
1707finish_cmds=$lt_finish_cmds
1708
1709# As "finish_cmds", except a single script fragment to be evaled but
1710# not shown.
1711finish_eval=$lt_finish_eval
1712
1713# Whether we should hardcode library paths into libraries.
1714hardcode_into_libs=$hardcode_into_libs
1715
1716# Compile-time system search path for libraries.
1717sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1718
1719# Run-time system search path for libraries.
1720sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1721
1722# Whether dlopen is supported.
1723dlopen_support=$enable_dlopen
1724
1725# Whether dlopen of programs is supported.
1726dlopen_self=$enable_dlopen_self
1727
1728# Whether dlopen of statically linked programs is supported.
1729dlopen_self_static=$enable_dlopen_self_static
1730
1731# Commands to strip libraries.
1732old_striplib=$lt_old_striplib
1733striplib=$lt_striplib
1734
1735
1736# The linker used to build libraries.
1737LD=$lt_LD
1738
1739# Commands used to build an old-style archive.
1740old_archive_cmds=$lt_old_archive_cmds
1741
1742# A language specific compiler.
1743CC=$lt_compiler
1744
1745# Is the compiler the GNU compiler?
1746with_gcc=$GCC
1747
1748# Compiler flag to turn off builtin functions.
1749no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1750
1751# How to pass a linker flag through the compiler.
1752wl=$lt_lt_prog_compiler_wl
1753
1754# Additional compiler flags for building library objects.
1755pic_flag=$lt_lt_prog_compiler_pic
1756
1757# Compiler flag to prevent dynamic linking.
1758link_static_flag=$lt_lt_prog_compiler_static
1759
1760# Does compiler simultaneously support -c and -o options?
1761compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1762
1763# Whether or not to add -lc for building shared libraries.
1764build_libtool_need_lc=$archive_cmds_need_lc
1765
1766# Whether or not to disallow shared libs when runtime libs are static.
1767allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1768
1769# Compiler flag to allow reflexive dlopens.
1770export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1771
1772# Compiler flag to generate shared objects directly from archives.
1773whole_archive_flag_spec=$lt_whole_archive_flag_spec
1774
1775# Whether the compiler copes with passing no objects directly.
1776compiler_needs_object=$lt_compiler_needs_object
1777
1778# Create an old-style archive from a shared archive.
1779old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1780
1781# Create a temporary old-style archive to link instead of a shared archive.
1782old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1783
1784# Commands used to build a shared archive.
1785archive_cmds=$lt_archive_cmds
1786archive_expsym_cmds=$lt_archive_expsym_cmds
1787
1788# Commands used to build a loadable module if different from building
1789# a shared archive.
1790module_cmds=$lt_module_cmds
1791module_expsym_cmds=$lt_module_expsym_cmds
1792
1793# Whether we are building with GNU ld or not.
1794with_gnu_ld=$lt_with_gnu_ld
1795
1796# Flag that allows shared libraries with undefined symbols to be built.
1797allow_undefined_flag=$lt_allow_undefined_flag
1798
1799# Flag that enforces no undefined symbols.
1800no_undefined_flag=$lt_no_undefined_flag
1801
1802# Flag to hardcode \$libdir into a binary during linking.
1803# This must work even if \$libdir does not exist
1804hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1805
1806# If ld is used when linking, flag to hardcode \$libdir into a binary
1807# during linking.  This must work even if \$libdir does not exist.
1808hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1809
1810# Whether we need a single "-rpath" flag with a separated argument.
1811hardcode_libdir_separator=$lt_hardcode_libdir_separator
1812
1813# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1814# DIR into the resulting binary.
1815hardcode_direct=$hardcode_direct
1816
1817# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1818# DIR into the resulting binary and the resulting library dependency is
1819# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
1820# library is relocated.
1821hardcode_direct_absolute=$hardcode_direct_absolute
1822
1823# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
1824# into the resulting binary.
1825hardcode_minus_L=$hardcode_minus_L
1826
1827# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
1828# into the resulting binary.
1829hardcode_shlibpath_var=$hardcode_shlibpath_var
1830
1831# Set to "yes" if building a shared library automatically hardcodes DIR
1832# into the library and all subsequent libraries and executables linked
1833# against it.
1834hardcode_automatic=$hardcode_automatic
1835
1836# Set to yes if linker adds runtime paths of dependent libraries
1837# to runtime path list.
1838inherit_rpath=$inherit_rpath
1839
1840# Whether libtool must link a program against all its dependency libraries.
1841link_all_deplibs=$link_all_deplibs
1842
1843# Fix the shell variable \$srcfile for the compiler.
1844fix_srcfile_path=$lt_fix_srcfile_path
1845
1846# Set to "yes" if exported symbols are required.
1847always_export_symbols=$always_export_symbols
1848
1849# The commands to list exported symbols.
1850export_symbols_cmds=$lt_export_symbols_cmds
1851
1852# Symbols that should not be listed in the preloaded symbols.
1853exclude_expsyms=$lt_exclude_expsyms
1854
1855# Symbols that must always be exported.
1856include_expsyms=$lt_include_expsyms
1857
1858# Commands necessary for linking programs (against libraries) with templates.
1859prelink_cmds=$lt_prelink_cmds
1860
1861# Specify filename containing input files.
1862file_list_spec=$lt_file_list_spec
1863
1864# How to hardcode a shared library path into an executable.
1865hardcode_action=$hardcode_action
1866
1867# ### END LIBTOOL CONFIG
1868
1869_LT_EOF
1870
1871  case $host_os in
1872  aix3*)
1873    cat <<\_LT_EOF >> "$cfgfile"
1874# AIX sometimes has problems with the GCC collect2 program.  For some
1875# reason, if we set the COLLECT_NAMES environment variable, the problems
1876# vanish in a puff of smoke.
1877if test "X${COLLECT_NAMES+set}" != Xset; then
1878  COLLECT_NAMES=
1879  export COLLECT_NAMES
1880fi
1881_LT_EOF
1882    ;;
1883  esac
1884
1885
1886ltmain="$ac_aux_dir/ltmain.sh"
1887
1888
1889  # We use sed instead of cat because bash on DJGPP gets confused if
1890  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
1891  # text mode, it properly converts lines to CR/LF.  This bash problem
1892  # is reportedly fixed, but why not run on old versions too?
1893  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
1894    || (rm -f "$cfgfile"; exit 1)
1895
1896  case $xsi_shell in
1897  yes)
1898    cat << \_LT_EOF >> "$cfgfile"
1899
1900# func_dirname file append nondir_replacement
1901# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
1902# otherwise set result to NONDIR_REPLACEMENT.
1903func_dirname ()
1904{
1905  case ${1} in
1906    */*) func_dirname_result="${1%/*}${2}" ;;
1907    *  ) func_dirname_result="${3}" ;;
1908  esac
1909}
1910
1911# func_basename file
1912func_basename ()
1913{
1914  func_basename_result="${1##*/}"
1915}
1916
1917# func_dirname_and_basename file append nondir_replacement
1918# perform func_basename and func_dirname in a single function
1919# call:
1920#   dirname:  Compute the dirname of FILE.  If nonempty,
1921#             add APPEND to the result, otherwise set result
1922#             to NONDIR_REPLACEMENT.
1923#             value returned in "$func_dirname_result"
1924#   basename: Compute filename of FILE.
1925#             value retuned in "$func_basename_result"
1926# Implementation must be kept synchronized with func_dirname
1927# and func_basename. For efficiency, we do not delegate to
1928# those functions but instead duplicate the functionality here.
1929func_dirname_and_basename ()
1930{
1931  case ${1} in
1932    */*) func_dirname_result="${1%/*}${2}" ;;
1933    *  ) func_dirname_result="${3}" ;;
1934  esac
1935  func_basename_result="${1##*/}"
1936}
1937
1938# func_stripname prefix suffix name
1939# strip PREFIX and SUFFIX off of NAME.
1940# PREFIX and SUFFIX must not contain globbing or regex special
1941# characters, hashes, percent signs, but SUFFIX may contain a leading
1942# dot (in which case that matches only a dot).
1943func_stripname ()
1944{
1945  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
1946  # positional parameters, so assign one to ordinary parameter first.
1947  func_stripname_result=${3}
1948  func_stripname_result=${func_stripname_result#"${1}"}
1949  func_stripname_result=${func_stripname_result%"${2}"}
1950}
1951
1952# func_opt_split
1953func_opt_split ()
1954{
1955  func_opt_split_opt=${1%%=*}
1956  func_opt_split_arg=${1#*=}
1957}
1958
1959# func_lo2o object
1960func_lo2o ()
1961{
1962  case ${1} in
1963    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
1964    *)    func_lo2o_result=${1} ;;
1965  esac
1966}
1967
1968# func_xform libobj-or-source
1969func_xform ()
1970{
1971  func_xform_result=${1%.*}.lo
1972}
1973
1974# func_arith arithmetic-term...
1975func_arith ()
1976{
1977  func_arith_result=$(( $* ))
1978}
1979
1980# func_len string
1981# STRING may not start with a hyphen.
1982func_len ()
1983{
1984  func_len_result=${#1}
1985}
1986
1987_LT_EOF
1988    ;;
1989  *) # Bourne compatible functions.
1990    cat << \_LT_EOF >> "$cfgfile"
1991
1992# func_dirname file append nondir_replacement
1993# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
1994# otherwise set result to NONDIR_REPLACEMENT.
1995func_dirname ()
1996{
1997  # Extract subdirectory from the argument.
1998  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
1999  if test "X$func_dirname_result" = "X${1}"; then
2000    func_dirname_result="${3}"
2001  else
2002    func_dirname_result="$func_dirname_result${2}"
2003  fi
2004}
2005
2006# func_basename file
2007func_basename ()
2008{
2009  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
2010}
2011
2012
2013# func_stripname prefix suffix name
2014# strip PREFIX and SUFFIX off of NAME.
2015# PREFIX and SUFFIX must not contain globbing or regex special
2016# characters, hashes, percent signs, but SUFFIX may contain a leading
2017# dot (in which case that matches only a dot).
2018# func_strip_suffix prefix name
2019func_stripname ()
2020{
2021  case ${2} in
2022    .*) func_stripname_result=`$ECHO "X${3}" \
2023           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
2024    *)  func_stripname_result=`$ECHO "X${3}" \
2025           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
2026  esac
2027}
2028
2029# sed scripts:
2030my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
2031my_sed_long_arg='1s/^-[^=]*=//'
2032
2033# func_opt_split
2034func_opt_split ()
2035{
2036  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
2037  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
2038}
2039
2040# func_lo2o object
2041func_lo2o ()
2042{
2043  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
2044}
2045
2046# func_xform libobj-or-source
2047func_xform ()
2048{
2049  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
2050}
2051
2052# func_arith arithmetic-term...
2053func_arith ()
2054{
2055  func_arith_result=`expr "$@"`
2056}
2057
2058# func_len string
2059# STRING may not start with a hyphen.
2060func_len ()
2061{
2062  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
2063}
2064
2065_LT_EOF
2066esac
2067
2068case $lt_shell_append in
2069  yes)
2070    cat << \_LT_EOF >> "$cfgfile"
2071
2072# func_append var value
2073# Append VALUE to the end of shell variable VAR.
2074func_append ()
2075{
2076  eval "$1+=\$2"
2077}
2078_LT_EOF
2079    ;;
2080  *)
2081    cat << \_LT_EOF >> "$cfgfile"
2082
2083# func_append var value
2084# Append VALUE to the end of shell variable VAR.
2085func_append ()
2086{
2087  eval "$1=\$$1\$2"
2088}
2089
2090_LT_EOF
2091    ;;
2092  esac
2093
2094
2095  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
2096    || (rm -f "$cfgfile"; exit 1)
2097
2098  mv -f "$cfgfile" "$ofile" ||
2099    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
2100  chmod +x "$ofile"
2101
2102 ;;
2103
2104  esac
2105done # for ac_tag
2106
2107
2108{ (exit 0); exit 0; }
2109