1#! /bin/sh
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
10
11SHELL=${CONFIG_SHELL-/bin/sh}
12export SHELL
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.
92case $0 in #((
93  *[\\/]* ) as_myself=$0 ;;
94  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH
96do
97  IFS=$as_save_IFS
98  test -z "$as_dir" && as_dir=.
99    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100  done
101IFS=$as_save_IFS
102
103     ;;
104esac
105# We did not find ourselves, most probably we were run as `sh COMMAND'
106# in which case we are not to be found in the path.
107if test "x$as_myself" = x; then
108  as_myself=$0
109fi
110if test ! -f "$as_myself"; then
111  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112  exit 1
113fi
114
115# Unset variables that we do not need and which cause bugs (e.g. in
116# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117# suppresses any "Segmentation fault" message there.  '((' could
118# trigger a bug in pdksh 5.2.14.
119for as_var in BASH_ENV ENV MAIL MAILPATH
120do eval test x\${$as_var+set} = xset \
121  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122done
123PS1='$ '
124PS2='> '
125PS4='+ '
126
127# NLS nuisances.
128LC_ALL=C
129export LC_ALL
130LANGUAGE=C
131export LANGUAGE
132
133# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136
137# as_fn_error ERROR [LINENO LOG_FD]
138# ---------------------------------
139# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
140# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
141# script with status $?, using 1 if that was 0.
142as_fn_error ()
143{
144  as_status=$?; test $as_status -eq 0 && as_status=1
145  if test "$3"; then
146    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
147    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
148  fi
149  $as_echo "$as_me: error: $1" >&2
150  as_fn_exit $as_status
151} # as_fn_error
152
153
154# as_fn_set_status STATUS
155# -----------------------
156# Set $? to STATUS, without forking.
157as_fn_set_status ()
158{
159  return $1
160} # as_fn_set_status
161
162# as_fn_exit STATUS
163# -----------------
164# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
165as_fn_exit ()
166{
167  set +e
168  as_fn_set_status $1
169  exit $1
170} # as_fn_exit
171
172# as_fn_unset VAR
173# ---------------
174# Portably unset VAR.
175as_fn_unset ()
176{
177  { eval $1=; unset $1;}
178}
179as_unset=as_fn_unset
180# as_fn_append VAR VALUE
181# ----------------------
182# Append the text in VALUE to the end of the definition contained in VAR. Take
183# advantage of any shell optimizations that allow amortized linear growth over
184# repeated appends, instead of the typical quadratic growth present in naive
185# implementations.
186if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
187  eval 'as_fn_append ()
188  {
189    eval $1+=\$2
190  }'
191else
192  as_fn_append ()
193  {
194    eval $1=\$$1\$2
195  }
196fi # as_fn_append
197
198# as_fn_arith ARG...
199# ------------------
200# Perform arithmetic evaluation on the ARGs, and store the result in the
201# global $as_val. Take advantage of shells that can avoid forks. The arguments
202# must be portable across $(()) and expr.
203if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
204  eval 'as_fn_arith ()
205  {
206    as_val=$(( $* ))
207  }'
208else
209  as_fn_arith ()
210  {
211    as_val=`expr "$@" || test $? -eq 1`
212  }
213fi # as_fn_arith
214
215
216if expr a : '\(a\)' >/dev/null 2>&1 &&
217   test "X`expr 00001 : '.*\(...\)'`" = X001; then
218  as_expr=expr
219else
220  as_expr=false
221fi
222
223if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
224  as_basename=basename
225else
226  as_basename=false
227fi
228
229if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
230  as_dirname=dirname
231else
232  as_dirname=false
233fi
234
235as_me=`$as_basename -- "$0" ||
236$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
237	 X"$0" : 'X\(//\)$' \| \
238	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
239$as_echo X/"$0" |
240    sed '/^.*\/\([^/][^/]*\)\/*$/{
241	    s//\1/
242	    q
243	  }
244	  /^X\/\(\/\/\)$/{
245	    s//\1/
246	    q
247	  }
248	  /^X\/\(\/\).*/{
249	    s//\1/
250	    q
251	  }
252	  s/.*/./; q'`
253
254# Avoid depending upon Character Ranges.
255as_cr_letters='abcdefghijklmnopqrstuvwxyz'
256as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
257as_cr_Letters=$as_cr_letters$as_cr_LETTERS
258as_cr_digits='0123456789'
259as_cr_alnum=$as_cr_Letters$as_cr_digits
260
261ECHO_C= ECHO_N= ECHO_T=
262case `echo -n x` in #(((((
263-n*)
264  case `echo 'xy\c'` in
265  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
266  xy)  ECHO_C='\c';;
267  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
268       ECHO_T='	';;
269  esac;;
270*)
271  ECHO_N='-n';;
272esac
273
274rm -f conf$$ conf$$.exe conf$$.file
275if test -d conf$$.dir; then
276  rm -f conf$$.dir/conf$$.file
277else
278  rm -f conf$$.dir
279  mkdir conf$$.dir 2>/dev/null
280fi
281if (echo >conf$$.file) 2>/dev/null; then
282  if ln -s conf$$.file conf$$ 2>/dev/null; then
283    as_ln_s='ln -s'
284    # ... but there are two gotchas:
285    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
286    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
287    # In both cases, we have to default to `cp -p'.
288    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
289      as_ln_s='cp -p'
290  elif ln conf$$.file conf$$ 2>/dev/null; then
291    as_ln_s=ln
292  else
293    as_ln_s='cp -p'
294  fi
295else
296  as_ln_s='cp -p'
297fi
298rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
299rmdir conf$$.dir 2>/dev/null
300
301
302# as_fn_mkdir_p
303# -------------
304# Create "$as_dir" as a directory, including parents if necessary.
305as_fn_mkdir_p ()
306{
307
308  case $as_dir in #(
309  -*) as_dir=./$as_dir;;
310  esac
311  test -d "$as_dir" || eval $as_mkdir_p || {
312    as_dirs=
313    while :; do
314      case $as_dir in #(
315      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
316      *) as_qdir=$as_dir;;
317      esac
318      as_dirs="'$as_qdir' $as_dirs"
319      as_dir=`$as_dirname -- "$as_dir" ||
320$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
321	 X"$as_dir" : 'X\(//\)[^/]' \| \
322	 X"$as_dir" : 'X\(//\)$' \| \
323	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
324$as_echo X"$as_dir" |
325    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
326	    s//\1/
327	    q
328	  }
329	  /^X\(\/\/\)[^/].*/{
330	    s//\1/
331	    q
332	  }
333	  /^X\(\/\/\)$/{
334	    s//\1/
335	    q
336	  }
337	  /^X\(\/\).*/{
338	    s//\1/
339	    q
340	  }
341	  s/.*/./; q'`
342      test -d "$as_dir" && break
343    done
344    test -z "$as_dirs" || eval "mkdir $as_dirs"
345  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
346
347
348} # as_fn_mkdir_p
349if mkdir -p . 2>/dev/null; then
350  as_mkdir_p='mkdir -p "$as_dir"'
351else
352  test -d ./-p && rmdir ./-p
353  as_mkdir_p=false
354fi
355
356if test -x / >/dev/null 2>&1; then
357  as_test_x='test -x'
358else
359  if ls -dL / >/dev/null 2>&1; then
360    as_ls_L_option=L
361  else
362    as_ls_L_option=
363  fi
364  as_test_x='
365    eval sh -c '\''
366      if test -d "$1"; then
367	test -d "$1/.";
368      else
369	case $1 in #(
370	-*)set "./$1";;
371	esac;
372	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
373	???[sx]*):;;*)false;;esac;fi
374    '\'' sh
375  '
376fi
377as_executable_p=$as_test_x
378
379# Sed expression to map a string onto a valid CPP name.
380as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
381
382# Sed expression to map a string onto a valid variable name.
383as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
384
385
386exec 6>&1
387## ----------------------------------- ##
388## Main body of $CONFIG_STATUS script. ##
389## ----------------------------------- ##
390# Save the log message, to keep $0 and so on meaningful, and to
391# report actual input values of CONFIG_FILES etc. instead of their
392# values after options handling.
393ac_log="
394This file was extended by libgcrypt $as_me 1.5.0, which was
395generated by GNU Autoconf 2.64.  Invocation command line was
396
397  CONFIG_FILES    = $CONFIG_FILES
398  CONFIG_HEADERS  = $CONFIG_HEADERS
399  CONFIG_LINKS    = $CONFIG_LINKS
400  CONFIG_COMMANDS = $CONFIG_COMMANDS
401  $ $0 $@
402
403on `(hostname || uname -n) 2>/dev/null | sed 1q`
404"
405
406# Files that config.status was made for.
407config_files=" Makefile m4/Makefile compat/Makefile mpi/Makefile cipher/Makefile random/Makefile doc/Makefile src/Makefile src/gcrypt.h src/libgcrypt-config src/versioninfo.rc tests/Makefile"
408config_headers=" config.h"
409config_links="  mpi/mpih-add1.c:mpi/generic/mpih-add1.c mpi/mpih-sub1.c:mpi/generic/mpih-sub1.c mpi/mpih-mul1.c:mpi/generic/mpih-mul1.c mpi/mpih-mul2.c:mpi/generic/mpih-mul2.c mpi/mpih-mul3.c:mpi/generic/mpih-mul3.c mpi/mpih-lshift.c:mpi/generic/mpih-lshift.c mpi/mpih-rshift.c:mpi/generic/mpih-rshift.c mpi/mpi-asm-defs.h:mpi/generic/mpi-asm-defs.h"
410config_commands=" depfiles libtool gcrypt-conf"
411
412ac_cs_usage="\
413\`$as_me' instantiates files and other configuration actions
414from templates according to the current configuration.  Unless the files
415and actions are specified as TAGs, all are instantiated by default.
416
417Usage: $0 [OPTION]... [TAG]...
418
419  -h, --help       print this help, then exit
420  -V, --version    print version number and configuration settings, then exit
421  -q, --quiet, --silent
422                   do not print progress messages
423  -d, --debug      don't remove temporary files
424      --recheck    update $as_me by reconfiguring in the same conditions
425      --file=FILE[:TEMPLATE]
426                   instantiate the configuration file FILE
427      --header=FILE[:TEMPLATE]
428                   instantiate the configuration header FILE
429
430Configuration files:
431$config_files
432
433Configuration headers:
434$config_headers
435
436Configuration links:
437$config_links
438
439Configuration commands:
440$config_commands
441
442Report bugs to <bug-libgcrypt@gnupg.org>."
443
444ac_cs_version="\
445libgcrypt config.status 1.5.0
446configured by ./configure, generated by GNU Autoconf 2.64,
447  with options \"'LDFLAGS=-L${PKG_INSTALL_DIR}/usr/lib' 'CXXFLAGS=-I${PKG_INSTALL_DIR}/usr/include' 'CFLAGS=-I${PKG_INSTALL_DIR}/usr/include' '--host=mipsel-uclibc-linux' '--build=mipsel-uclibc-linux-gnu26' '--target=mipsel-uclibc-linux-gnu26' 'CC=mipsel-linux-uclibc-gcc' 'CXX=mipsel-linux-uclibc-g++' 'STRIP=mipsel-linux-linux26-strip' 'AR=mipsel-linux-linux26-ar' 'NM=mipsel-linux-linux26-nm' 'OBJDUMP=mipsel-linux-linux26-objdump' '--disable-nls' '--enable-shared' '--enable-static' '--disable-asm' '--with-gpg-error-prefix=${PKG_INSTALL_DIR}/usr/' '--enable-digests=md5 rmd160 sha1 sha256 sha512' '--enable-ciphers=arcfour' 'des' 'aes' 'cast5' '--enable-pubkey-ciphers=rsa' 'dsa' 'build_alias=mipsel-uclibc-linux-gnu26' 'host_alias=mipsel-uclibc-linux' 'target_alias=mipsel-uclibc-linux-gnu26'\"
448
449Copyright (C) 2009 Free Software Foundation, Inc.
450This config.status script is free software; the Free Software Foundation
451gives unlimited permission to copy, distribute and modify it."
452
453ac_pwd='${TIMEMACHINE_PATH}/libgcrypt-1.5.0'
454srcdir='.'
455INSTALL='/usr/bin/install -c'
456MKDIR_P='/bin/mkdir -p'
457AWK='gawk'
458test -n "$AWK" || AWK=awk
459# The default lists apply if the user does not specify any file.
460ac_need_defaults=:
461while test $# != 0
462do
463  case $1 in
464  --*=*)
465    ac_option=`expr "X$1" : 'X\([^=]*\)='`
466    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
467    ac_shift=:
468    ;;
469  *)
470    ac_option=$1
471    ac_optarg=$2
472    ac_shift=shift
473    ;;
474  esac
475
476  case $ac_option in
477  # Handling of the options.
478  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
479    ac_cs_recheck=: ;;
480  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
481    $as_echo "$ac_cs_version"; exit ;;
482  --debug | --debu | --deb | --de | --d | -d )
483    debug=: ;;
484  --file | --fil | --fi | --f )
485    $ac_shift
486    case $ac_optarg in
487    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
488    esac
489    as_fn_append CONFIG_FILES " '$ac_optarg'"
490    ac_need_defaults=false;;
491  --header | --heade | --head | --hea )
492    $ac_shift
493    case $ac_optarg in
494    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
495    esac
496    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
497    ac_need_defaults=false;;
498  --he | --h)
499    # Conflict between --help and --header
500    as_fn_error "ambiguous option: \`$1'
501Try \`$0 --help' for more information.";;
502  --help | --hel | -h )
503    $as_echo "$ac_cs_usage"; exit ;;
504  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
505  | -silent | --silent | --silen | --sile | --sil | --si | --s)
506    ac_cs_silent=: ;;
507
508  # This is an error.
509  -*) as_fn_error "unrecognized option: \`$1'
510Try \`$0 --help' for more information." ;;
511
512  *) as_fn_append ac_config_targets " $1"
513     ac_need_defaults=false ;;
514
515  esac
516  shift
517done
518
519ac_configure_extra_args=
520
521if $ac_cs_silent; then
522  exec 6>/dev/null
523  ac_configure_extra_args="$ac_configure_extra_args --silent"
524fi
525
526if $ac_cs_recheck; then
527  set X '/bin/sh' './configure'  'LDFLAGS=-L${PKG_INSTALL_DIR}/usr/lib' 'CXXFLAGS=-I${PKG_INSTALL_DIR}/usr/include' 'CFLAGS=-I${PKG_INSTALL_DIR}/usr/include' '--host=mipsel-uclibc-linux' '--build=mipsel-uclibc-linux-gnu26' '--target=mipsel-uclibc-linux-gnu26' 'CC=mipsel-linux-uclibc-gcc' 'CXX=mipsel-linux-uclibc-g++' 'STRIP=mipsel-linux-linux26-strip' 'AR=mipsel-linux-linux26-ar' 'NM=mipsel-linux-linux26-nm' 'OBJDUMP=mipsel-linux-linux26-objdump' '--disable-nls' '--enable-shared' '--enable-static' '--disable-asm' '--with-gpg-error-prefix=${PKG_INSTALL_DIR}/usr/' '--enable-digests=md5 rmd160 sha1 sha256 sha512' '--enable-ciphers=arcfour' 'des' 'aes' 'cast5' '--enable-pubkey-ciphers=rsa' 'dsa' 'build_alias=mipsel-uclibc-linux-gnu26' 'host_alias=mipsel-uclibc-linux' 'target_alias=mipsel-uclibc-linux-gnu26' $ac_configure_extra_args --no-create --no-recursion
528  shift
529  $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
530  CONFIG_SHELL='/bin/sh'
531  export CONFIG_SHELL
532  exec "$@"
533fi
534
535exec 5>>config.log
536{
537  echo
538  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
539## Running $as_me. ##
540_ASBOX
541  $as_echo "$ac_log"
542} >&5
543
544#
545# INIT-COMMANDS
546#
547AMDEP_TRUE="" ac_aux_dir="."
548
549
550# The HP-UX ksh and POSIX shell print the target directory to stdout
551# if CDPATH is set.
552(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
553
554sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
555double_quote_subst='s/\(["`\\]\)/\\\1/g'
556delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
557macro_version='2.2.6b'
558macro_revision='1.3017'
559AS='as'
560DLLTOOL='dlltool'
561OBJDUMP='mipsel-linux-linux26-objdump'
562enable_static='yes'
563enable_shared='yes'
564pic_mode='default'
565enable_fast_install='yes'
566host_alias='mipsel-uclibc-linux'
567host='mipsel-uclibc-linux-gnu'
568host_os='linux-gnu'
569build_alias='mipsel-uclibc-linux-gnu26'
570build='mipsel-uclibc-linux-gnu26'
571build_os='linux-gnu26'
572SED='/bin/sed'
573Xsed='/bin/sed -e 1s/^X//'
574GREP='/bin/grep'
575EGREP='/bin/grep -E'
576FGREP='/bin/grep -F'
577LD='/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld'
578NM='mipsel-linux-linux26-nm'
579LN_S='ln -s'
580max_cmd_len='1966080'
581ac_objext='o'
582exeext=''
583lt_unset='unset'
584lt_SP2NL='tr \040 \012'
585lt_NL2SP='tr \015\012 \040\040'
586reload_flag=' -r'
587reload_cmds='$LD$reload_flag -o $output$reload_objs'
588deplibs_check_method='pass_all'
589file_magic_cmd='$MAGIC_CMD'
590AR='mipsel-linux-linux26-ar'
591AR_FLAGS='cru'
592STRIP='mipsel-linux-linux26-strip'
593RANLIB='ranlib'
594old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
595old_postuninstall_cmds=''
596old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
597CC='mipsel-linux-uclibc-gcc'
598CFLAGS='-I${PKG_INSTALL_DIR}/usr/include -fvisibility=hidden -Wall'
599compiler=''
600GCC='yes'
601lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
602lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
603lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
604lt_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'\'''
605objdir='.libs'
606SHELL='/bin/sh'
607ECHO='echo'
608MAGIC_CMD='file'
609lt_prog_compiler_no_builtin_flag=' -fno-builtin'
610lt_prog_compiler_wl='-Wl,'
611lt_prog_compiler_pic=' -fPIC -DPIC'
612lt_prog_compiler_static='-static'
613lt_cv_prog_compiler_c_o='yes'
614need_locks='no'
615DSYMUTIL=''
616NMEDIT=''
617LIPO=''
618OTOOL=''
619OTOOL64=''
620libext='a'
621shrext_cmds='.so'
622extract_expsyms_cmds=''
623archive_cmds_need_lc='no'
624enable_shared_with_static_runtimes='no'
625export_dynamic_flag_spec='${wl}--export-dynamic'
626whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
627compiler_needs_object='no'
628old_archive_from_new_cmds=''
629old_archive_from_expsyms_cmds=''
630archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
631archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
632	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
633	    echo "local: *; };" >> $output_objdir/$libname.ver~
634	    $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
635module_cmds=''
636module_expsym_cmds=''
637with_gnu_ld='yes'
638allow_undefined_flag=''
639no_undefined_flag=''
640hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
641hardcode_libdir_flag_spec_ld=''
642hardcode_libdir_separator=''
643hardcode_direct='no'
644hardcode_direct_absolute='no'
645hardcode_minus_L='no'
646hardcode_shlibpath_var='unsupported'
647hardcode_automatic='no'
648inherit_rpath='no'
649link_all_deplibs='no'
650fix_srcfile_path=''
651always_export_symbols='no'
652export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
653exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
654include_expsyms=''
655prelink_cmds=''
656file_list_spec=''
657variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
658need_lib_prefix='no'
659need_version='no'
660version_type='linux'
661runpath_var='LD_RUN_PATH'
662shlibpath_var='LD_LIBRARY_PATH'
663shlibpath_overrides_runpath='no'
664libname_spec='lib$name'
665library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
666soname_spec='${libname}${release}${shared_ext}$major'
667postinstall_cmds=''
668postuninstall_cmds=''
669finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
670finish_eval=''
671hardcode_into_libs='yes'
672sys_lib_search_path_spec='/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/lib/gcc/mipsel-linux-uclibc/4.2.3 /projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/mipsel-linux-uclibc/lib'
673sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib/qt-3.3/lib /usr/lib/xulrunner-1.9 '
674hardcode_action='immediate'
675enable_dlopen='unknown'
676enable_dlopen_self='unknown'
677enable_dlopen_self_static='unknown'
678old_striplib='mipsel-linux-linux26-strip --strip-debug'
679striplib='mipsel-linux-linux26-strip --strip-unneeded'
680LD_RC=''
681old_archive_cmds_RC=''
682compiler_RC=''
683GCC_RC=''
684lt_prog_compiler_no_builtin_flag_RC=''
685lt_prog_compiler_wl_RC=''
686lt_prog_compiler_pic_RC=''
687lt_prog_compiler_static_RC=''
688lt_cv_prog_compiler_c_o_RC='yes'
689archive_cmds_need_lc_RC=''
690enable_shared_with_static_runtimes_RC=''
691export_dynamic_flag_spec_RC=''
692whole_archive_flag_spec_RC=''
693compiler_needs_object_RC=''
694old_archive_from_new_cmds_RC=''
695old_archive_from_expsyms_cmds_RC=''
696archive_cmds_RC=''
697archive_expsym_cmds_RC=''
698module_cmds_RC=''
699module_expsym_cmds_RC=''
700with_gnu_ld_RC=''
701allow_undefined_flag_RC=''
702no_undefined_flag_RC=''
703hardcode_libdir_flag_spec_RC=''
704hardcode_libdir_flag_spec_ld_RC=''
705hardcode_libdir_separator_RC=''
706hardcode_direct_RC=''
707hardcode_direct_absolute_RC=''
708hardcode_minus_L_RC=''
709hardcode_shlibpath_var_RC=''
710hardcode_automatic_RC=''
711inherit_rpath_RC=''
712link_all_deplibs_RC=''
713fix_srcfile_path_RC=''
714always_export_symbols_RC=''
715export_symbols_cmds_RC=''
716exclude_expsyms_RC=''
717include_expsyms_RC=''
718prelink_cmds_RC=''
719file_list_spec_RC=''
720hardcode_action_RC=''
721
722LTCC='mipsel-linux-uclibc-gcc'
723LTCFLAGS='-I${PKG_INSTALL_DIR}/usr/include'
724compiler='mipsel-linux-uclibc-gcc'
725
726# Quote evaled strings.
727for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag 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 LD_RC compiler_RC lt_prog_compiler_no_builtin_flag_RC lt_prog_compiler_wl_RC lt_prog_compiler_pic_RC lt_prog_compiler_static_RC lt_cv_prog_compiler_c_o_RC export_dynamic_flag_spec_RC whole_archive_flag_spec_RC compiler_needs_object_RC with_gnu_ld_RC allow_undefined_flag_RC no_undefined_flag_RC hardcode_libdir_flag_spec_RC hardcode_libdir_flag_spec_ld_RC hardcode_libdir_separator_RC fix_srcfile_path_RC exclude_expsyms_RC include_expsyms_RC file_list_spec_RC; do
728    case `eval \\$ECHO "X\\$$var"` in
729    *[\\\`\"\$]*)
730      eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
731      ;;
732    *)
733      eval "lt_$var=\\\"\$$var\\\""
734      ;;
735    esac
736done
737
738# Double-quote double-evaled strings.
739for 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 old_archive_cmds_RC old_archive_from_new_cmds_RC old_archive_from_expsyms_cmds_RC archive_cmds_RC archive_expsym_cmds_RC module_cmds_RC module_expsym_cmds_RC export_symbols_cmds_RC prelink_cmds_RC; do
740    case `eval \\$ECHO "X\\$$var"` in
741    *[\\\`\"\$]*)
742      eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
743      ;;
744    *)
745      eval "lt_$var=\\\"\$$var\\\""
746      ;;
747    esac
748done
749
750# Fix-up fallback echo if it was mangled by the above quoting rules.
751case $lt_ECHO in
752*'\$0 --fallback-echo"')  lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
753  ;;
754esac
755
756ac_aux_dir='.'
757xsi_shell='yes'
758lt_shell_append='yes'
759
760# See if we are running on zsh, and set the options which allow our
761# commands through without removal of \ escapes INIT.
762if test -n "${ZSH_VERSION+set}" ; then
763   setopt NO_GLOB_SUBST
764fi
765
766
767    PACKAGE='libgcrypt'
768    VERSION='1.5.0'
769    TIMESTAMP=''
770    RM='rm -f'
771    ofile='libtool'
772
773
774
775
776
777
778prefix=/usr/local
779exec_prefix=${prefix}
780libdir=${exec_prefix}/lib
781datadir=${datarootdir}
782DATADIRNAME=
783
784
785
786# Handling of arguments.
787for ac_config_target in $ac_config_targets
788do
789  case $ac_config_target in
790    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
791    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
792    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
793    ""$mpi_ln_list"") CONFIG_LINKS="$CONFIG_LINKS "$mpi_ln_list"" ;;
794    "gcrypt-conf") CONFIG_COMMANDS="$CONFIG_COMMANDS gcrypt-conf" ;;
795    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
796    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
797    "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;;
798    "mpi/Makefile") CONFIG_FILES="$CONFIG_FILES mpi/Makefile" ;;
799    "cipher/Makefile") CONFIG_FILES="$CONFIG_FILES cipher/Makefile" ;;
800    "random/Makefile") CONFIG_FILES="$CONFIG_FILES random/Makefile" ;;
801    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
802    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
803    "src/gcrypt.h") CONFIG_FILES="$CONFIG_FILES src/gcrypt.h" ;;
804    "src/libgcrypt-config") CONFIG_FILES="$CONFIG_FILES src/libgcrypt-config" ;;
805    "src/versioninfo.rc") CONFIG_FILES="$CONFIG_FILES src/versioninfo.rc" ;;
806    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
807
808  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
809  esac
810done
811
812
813# If the user did not use the arguments to specify the items to instantiate,
814# then the envvar interface is used.  Set only those that are not.
815# We use the long form for the default assignment because of an extremely
816# bizarre bug on SunOS 4.1.3.
817if $ac_need_defaults; then
818  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
819  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
820  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
821  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
822fi
823
824# Have a temporary directory for convenience.  Make it in the build tree
825# simply because there is no reason against having it here, and in addition,
826# creating and moving files from /tmp can sometimes cause problems.
827# Hook for its removal unless debugging.
828# Note that there is a small window in which the directory will not be cleaned:
829# after its creation but before its name has been assigned to `$tmp'.
830$debug ||
831{
832  tmp=
833  trap 'exit_status=$?
834  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
835' 0
836  trap 'as_fn_exit 1' 1 2 13 15
837}
838# Create a (secure) tmp directory for tmp files.
839
840{
841  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
842  test -n "$tmp" && test -d "$tmp"
843}  ||
844{
845  tmp=./conf$$-$RANDOM
846  (umask 077 && mkdir "$tmp")
847} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
848
849# Set up the scripts for CONFIG_FILES section.
850# No need to generate them if there are no CONFIG_FILES.
851# This happens for instance with `./config.status config.h'.
852if test -n "$CONFIG_FILES"; then
853
854
855ac_cr=`echo X | tr X '\015'`
856# On cygwin, bash can eat \r inside `` if the user requested igncr.
857# But we know of no other shell where ac_cr would be empty at this
858# point, so we can use a bashism as a fallback.
859if test "x$ac_cr" = x; then
860  eval ac_cr=\$\'\\r\'
861fi
862ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
863if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
864  ac_cs_awk_cr='\r'
865else
866  ac_cs_awk_cr=$ac_cr
867fi
868
869echo 'BEGIN {' >"$tmp/subs1.awk" &&
870cat >>"$tmp/subs1.awk" <<\_ACAWK &&
871S["am__EXEEXT_FALSE"]=""
872S["am__EXEEXT_TRUE"]="#"
873S["LTLIBOBJS"]=""
874S["BUILD_FILEVERSION"]=""
875S["BUILD_TIMESTAMP"]=""
876S["BUILD_REVISION"]="41756"
877S["LIBGCRYPT_DIGESTS"]="md5 rmd160 sha1 sha256 sha512"
878S["LIBGCRYPT_PUBKEY_CIPHERS"]="rsa"
879S["LIBGCRYPT_CIPHERS"]="arcfour"
880S["GCRYPT_RANDOM"]=" rndlinux.lo"
881S["GCRYPT_DIGESTS"]=" md5.lo sha256.lo sha512.lo rmd160.lo sha1.lo"
882S["GCRYPT_PUBKEY_CIPHERS"]=" rsa.lo"
883S["GCRYPT_CIPHERS"]=" arcfour.lo"
884S["LIBGCRYPT_THREAD_MODULES"]=""
885S["LIBGCRYPT_CONFIG_HOST"]="mipsel-uclibc-linux-gnu"
886S["LIBGCRYPT_CONFIG_CFLAGS"]=""
887S["LIBGCRYPT_CONFIG_LIBS"]="-lgcrypt"
888S["LIBGCRYPT_CONFIG_API_VERSION"]="1"
889S["NOEXECSTACK_FLAGS"]=""
890S["CROSS_COMPILING_FALSE"]="#"
891S["CROSS_COMPILING_TRUE"]=""
892S["MPI_MOD_C_UDIV_QRNND_FALSE"]=""
893S["MPI_MOD_C_UDIV_QRNND_TRUE"]="#"
894S["MPI_MOD_C_UDIV_FALSE"]=""
895S["MPI_MOD_C_UDIV_TRUE"]="#"
896S["MPI_MOD_C_MPIH_RSHIFT_FALSE"]="#"
897S["MPI_MOD_C_MPIH_RSHIFT_TRUE"]=""
898S["MPI_MOD_C_MPIH_LSHIFT_FALSE"]="#"
899S["MPI_MOD_C_MPIH_LSHIFT_TRUE"]=""
900S["MPI_MOD_C_MPIH_MUL3_FALSE"]="#"
901S["MPI_MOD_C_MPIH_MUL3_TRUE"]=""
902S["MPI_MOD_C_MPIH_MUL2_FALSE"]="#"
903S["MPI_MOD_C_MPIH_MUL2_TRUE"]=""
904S["MPI_MOD_C_MPIH_MUL1_FALSE"]="#"
905S["MPI_MOD_C_MPIH_MUL1_TRUE"]=""
906S["MPI_MOD_C_MPIH_SUB1_FALSE"]="#"
907S["MPI_MOD_C_MPIH_SUB1_TRUE"]=""
908S["MPI_MOD_C_MPIH_ADD1_FALSE"]="#"
909S["MPI_MOD_C_MPIH_ADD1_TRUE"]=""
910S["MPI_MOD_ASM_UDIV_QRNND_FALSE"]=""
911S["MPI_MOD_ASM_UDIV_QRNND_TRUE"]="#"
912S["MPI_MOD_ASM_UDIV_FALSE"]=""
913S["MPI_MOD_ASM_UDIV_TRUE"]="#"
914S["MPI_MOD_ASM_MPIH_RSHIFT_FALSE"]=""
915S["MPI_MOD_ASM_MPIH_RSHIFT_TRUE"]="#"
916S["MPI_MOD_ASM_MPIH_LSHIFT_FALSE"]=""
917S["MPI_MOD_ASM_MPIH_LSHIFT_TRUE"]="#"
918S["MPI_MOD_ASM_MPIH_MUL3_FALSE"]=""
919S["MPI_MOD_ASM_MPIH_MUL3_TRUE"]="#"
920S["MPI_MOD_ASM_MPIH_MUL2_FALSE"]=""
921S["MPI_MOD_ASM_MPIH_MUL2_TRUE"]="#"
922S["MPI_MOD_ASM_MPIH_MUL1_FALSE"]=""
923S["MPI_MOD_ASM_MPIH_MUL1_TRUE"]="#"
924S["MPI_MOD_ASM_MPIH_SUB1_FALSE"]=""
925S["MPI_MOD_ASM_MPIH_SUB1_TRUE"]="#"
926S["MPI_MOD_ASM_MPIH_ADD1_FALSE"]=""
927S["MPI_MOD_ASM_MPIH_ADD1_TRUE"]="#"
928S["MPI_SFLAGS"]=""
929S["DL_LIBS"]=""
930S["LIBOBJS"]=""
931S["FALLBACK_SOCKLEN_T"]="typedef socklen_t gcry_socklen_t;"
932S["SYS_SOCKET_H"]=""
933S["INSERT_SYS_SELECT_H"]=" include <sys/select.h>"
934S["PTH_LIBS"]=""
935S["PTH_CFLAGS"]=""
936S["PTH_CONFIG"]=""
937S["GPG_ERROR_LIBS"]="-L/usr/local/lib -lgpg-error"
938S["GPG_ERROR_CFLAGS"]="-I/usr/local/include"
939S["GPG_ERROR_CONFIG"]="${PKG_INSTALL_DIR}/usr//bin/gpg-error-config"
940S["HAVE_LD_VERSION_SCRIPT_FALSE"]="#"
941S["HAVE_LD_VERSION_SCRIPT_TRUE"]=""
942S["ENABLE_O_FLAG_MUNGING_FALSE"]="#"
943S["ENABLE_O_FLAG_MUNGING_TRUE"]=""
944S["USE_RANDOM_DAEMON_FALSE"]=""
945S["USE_RANDOM_DAEMON_TRUE"]="#"
946S["emacs_local_vars_end"]="End:"
947S["emacs_local_vars_read_only"]="buffer-read-only: t"
948S["emacs_local_vars_begin"]="Local Variables:"
949S["HAVE_W32CE_SYSTEM_FALSE"]=""
950S["HAVE_W32CE_SYSTEM_TRUE"]="#"
951S["HAVE_W32_SYSTEM_FALSE"]=""
952S["HAVE_W32_SYSTEM_TRUE"]="#"
953S["RC"]=""
954S["OTOOL64"]=""
955S["OTOOL"]=""
956S["LIPO"]=""
957S["NMEDIT"]=""
958S["DSYMUTIL"]=""
959S["lt_ECHO"]="echo"
960S["RANLIB"]="ranlib"
961S["AR"]="mipsel-linux-linux26-ar"
962S["LN_S"]="ln -s"
963S["NM"]="mipsel-linux-linux26-nm"
964S["ac_ct_DUMPBIN"]=""
965S["DUMPBIN"]=""
966S["LD"]="/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld"
967S["FGREP"]="/bin/grep -F"
968S["SED"]="/bin/sed"
969S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
970S["OBJDUMP"]="mipsel-linux-linux26-objdump"
971S["DLLTOOL"]="dlltool"
972S["AS"]="as"
973S["EGREP"]="/bin/grep -E"
974S["GREP"]="/bin/grep"
975S["am__fastdepCCAS_FALSE"]="#"
976S["am__fastdepCCAS_TRUE"]=""
977S["CCASDEPMODE"]="depmode=gcc3"
978S["CCASFLAGS"]="-I${PKG_INSTALL_DIR}/usr/include"
979S["CCAS"]="mipsel-linux-uclibc-gcc"
980S["CPP"]="mipsel-linux-uclibc-gcc -E"
981S["am__fastdepCC_FALSE"]="#"
982S["am__fastdepCC_TRUE"]=""
983S["CCDEPMODE"]="depmode=gcc3"
984S["AMDEPBACKSLASH"]="\\"
985S["AMDEP_FALSE"]="#"
986S["AMDEP_TRUE"]=""
987S["am__quote"]=""
988S["am__include"]="include"
989S["DEPDIR"]=".deps"
990S["OBJEXT"]="o"
991S["EXEEXT"]=""
992S["ac_ct_CC"]=""
993S["CPPFLAGS"]=""
994S["LDFLAGS"]="-L${PKG_INSTALL_DIR}/usr/lib"
995S["CFLAGS"]="-I${PKG_INSTALL_DIR}/usr/include -fvisibility=hidden -Wall"
996S["CC"]="mipsel-linux-uclibc-gcc"
997S["LIBGCRYPT_LT_REVISION"]="0"
998S["LIBGCRYPT_LT_AGE"]="7"
999S["LIBGCRYPT_LT_CURRENT"]="18"
1000S["MAINT"]="#"
1001S["MAINTAINER_MODE_FALSE"]=""
1002S["MAINTAINER_MODE_TRUE"]="#"
1003S["host_os"]="linux-gnu"
1004S["host_vendor"]="uclibc"
1005S["host_cpu"]="mipsel"
1006S["host"]="mipsel-uclibc-linux-gnu"
1007S["build_os"]="linux-gnu26"
1008S["build_vendor"]="uclibc"
1009S["build_cpu"]="mipsel"
1010S["build"]="mipsel-uclibc-linux-gnu26"
1011S["am__untar"]="${AMTAR} xf -"
1012S["am__tar"]="${AMTAR} chof - \"$$tardir\""
1013S["AMTAR"]="${SHELL} ${TIMEMACHINE_PATH}/libgcrypt-1.5.0/missing --run tar"
1014S["am__leading_dot"]="."
1015S["SET_MAKE"]=""
1016S["AWK"]="gawk"
1017S["mkdir_p"]="/bin/mkdir -p"
1018S["MKDIR_P"]="/bin/mkdir -p"
1019S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
1020S["STRIP"]="mipsel-linux-linux26-strip"
1021S["install_sh"]="${SHELL} ${TIMEMACHINE_PATH}/libgcrypt-1.5.0/install-sh"
1022S["MAKEINFO"]="${SHELL} ${TIMEMACHINE_PATH}/libgcrypt-1.5.0/missing --run makeinfo"
1023S["AUTOHEADER"]="${SHELL} ${TIMEMACHINE_PATH}/libgcrypt-1.5.0/missing --run autoheader"
1024S["AUTOMAKE"]="${SHELL} ${TIMEMACHINE_PATH}/libgcrypt-1.5.0/missing --run automake-1.11"
1025S["AUTOCONF"]="${SHELL} ${TIMEMACHINE_PATH}/libgcrypt-1.5.0/missing --run autoconf"
1026S["ACLOCAL"]="${SHELL} ${TIMEMACHINE_PATH}/libgcrypt-1.5.0/missing --run aclocal-1.11"
1027S["VERSION"]="1.5.0"
1028S["PACKAGE"]="libgcrypt"
1029S["CYGPATH_W"]="echo"
1030S["am__isrc"]=""
1031S["INSTALL_DATA"]="${INSTALL} -m 644"
1032S["INSTALL_SCRIPT"]="${INSTALL}"
1033S["INSTALL_PROGRAM"]="${INSTALL}"
1034S["target_alias"]="mipsel-uclibc-linux-gnu26"
1035S["host_alias"]="mipsel-uclibc-linux"
1036S["build_alias"]="mipsel-uclibc-linux-gnu26"
1037S["LIBS"]=""
1038S["ECHO_T"]=""
1039S["ECHO_N"]="-n"
1040S["ECHO_C"]=""
1041S["DEFS"]="-DHAVE_CONFIG_H"
1042S["mandir"]="${datarootdir}/man"
1043S["localedir"]="${datarootdir}/locale"
1044S["libdir"]="${exec_prefix}/lib"
1045S["psdir"]="${docdir}"
1046S["pdfdir"]="${docdir}"
1047S["dvidir"]="${docdir}"
1048S["htmldir"]="${docdir}"
1049S["infodir"]="${datarootdir}/info"
1050S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
1051S["oldincludedir"]="/usr/include"
1052S["includedir"]="${prefix}/include"
1053S["localstatedir"]="${prefix}/var"
1054S["sharedstatedir"]="${prefix}/com"
1055S["sysconfdir"]="${prefix}/etc"
1056S["datadir"]="${datarootdir}"
1057S["datarootdir"]="${prefix}/share"
1058S["libexecdir"]="${exec_prefix}/libexec"
1059S["sbindir"]="${exec_prefix}/sbin"
1060S["bindir"]="${exec_prefix}/bin"
1061S["program_transform_name"]="s,x,x,"
1062S["prefix"]="/usr/local"
1063S["exec_prefix"]="${prefix}"
1064S["PACKAGE_URL"]=""
1065S["PACKAGE_BUGREPORT"]="bug-libgcrypt@gnupg.org"
1066S["PACKAGE_STRING"]="libgcrypt 1.5.0"
1067S["PACKAGE_VERSION"]="1.5.0"
1068S["PACKAGE_TARNAME"]="libgcrypt"
1069S["PACKAGE_NAME"]="libgcrypt"
1070S["PATH_SEPARATOR"]=":"
1071S["SHELL"]="/bin/sh"
1072_ACAWK
1073cat >>"$tmp/subs1.awk" <<_ACAWK &&
1074  for (key in S) S_is_set[key] = 1
1075  FS = ""
1076
1077}
1078{
1079  line = $ 0
1080  nfields = split(line, field, "@")
1081  substed = 0
1082  len = length(field[1])
1083  for (i = 2; i < nfields; i++) {
1084    key = field[i]
1085    keylen = length(key)
1086    if (S_is_set[key]) {
1087      value = S[key]
1088      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
1089      len += length(value) + length(field[++i])
1090      substed = 1
1091    } else
1092      len += 1 + keylen
1093  }
1094
1095  print line
1096}
1097
1098_ACAWK
1099if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
1100  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
1101else
1102  cat
1103fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
1104  || as_fn_error "could not setup config files machinery" "$LINENO" 5
1105fi # test -n "$CONFIG_FILES"
1106
1107# Set up the scripts for CONFIG_HEADERS section.
1108# No need to generate them if there are no CONFIG_HEADERS.
1109# This happens for instance with `./config.status Makefile'.
1110if test -n "$CONFIG_HEADERS"; then
1111cat >"$tmp/defines.awk" <<\_ACAWK ||
1112BEGIN {
1113D["PACKAGE_NAME"]=" \"libgcrypt\""
1114D["PACKAGE_TARNAME"]=" \"libgcrypt\""
1115D["PACKAGE_VERSION"]=" \"1.5.0\""
1116D["PACKAGE_STRING"]=" \"libgcrypt 1.5.0\""
1117D["PACKAGE_BUGREPORT"]=" \"bug-libgcrypt@gnupg.org\""
1118D["PACKAGE_URL"]=" \"\""
1119D["PACKAGE"]=" \"libgcrypt\""
1120D["VERSION"]=" \"1.5.0\""
1121D["PACKAGE"]=" \"libgcrypt\""
1122D["VERSION"]=" \"1.5.0\""
1123D["STDC_HEADERS"]=" 1"
1124D["HAVE_SYS_TYPES_H"]=" 1"
1125D["HAVE_SYS_STAT_H"]=" 1"
1126D["HAVE_STDLIB_H"]=" 1"
1127D["HAVE_STRING_H"]=" 1"
1128D["HAVE_MEMORY_H"]=" 1"
1129D["HAVE_STRINGS_H"]=" 1"
1130D["HAVE_INTTYPES_H"]=" 1"
1131D["HAVE_STDINT_H"]=" 1"
1132D["HAVE_UNISTD_H"]=" 1"
1133D["__EXTENSIONS__"]=" 1"
1134D["_ALL_SOURCE"]=" 1"
1135D["_GNU_SOURCE"]=" 1"
1136D["_POSIX_PTHREAD_SEMANTICS"]=" 1"
1137D["_TANDEM_SOURCE"]=" 1"
1138D["HAVE_DLFCN_H"]=" 1"
1139D["LT_OBJDIR"]=" \".libs/\""
1140D["SIZEOF_UNSIGNED_SHORT"]=" 2"
1141D["SIZEOF_UNSIGNED_INT"]=" 4"
1142D["SIZEOF_UNSIGNED_LONG"]=" 4"
1143D["SIZEOF_UNSIGNED_LONG_LONG"]=" 8"
1144D["HAVE_UINTPTR_T"]=" 1"
1145D["EGD_SOCKET_NAME"]=" \"\""
1146D["ENABLE_PADLOCK_SUPPORT"]=" 1"
1147D["ENABLE_AESNI_SUPPORT"]=" 1"
1148D["PRINTABLE_OS_NAME"]=" \"GNU/Linux\""
1149D["NAME_OF_DEV_RANDOM"]=" \"/dev/random\""
1150D["NAME_OF_DEV_URANDOM"]=" \"/dev/urandom\""
1151D["GPG_ERR_SOURCE_DEFAULT"]=" GPG_ERR_SOURCE_GCRYPT"
1152D["STDC_HEADERS"]=" 1"
1153D["HAVE_UNISTD_H"]=" 1"
1154D["HAVE_SYS_SELECT_H"]=" 1"
1155D["HAVE_SYS_MSG_H"]=" 1"
1156D["RETSIGTYPE"]=" void"
1157D["HAVE_DECL_SYS_SIGLIST"]=" 0"
1158D["HAVE_USHORT_TYPEDEF"]=" 1"
1159D["HAVE_ULONG_TYPEDEF"]=" 1"
1160D["HAVE_SYS_SOCKET_H"]=" 1"
1161D["GCRY_USE_VISIBILITY"]=" 1"
1162D["HAVE_VPRINTF"]=" 1"
1163D["HAVE_STPCPY"]=" 1"
1164D["HAVE_STRCASECMP"]=" 1"
1165D["HAVE_STRTOUL"]=" 1"
1166D["HAVE_MEMMOVE"]=" 1"
1167D["HAVE_ATEXIT"]=" 1"
1168D["HAVE_RAISE"]=" 1"
1169D["HAVE_STRERROR"]=" 1"
1170D["HAVE_RAND"]=" 1"
1171D["HAVE_MMAP"]=" 1"
1172D["HAVE_GETPAGESIZE"]=" 1"
1173D["HAVE_SYSCONF"]=" 1"
1174D["HAVE_WAITPID"]=" 1"
1175D["HAVE_WAIT4"]=" 1"
1176D["HAVE_GETTIMEOFDAY"]=" 1"
1177D["HAVE_GETRUSAGE"]=" 1"
1178D["HAVE_CLOCK_GETTIME"]=" 1"
1179D["HAVE_SYSLOG"]=" 1"
1180D["HAVE_FCNTL"]=" 1"
1181D["HAVE_FTRUNCATE"]=" 1"
1182D["HAVE_MLOCK"]=" 1"
1183D["HAVE_SYSCONF"]=" 1"
1184D["HAVE_GETPAGESIZE"]=" 1"
1185D["HAVE_GETPID"]=" 1"
1186D["HAVE_CLOCK"]=" 1"
1187D["HAVE_DEV_RANDOM"]=" 1"
1188D["WITH_SYMBOL_UNDERSCORE"]=" 1"
1189D["USE_ARCFOUR"]=" 1"
1190D["USE_RSA"]=" 1"
1191D["USE_MD5"]=" 1"
1192D["USE_SHA256"]=" 1"
1193D["USE_SHA512"]=" 1"
1194D["USE_RMD160"]=" 1"
1195D["USE_SHA1"]=" 1"
1196D["USE_RNDLINUX"]=" 1"
1197D["LIBGCRYPT_CIPHERS"]=" \"arcfour\""
1198D["LIBGCRYPT_PUBKEY_CIPHERS"]=" \"rsa\""
1199D["LIBGCRYPT_DIGESTS"]=" \"md5:rmd160:sha1:sha256:sha512\""
1200D["BUILD_REVISION"]=" \"41756\""
1201  for (key in D) D_is_set[key] = 1
1202  FS = ""
1203}
1204/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
1205  line = $ 0
1206  split(line, arg, " ")
1207  if (arg[1] == "#") {
1208    defundef = arg[2]
1209    mac1 = arg[3]
1210  } else {
1211    defundef = substr(arg[1], 2)
1212    mac1 = arg[2]
1213  }
1214  split(mac1, mac2, "(") #)
1215  macro = mac2[1]
1216  prefix = substr(line, 1, index(line, defundef) - 1)
1217  if (D_is_set[macro]) {
1218    # Preserve the white space surrounding the "#".
1219    print prefix "define", macro P[macro] D[macro]
1220    next
1221  } else {
1222    # Replace #undef with comments.  This is necessary, for example,
1223    # in the case of _POSIX_SOURCE, which is predefined and required
1224    # on some systems where configure will not decide to define it.
1225    if (defundef == "undef") {
1226      print "/*", prefix defundef, macro, "*/"
1227      next
1228    }
1229  }
1230}
1231{ print }
1232_ACAWK
1233  as_fn_error "could not setup config headers machinery" "$LINENO" 5
1234fi # test -n "$CONFIG_HEADERS"
1235
1236
1237eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS"
1238shift
1239for ac_tag
1240do
1241  case $ac_tag in
1242  :[FHLC]) ac_mode=$ac_tag; continue;;
1243  esac
1244  case $ac_mode$ac_tag in
1245  :[FHL]*:*);;
1246  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
1247  :[FH]-) ac_tag=-:-;;
1248  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1249  esac
1250  ac_save_IFS=$IFS
1251  IFS=:
1252  set x $ac_tag
1253  IFS=$ac_save_IFS
1254  shift
1255  ac_file=$1
1256  shift
1257
1258  case $ac_mode in
1259  :L) ac_source=$1;;
1260  :[FH])
1261    ac_file_inputs=
1262    for ac_f
1263    do
1264      case $ac_f in
1265      -) ac_f="$tmp/stdin";;
1266      *) # Look for the file first in the build tree, then in the source tree
1267	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
1268	 # because $ac_f cannot contain `:'.
1269	 test -f "$ac_f" ||
1270	   case $ac_f in
1271	   [\\/$]*) false;;
1272	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1273	   esac ||
1274	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1275      esac
1276      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1277      as_fn_append ac_file_inputs " '$ac_f'"
1278    done
1279
1280    # Let's still pretend it is `configure' which instantiates (i.e., don't
1281    # use $as_me), people would be surprised to read:
1282    #    /* config.h.  Generated by config.status.  */
1283    configure_input='Generated from '`
1284	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1285	`' by configure.'
1286    if test x"$ac_file" != x-; then
1287      configure_input="$ac_file.  $configure_input"
1288      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1289$as_echo "$as_me: creating $ac_file" >&6;}
1290    fi
1291    # Neutralize special characters interpreted by sed in replacement strings.
1292    case $configure_input in #(
1293    *\&* | *\|* | *\\* )
1294       ac_sed_conf_input=`$as_echo "$configure_input" |
1295       sed 's/[\\\\&|]/\\\\&/g'`;; #(
1296    *) ac_sed_conf_input=$configure_input;;
1297    esac
1298
1299    case $ac_tag in
1300    *:-:* | *:-) cat >"$tmp/stdin" \
1301      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
1302    esac
1303    ;;
1304  esac
1305
1306  ac_dir=`$as_dirname -- "$ac_file" ||
1307$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1308	 X"$ac_file" : 'X\(//\)[^/]' \| \
1309	 X"$ac_file" : 'X\(//\)$' \| \
1310	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1311$as_echo X"$ac_file" |
1312    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1313	    s//\1/
1314	    q
1315	  }
1316	  /^X\(\/\/\)[^/].*/{
1317	    s//\1/
1318	    q
1319	  }
1320	  /^X\(\/\/\)$/{
1321	    s//\1/
1322	    q
1323	  }
1324	  /^X\(\/\).*/{
1325	    s//\1/
1326	    q
1327	  }
1328	  s/.*/./; q'`
1329  as_dir="$ac_dir"; as_fn_mkdir_p
1330  ac_builddir=.
1331
1332case "$ac_dir" in
1333.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334*)
1335  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1336  # A ".." for each directory in $ac_dir_suffix.
1337  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1338  case $ac_top_builddir_sub in
1339  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1341  esac ;;
1342esac
1343ac_abs_top_builddir=$ac_pwd
1344ac_abs_builddir=$ac_pwd$ac_dir_suffix
1345# for backward compatibility:
1346ac_top_builddir=$ac_top_build_prefix
1347
1348case $srcdir in
1349  .)  # We are building in place.
1350    ac_srcdir=.
1351    ac_top_srcdir=$ac_top_builddir_sub
1352    ac_abs_top_srcdir=$ac_pwd ;;
1353  [\\/]* | ?:[\\/]* )  # Absolute name.
1354    ac_srcdir=$srcdir$ac_dir_suffix;
1355    ac_top_srcdir=$srcdir
1356    ac_abs_top_srcdir=$srcdir ;;
1357  *) # Relative name.
1358    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1359    ac_top_srcdir=$ac_top_build_prefix$srcdir
1360    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1361esac
1362ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1363
1364
1365  case $ac_mode in
1366  :F)
1367  #
1368  # CONFIG_FILE
1369  #
1370
1371  case $INSTALL in
1372  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1373  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1374  esac
1375  ac_MKDIR_P=$MKDIR_P
1376  case $MKDIR_P in
1377  [\\/$]* | ?:[\\/]* ) ;;
1378  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1379  esac
1380# If the template does not know about datarootdir, expand it.
1381# FIXME: This hack should be removed a few years after 2.60.
1382ac_datarootdir_hack=; ac_datarootdir_seen=
1383ac_sed_dataroot='
1384/datarootdir/ {
1385  p
1386  q
1387}
1388/@datadir@/p
1389/@docdir@/p
1390/@infodir@/p
1391/@localedir@/p
1392/@mandir@/p'
1393case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1394*datarootdir*) ac_datarootdir_seen=yes;;
1395*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1396  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1397$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1398  ac_datarootdir_hack='
1399  s&@datadir@&${datarootdir}&g
1400  s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
1401  s&@infodir@&${datarootdir}/info&g
1402  s&@localedir@&${datarootdir}/locale&g
1403  s&@mandir@&${datarootdir}/man&g
1404  s&\${datarootdir}&${prefix}/share&g' ;;
1405esac
1406ac_sed_extra="/^[	 ]*VPATH[	 ]*=/{
1407s/:*\$(srcdir):*/:/
1408s/:*\${srcdir}:*/:/
1409s/:*@srcdir@:*/:/
1410s/^\([^=]*=[	 ]*\):*/\1/
1411s/:*$//
1412s/^[^=]*=[	 ]*$//
1413}
1414
1415:t
1416/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1417s|@configure_input@|$ac_sed_conf_input|;t t
1418s&@top_builddir@&$ac_top_builddir_sub&;t t
1419s&@top_build_prefix@&$ac_top_build_prefix&;t t
1420s&@srcdir@&$ac_srcdir&;t t
1421s&@abs_srcdir@&$ac_abs_srcdir&;t t
1422s&@top_srcdir@&$ac_top_srcdir&;t t
1423s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1424s&@builddir@&$ac_builddir&;t t
1425s&@abs_builddir@&$ac_abs_builddir&;t t
1426s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1427s&@INSTALL@&$ac_INSTALL&;t t
1428s&@MKDIR_P@&$ac_MKDIR_P&;t t
1429$ac_datarootdir_hack
1430"
1431eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
1432  || as_fn_error "could not create $ac_file" "$LINENO" 5
1433
1434test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1435  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1436  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1437  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1438which seems to be undefined.  Please make sure it is defined." >&5
1439$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1440which seems to be undefined.  Please make sure it is defined." >&2;}
1441
1442  rm -f "$tmp/stdin"
1443  case $ac_file in
1444  -) cat "$tmp/out" && rm -f "$tmp/out";;
1445  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1446  esac \
1447  || as_fn_error "could not create $ac_file" "$LINENO" 5
1448 ;;
1449  :H)
1450  #
1451  # CONFIG_HEADER
1452  #
1453  if test x"$ac_file" != x-; then
1454    {
1455      $as_echo "/* $configure_input  */" \
1456      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
1457    } >"$tmp/config.h" \
1458      || as_fn_error "could not create $ac_file" "$LINENO" 5
1459    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
1460      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1461$as_echo "$as_me: $ac_file is unchanged" >&6;}
1462    else
1463      rm -f "$ac_file"
1464      mv "$tmp/config.h" "$ac_file" \
1465	|| as_fn_error "could not create $ac_file" "$LINENO" 5
1466    fi
1467  else
1468    $as_echo "/* $configure_input  */" \
1469      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
1470      || as_fn_error "could not create -" "$LINENO" 5
1471  fi
1472# Compute "$ac_file"'s index in $config_headers.
1473_am_arg="$ac_file"
1474_am_stamp_count=1
1475for _am_header in $config_headers :; do
1476  case $_am_header in
1477    $_am_arg | $_am_arg:* )
1478      break ;;
1479    * )
1480      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1481  esac
1482done
1483echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
1484$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1485	 X"$_am_arg" : 'X\(//\)[^/]' \| \
1486	 X"$_am_arg" : 'X\(//\)$' \| \
1487	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1488$as_echo X"$_am_arg" |
1489    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1490	    s//\1/
1491	    q
1492	  }
1493	  /^X\(\/\/\)[^/].*/{
1494	    s//\1/
1495	    q
1496	  }
1497	  /^X\(\/\/\)$/{
1498	    s//\1/
1499	    q
1500	  }
1501	  /^X\(\/\).*/{
1502	    s//\1/
1503	    q
1504	  }
1505	  s/.*/./; q'`/stamp-h$_am_stamp_count
1506 ;;
1507  :L)
1508  #
1509  # CONFIG_LINK
1510  #
1511
1512  if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
1513    :
1514  else
1515    # Prefer the file from the source tree if names are identical.
1516    if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
1517      ac_source=$srcdir/$ac_source
1518    fi
1519
1520    { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
1521$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
1522
1523    if test ! -r "$ac_source"; then
1524      as_fn_error "$ac_source: file not found" "$LINENO" 5
1525    fi
1526    rm -f "$ac_file"
1527
1528    # Try a relative symlink, then a hard link, then a copy.
1529    case $srcdir in
1530    [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
1531	*) ac_rel_source=$ac_top_build_prefix$ac_source ;;
1532    esac
1533    ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
1534      ln "$ac_source" "$ac_file" 2>/dev/null ||
1535      cp -p "$ac_source" "$ac_file" ||
1536      as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
1537  fi
1538 ;;
1539  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1540$as_echo "$as_me: executing $ac_file commands" >&6;}
1541 ;;
1542  esac
1543
1544
1545  case $ac_file$ac_mode in
1546    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1547  # Autoconf 2.62 quotes --file arguments for eval, but not when files
1548  # are listed without --file.  Let's play safe and only enable the eval
1549  # if we detect the quoting.
1550  case $CONFIG_FILES in
1551  *\'*) eval set x "$CONFIG_FILES" ;;
1552  *)   set x $CONFIG_FILES ;;
1553  esac
1554  shift
1555  for mf
1556  do
1557    # Strip MF so we end up with the name of the file.
1558    mf=`echo "$mf" | sed -e 's/:.*$//'`
1559    # Check whether this is an Automake generated Makefile or not.
1560    # We used to match only the files named `Makefile.in', but
1561    # some people rename them; so instead we look at the file content.
1562    # Grep'ing the first line is not enough: some people post-process
1563    # each Makefile.in and add a new line on top of each file to say so.
1564    # Grep'ing the whole file is not good either: AIX grep has a line
1565    # limit of 2048, but all sed's we know have understand at least 4000.
1566    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1567      dirpart=`$as_dirname -- "$mf" ||
1568$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1569	 X"$mf" : 'X\(//\)[^/]' \| \
1570	 X"$mf" : 'X\(//\)$' \| \
1571	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1572$as_echo X"$mf" |
1573    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1574	    s//\1/
1575	    q
1576	  }
1577	  /^X\(\/\/\)[^/].*/{
1578	    s//\1/
1579	    q
1580	  }
1581	  /^X\(\/\/\)$/{
1582	    s//\1/
1583	    q
1584	  }
1585	  /^X\(\/\).*/{
1586	    s//\1/
1587	    q
1588	  }
1589	  s/.*/./; q'`
1590    else
1591      continue
1592    fi
1593    # Extract the definition of DEPDIR, am__include, and am__quote
1594    # from the Makefile without running `make'.
1595    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1596    test -z "$DEPDIR" && continue
1597    am__include=`sed -n 's/^am__include = //p' < "$mf"`
1598    test -z "am__include" && continue
1599    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1600    # When using ansi2knr, U may be empty or an underscore; expand it
1601    U=`sed -n 's/^U = //p' < "$mf"`
1602    # Find all dependency output files, they are included files with
1603    # $(DEPDIR) in their names.  We invoke sed twice because it is the
1604    # simplest approach to changing $(DEPDIR) to its actual value in the
1605    # expansion.
1606    for file in `sed -n "
1607      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1608	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1609      # Make sure the directory exists.
1610      test -f "$dirpart/$file" && continue
1611      fdir=`$as_dirname -- "$file" ||
1612$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1613	 X"$file" : 'X\(//\)[^/]' \| \
1614	 X"$file" : 'X\(//\)$' \| \
1615	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1616$as_echo X"$file" |
1617    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1618	    s//\1/
1619	    q
1620	  }
1621	  /^X\(\/\/\)[^/].*/{
1622	    s//\1/
1623	    q
1624	  }
1625	  /^X\(\/\/\)$/{
1626	    s//\1/
1627	    q
1628	  }
1629	  /^X\(\/\).*/{
1630	    s//\1/
1631	    q
1632	  }
1633	  s/.*/./; q'`
1634      as_dir=$dirpart/$fdir; as_fn_mkdir_p
1635      # echo "creating $dirpart/$file"
1636      echo '# dummy' > "$dirpart/$file"
1637    done
1638  done
1639}
1640 ;;
1641    "libtool":C)
1642
1643    # See if we are running on zsh, and set the options which allow our
1644    # commands through without removal of \ escapes.
1645    if test -n "${ZSH_VERSION+set}" ; then
1646      setopt NO_GLOB_SUBST
1647    fi
1648
1649    cfgfile="${ofile}T"
1650    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1651    $RM "$cfgfile"
1652
1653    cat <<_LT_EOF >> "$cfgfile"
1654#! $SHELL
1655
1656# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1657# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1658# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1659# NOTE: Changes made to this file will be lost: look at ltmain.sh.
1660#
1661#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1662#                 2006, 2007, 2008 Free Software Foundation, Inc.
1663#   Written by Gordon Matzigkeit, 1996
1664#
1665#   This file is part of GNU Libtool.
1666#
1667# GNU Libtool is free software; you can redistribute it and/or
1668# modify it under the terms of the GNU General Public License as
1669# published by the Free Software Foundation; either version 2 of
1670# the License, or (at your option) any later version.
1671#
1672# As a special exception to the GNU General Public License,
1673# if you distribute this file as part of a program or library that
1674# is built using GNU Libtool, you may include this file under the
1675# same distribution terms that you use for the rest of that program.
1676#
1677# GNU Libtool is distributed in the hope that it will be useful,
1678# but WITHOUT ANY WARRANTY; without even the implied warranty of
1679# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1680# GNU General Public License for more details.
1681#
1682# You should have received a copy of the GNU General Public License
1683# along with GNU Libtool; see the file COPYING.  If not, a copy
1684# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1685# obtained by writing to the Free Software Foundation, Inc.,
1686# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1687
1688
1689# The names of the tagged configurations supported by this script.
1690available_tags="RC "
1691
1692# ### BEGIN LIBTOOL CONFIG
1693
1694# Which release of libtool.m4 was used?
1695macro_version=$macro_version
1696macro_revision=$macro_revision
1697
1698# Assembler program.
1699AS=$AS
1700
1701# DLL creation program.
1702DLLTOOL=$DLLTOOL
1703
1704# Object dumper program.
1705OBJDUMP=$OBJDUMP
1706
1707# Whether or not to build static libraries.
1708build_old_libs=$enable_static
1709
1710# Whether or not to build shared libraries.
1711build_libtool_libs=$enable_shared
1712
1713# What type of objects to build.
1714pic_mode=$pic_mode
1715
1716# Whether or not to optimize for fast installation.
1717fast_install=$enable_fast_install
1718
1719# The host system.
1720host_alias=$host_alias
1721host=$host
1722host_os=$host_os
1723
1724# The build system.
1725build_alias=$build_alias
1726build=$build
1727build_os=$build_os
1728
1729# A sed program that does not truncate output.
1730SED=$lt_SED
1731
1732# Sed that helps us avoid accidentally triggering echo(1) options like -n.
1733Xsed="\$SED -e 1s/^X//"
1734
1735# A grep program that handles long lines.
1736GREP=$lt_GREP
1737
1738# An ERE matcher.
1739EGREP=$lt_EGREP
1740
1741# A literal string matcher.
1742FGREP=$lt_FGREP
1743
1744# A BSD- or MS-compatible name lister.
1745NM=$lt_NM
1746
1747# Whether we need soft or hard links.
1748LN_S=$lt_LN_S
1749
1750# What is the maximum length of a command?
1751max_cmd_len=$max_cmd_len
1752
1753# Object file suffix (normally "o").
1754objext=$ac_objext
1755
1756# Executable file suffix (normally "").
1757exeext=$exeext
1758
1759# whether the shell understands "unset".
1760lt_unset=$lt_unset
1761
1762# turn spaces into newlines.
1763SP2NL=$lt_lt_SP2NL
1764
1765# turn newlines into spaces.
1766NL2SP=$lt_lt_NL2SP
1767
1768# How to create reloadable object files.
1769reload_flag=$lt_reload_flag
1770reload_cmds=$lt_reload_cmds
1771
1772# Method to check whether dependent libraries are shared objects.
1773deplibs_check_method=$lt_deplibs_check_method
1774
1775# Command to use when deplibs_check_method == "file_magic".
1776file_magic_cmd=$lt_file_magic_cmd
1777
1778# The archiver.
1779AR=$lt_AR
1780AR_FLAGS=$lt_AR_FLAGS
1781
1782# A symbol stripping program.
1783STRIP=$lt_STRIP
1784
1785# Commands used to install an old-style archive.
1786RANLIB=$lt_RANLIB
1787old_postinstall_cmds=$lt_old_postinstall_cmds
1788old_postuninstall_cmds=$lt_old_postuninstall_cmds
1789
1790# A C compiler.
1791LTCC=$lt_CC
1792
1793# LTCC compiler flags.
1794LTCFLAGS=$lt_CFLAGS
1795
1796# Take the output of nm and produce a listing of raw symbols and C names.
1797global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1798
1799# Transform the output of nm in a proper C declaration.
1800global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1801
1802# Transform the output of nm in a C name address pair.
1803global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1804
1805# Transform the output of nm in a C name address pair when lib prefix is needed.
1806global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1807
1808# The name of the directory that contains temporary libtool files.
1809objdir=$objdir
1810
1811# Shell to use when invoking shell scripts.
1812SHELL=$lt_SHELL
1813
1814# An echo program that does not interpret backslashes.
1815ECHO=$lt_ECHO
1816
1817# Used to examine libraries when file_magic_cmd begins with "file".
1818MAGIC_CMD=$MAGIC_CMD
1819
1820# Must we lock files when doing compilation?
1821need_locks=$lt_need_locks
1822
1823# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1824DSYMUTIL=$lt_DSYMUTIL
1825
1826# Tool to change global to local symbols on Mac OS X.
1827NMEDIT=$lt_NMEDIT
1828
1829# Tool to manipulate fat objects and archives on Mac OS X.
1830LIPO=$lt_LIPO
1831
1832# ldd/readelf like tool for Mach-O binaries on Mac OS X.
1833OTOOL=$lt_OTOOL
1834
1835# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1836OTOOL64=$lt_OTOOL64
1837
1838# Old archive suffix (normally "a").
1839libext=$libext
1840
1841# Shared library suffix (normally ".so").
1842shrext_cmds=$lt_shrext_cmds
1843
1844# The commands to extract the exported symbol list from a shared archive.
1845extract_expsyms_cmds=$lt_extract_expsyms_cmds
1846
1847# Variables whose values should be saved in libtool wrapper scripts and
1848# restored at link time.
1849variables_saved_for_relink=$lt_variables_saved_for_relink
1850
1851# Do we need the "lib" prefix for modules?
1852need_lib_prefix=$need_lib_prefix
1853
1854# Do we need a version for libraries?
1855need_version=$need_version
1856
1857# Library versioning type.
1858version_type=$version_type
1859
1860# Shared library runtime path variable.
1861runpath_var=$runpath_var
1862
1863# Shared library path variable.
1864shlibpath_var=$shlibpath_var
1865
1866# Is shlibpath searched before the hard-coded library search path?
1867shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1868
1869# Format of library name prefix.
1870libname_spec=$lt_libname_spec
1871
1872# List of archive names.  First name is the real one, the rest are links.
1873# The last name is the one that the linker finds with -lNAME
1874library_names_spec=$lt_library_names_spec
1875
1876# The coded name of the library, if different from the real name.
1877soname_spec=$lt_soname_spec
1878
1879# Command to use after installation of a shared archive.
1880postinstall_cmds=$lt_postinstall_cmds
1881
1882# Command to use after uninstallation of a shared archive.
1883postuninstall_cmds=$lt_postuninstall_cmds
1884
1885# Commands used to finish a libtool library installation in a directory.
1886finish_cmds=$lt_finish_cmds
1887
1888# As "finish_cmds", except a single script fragment to be evaled but
1889# not shown.
1890finish_eval=$lt_finish_eval
1891
1892# Whether we should hardcode library paths into libraries.
1893hardcode_into_libs=$hardcode_into_libs
1894
1895# Compile-time system search path for libraries.
1896sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1897
1898# Run-time system search path for libraries.
1899sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1900
1901# Whether dlopen is supported.
1902dlopen_support=$enable_dlopen
1903
1904# Whether dlopen of programs is supported.
1905dlopen_self=$enable_dlopen_self
1906
1907# Whether dlopen of statically linked programs is supported.
1908dlopen_self_static=$enable_dlopen_self_static
1909
1910# Commands to strip libraries.
1911old_striplib=$lt_old_striplib
1912striplib=$lt_striplib
1913
1914
1915# The linker used to build libraries.
1916LD=$lt_LD
1917
1918# Commands used to build an old-style archive.
1919old_archive_cmds=$lt_old_archive_cmds
1920
1921# A language specific compiler.
1922CC=$lt_compiler
1923
1924# Is the compiler the GNU compiler?
1925with_gcc=$GCC
1926
1927# Compiler flag to turn off builtin functions.
1928no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1929
1930# How to pass a linker flag through the compiler.
1931wl=$lt_lt_prog_compiler_wl
1932
1933# Additional compiler flags for building library objects.
1934pic_flag=$lt_lt_prog_compiler_pic
1935
1936# Compiler flag to prevent dynamic linking.
1937link_static_flag=$lt_lt_prog_compiler_static
1938
1939# Does compiler simultaneously support -c and -o options?
1940compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1941
1942# Whether or not to add -lc for building shared libraries.
1943build_libtool_need_lc=$archive_cmds_need_lc
1944
1945# Whether or not to disallow shared libs when runtime libs are static.
1946allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1947
1948# Compiler flag to allow reflexive dlopens.
1949export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1950
1951# Compiler flag to generate shared objects directly from archives.
1952whole_archive_flag_spec=$lt_whole_archive_flag_spec
1953
1954# Whether the compiler copes with passing no objects directly.
1955compiler_needs_object=$lt_compiler_needs_object
1956
1957# Create an old-style archive from a shared archive.
1958old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1959
1960# Create a temporary old-style archive to link instead of a shared archive.
1961old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1962
1963# Commands used to build a shared archive.
1964archive_cmds=$lt_archive_cmds
1965archive_expsym_cmds=$lt_archive_expsym_cmds
1966
1967# Commands used to build a loadable module if different from building
1968# a shared archive.
1969module_cmds=$lt_module_cmds
1970module_expsym_cmds=$lt_module_expsym_cmds
1971
1972# Whether we are building with GNU ld or not.
1973with_gnu_ld=$lt_with_gnu_ld
1974
1975# Flag that allows shared libraries with undefined symbols to be built.
1976allow_undefined_flag=$lt_allow_undefined_flag
1977
1978# Flag that enforces no undefined symbols.
1979no_undefined_flag=$lt_no_undefined_flag
1980
1981# Flag to hardcode \$libdir into a binary during linking.
1982# This must work even if \$libdir does not exist
1983hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1984
1985# If ld is used when linking, flag to hardcode \$libdir into a binary
1986# during linking.  This must work even if \$libdir does not exist.
1987hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1988
1989# Whether we need a single "-rpath" flag with a separated argument.
1990hardcode_libdir_separator=$lt_hardcode_libdir_separator
1991
1992# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1993# DIR into the resulting binary.
1994hardcode_direct=$hardcode_direct
1995
1996# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1997# DIR into the resulting binary and the resulting library dependency is
1998# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
1999# library is relocated.
2000hardcode_direct_absolute=$hardcode_direct_absolute
2001
2002# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
2003# into the resulting binary.
2004hardcode_minus_L=$hardcode_minus_L
2005
2006# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
2007# into the resulting binary.
2008hardcode_shlibpath_var=$hardcode_shlibpath_var
2009
2010# Set to "yes" if building a shared library automatically hardcodes DIR
2011# into the library and all subsequent libraries and executables linked
2012# against it.
2013hardcode_automatic=$hardcode_automatic
2014
2015# Set to yes if linker adds runtime paths of dependent libraries
2016# to runtime path list.
2017inherit_rpath=$inherit_rpath
2018
2019# Whether libtool must link a program against all its dependency libraries.
2020link_all_deplibs=$link_all_deplibs
2021
2022# Fix the shell variable \$srcfile for the compiler.
2023fix_srcfile_path=$lt_fix_srcfile_path
2024
2025# Set to "yes" if exported symbols are required.
2026always_export_symbols=$always_export_symbols
2027
2028# The commands to list exported symbols.
2029export_symbols_cmds=$lt_export_symbols_cmds
2030
2031# Symbols that should not be listed in the preloaded symbols.
2032exclude_expsyms=$lt_exclude_expsyms
2033
2034# Symbols that must always be exported.
2035include_expsyms=$lt_include_expsyms
2036
2037# Commands necessary for linking programs (against libraries) with templates.
2038prelink_cmds=$lt_prelink_cmds
2039
2040# Specify filename containing input files.
2041file_list_spec=$lt_file_list_spec
2042
2043# How to hardcode a shared library path into an executable.
2044hardcode_action=$hardcode_action
2045
2046# ### END LIBTOOL CONFIG
2047
2048_LT_EOF
2049
2050  case $host_os in
2051  aix3*)
2052    cat <<\_LT_EOF >> "$cfgfile"
2053# AIX sometimes has problems with the GCC collect2 program.  For some
2054# reason, if we set the COLLECT_NAMES environment variable, the problems
2055# vanish in a puff of smoke.
2056if test "X${COLLECT_NAMES+set}" != Xset; then
2057  COLLECT_NAMES=
2058  export COLLECT_NAMES
2059fi
2060_LT_EOF
2061    ;;
2062  esac
2063
2064
2065ltmain="$ac_aux_dir/ltmain.sh"
2066
2067
2068  # We use sed instead of cat because bash on DJGPP gets confused if
2069  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
2070  # text mode, it properly converts lines to CR/LF.  This bash problem
2071  # is reportedly fixed, but why not run on old versions too?
2072  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
2073    || (rm -f "$cfgfile"; exit 1)
2074
2075  case $xsi_shell in
2076  yes)
2077    cat << \_LT_EOF >> "$cfgfile"
2078
2079# func_dirname file append nondir_replacement
2080# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
2081# otherwise set result to NONDIR_REPLACEMENT.
2082func_dirname ()
2083{
2084  case ${1} in
2085    */*) func_dirname_result="${1%/*}${2}" ;;
2086    *  ) func_dirname_result="${3}" ;;
2087  esac
2088}
2089
2090# func_basename file
2091func_basename ()
2092{
2093  func_basename_result="${1##*/}"
2094}
2095
2096# func_dirname_and_basename file append nondir_replacement
2097# perform func_basename and func_dirname in a single function
2098# call:
2099#   dirname:  Compute the dirname of FILE.  If nonempty,
2100#             add APPEND to the result, otherwise set result
2101#             to NONDIR_REPLACEMENT.
2102#             value returned in "$func_dirname_result"
2103#   basename: Compute filename of FILE.
2104#             value retuned in "$func_basename_result"
2105# Implementation must be kept synchronized with func_dirname
2106# and func_basename. For efficiency, we do not delegate to
2107# those functions but instead duplicate the functionality here.
2108func_dirname_and_basename ()
2109{
2110  case ${1} in
2111    */*) func_dirname_result="${1%/*}${2}" ;;
2112    *  ) func_dirname_result="${3}" ;;
2113  esac
2114  func_basename_result="${1##*/}"
2115}
2116
2117# func_stripname prefix suffix name
2118# strip PREFIX and SUFFIX off of NAME.
2119# PREFIX and SUFFIX must not contain globbing or regex special
2120# characters, hashes, percent signs, but SUFFIX may contain a leading
2121# dot (in which case that matches only a dot).
2122func_stripname ()
2123{
2124  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
2125  # positional parameters, so assign one to ordinary parameter first.
2126  func_stripname_result=${3}
2127  func_stripname_result=${func_stripname_result#"${1}"}
2128  func_stripname_result=${func_stripname_result%"${2}"}
2129}
2130
2131# func_opt_split
2132func_opt_split ()
2133{
2134  func_opt_split_opt=${1%%=*}
2135  func_opt_split_arg=${1#*=}
2136}
2137
2138# func_lo2o object
2139func_lo2o ()
2140{
2141  case ${1} in
2142    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
2143    *)    func_lo2o_result=${1} ;;
2144  esac
2145}
2146
2147# func_xform libobj-or-source
2148func_xform ()
2149{
2150  func_xform_result=${1%.*}.lo
2151}
2152
2153# func_arith arithmetic-term...
2154func_arith ()
2155{
2156  func_arith_result=$(( $* ))
2157}
2158
2159# func_len string
2160# STRING may not start with a hyphen.
2161func_len ()
2162{
2163  func_len_result=${#1}
2164}
2165
2166_LT_EOF
2167    ;;
2168  *) # Bourne compatible functions.
2169    cat << \_LT_EOF >> "$cfgfile"
2170
2171# func_dirname file append nondir_replacement
2172# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
2173# otherwise set result to NONDIR_REPLACEMENT.
2174func_dirname ()
2175{
2176  # Extract subdirectory from the argument.
2177  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
2178  if test "X$func_dirname_result" = "X${1}"; then
2179    func_dirname_result="${3}"
2180  else
2181    func_dirname_result="$func_dirname_result${2}"
2182  fi
2183}
2184
2185# func_basename file
2186func_basename ()
2187{
2188  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
2189}
2190
2191
2192# func_stripname prefix suffix name
2193# strip PREFIX and SUFFIX off of NAME.
2194# PREFIX and SUFFIX must not contain globbing or regex special
2195# characters, hashes, percent signs, but SUFFIX may contain a leading
2196# dot (in which case that matches only a dot).
2197# func_strip_suffix prefix name
2198func_stripname ()
2199{
2200  case ${2} in
2201    .*) func_stripname_result=`$ECHO "X${3}" \
2202           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
2203    *)  func_stripname_result=`$ECHO "X${3}" \
2204           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
2205  esac
2206}
2207
2208# sed scripts:
2209my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
2210my_sed_long_arg='1s/^-[^=]*=//'
2211
2212# func_opt_split
2213func_opt_split ()
2214{
2215  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
2216  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
2217}
2218
2219# func_lo2o object
2220func_lo2o ()
2221{
2222  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
2223}
2224
2225# func_xform libobj-or-source
2226func_xform ()
2227{
2228  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
2229}
2230
2231# func_arith arithmetic-term...
2232func_arith ()
2233{
2234  func_arith_result=`expr "$@"`
2235}
2236
2237# func_len string
2238# STRING may not start with a hyphen.
2239func_len ()
2240{
2241  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
2242}
2243
2244_LT_EOF
2245esac
2246
2247case $lt_shell_append in
2248  yes)
2249    cat << \_LT_EOF >> "$cfgfile"
2250
2251# func_append var value
2252# Append VALUE to the end of shell variable VAR.
2253func_append ()
2254{
2255  eval "$1+=\$2"
2256}
2257_LT_EOF
2258    ;;
2259  *)
2260    cat << \_LT_EOF >> "$cfgfile"
2261
2262# func_append var value
2263# Append VALUE to the end of shell variable VAR.
2264func_append ()
2265{
2266  eval "$1=\$$1\$2"
2267}
2268
2269_LT_EOF
2270    ;;
2271  esac
2272
2273
2274  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
2275    || (rm -f "$cfgfile"; exit 1)
2276
2277  mv -f "$cfgfile" "$ofile" ||
2278    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
2279  chmod +x "$ofile"
2280
2281
2282    cat <<_LT_EOF >> "$ofile"
2283
2284# ### BEGIN LIBTOOL TAG CONFIG: RC
2285
2286# The linker used to build libraries.
2287LD=$lt_LD_RC
2288
2289# Commands used to build an old-style archive.
2290old_archive_cmds=$lt_old_archive_cmds_RC
2291
2292# A language specific compiler.
2293CC=$lt_compiler_RC
2294
2295# Is the compiler the GNU compiler?
2296with_gcc=$GCC_RC
2297
2298# Compiler flag to turn off builtin functions.
2299no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
2300
2301# How to pass a linker flag through the compiler.
2302wl=$lt_lt_prog_compiler_wl_RC
2303
2304# Additional compiler flags for building library objects.
2305pic_flag=$lt_lt_prog_compiler_pic_RC
2306
2307# Compiler flag to prevent dynamic linking.
2308link_static_flag=$lt_lt_prog_compiler_static_RC
2309
2310# Does compiler simultaneously support -c and -o options?
2311compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
2312
2313# Whether or not to add -lc for building shared libraries.
2314build_libtool_need_lc=$archive_cmds_need_lc_RC
2315
2316# Whether or not to disallow shared libs when runtime libs are static.
2317allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
2318
2319# Compiler flag to allow reflexive dlopens.
2320export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
2321
2322# Compiler flag to generate shared objects directly from archives.
2323whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
2324
2325# Whether the compiler copes with passing no objects directly.
2326compiler_needs_object=$lt_compiler_needs_object_RC
2327
2328# Create an old-style archive from a shared archive.
2329old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
2330
2331# Create a temporary old-style archive to link instead of a shared archive.
2332old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
2333
2334# Commands used to build a shared archive.
2335archive_cmds=$lt_archive_cmds_RC
2336archive_expsym_cmds=$lt_archive_expsym_cmds_RC
2337
2338# Commands used to build a loadable module if different from building
2339# a shared archive.
2340module_cmds=$lt_module_cmds_RC
2341module_expsym_cmds=$lt_module_expsym_cmds_RC
2342
2343# Whether we are building with GNU ld or not.
2344with_gnu_ld=$lt_with_gnu_ld_RC
2345
2346# Flag that allows shared libraries with undefined symbols to be built.
2347allow_undefined_flag=$lt_allow_undefined_flag_RC
2348
2349# Flag that enforces no undefined symbols.
2350no_undefined_flag=$lt_no_undefined_flag_RC
2351
2352# Flag to hardcode \$libdir into a binary during linking.
2353# This must work even if \$libdir does not exist
2354hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
2355
2356# If ld is used when linking, flag to hardcode \$libdir into a binary
2357# during linking.  This must work even if \$libdir does not exist.
2358hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
2359
2360# Whether we need a single "-rpath" flag with a separated argument.
2361hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
2362
2363# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
2364# DIR into the resulting binary.
2365hardcode_direct=$hardcode_direct_RC
2366
2367# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
2368# DIR into the resulting binary and the resulting library dependency is
2369# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
2370# library is relocated.
2371hardcode_direct_absolute=$hardcode_direct_absolute_RC
2372
2373# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
2374# into the resulting binary.
2375hardcode_minus_L=$hardcode_minus_L_RC
2376
2377# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
2378# into the resulting binary.
2379hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
2380
2381# Set to "yes" if building a shared library automatically hardcodes DIR
2382# into the library and all subsequent libraries and executables linked
2383# against it.
2384hardcode_automatic=$hardcode_automatic_RC
2385
2386# Set to yes if linker adds runtime paths of dependent libraries
2387# to runtime path list.
2388inherit_rpath=$inherit_rpath_RC
2389
2390# Whether libtool must link a program against all its dependency libraries.
2391link_all_deplibs=$link_all_deplibs_RC
2392
2393# Fix the shell variable \$srcfile for the compiler.
2394fix_srcfile_path=$lt_fix_srcfile_path_RC
2395
2396# Set to "yes" if exported symbols are required.
2397always_export_symbols=$always_export_symbols_RC
2398
2399# The commands to list exported symbols.
2400export_symbols_cmds=$lt_export_symbols_cmds_RC
2401
2402# Symbols that should not be listed in the preloaded symbols.
2403exclude_expsyms=$lt_exclude_expsyms_RC
2404
2405# Symbols that must always be exported.
2406include_expsyms=$lt_include_expsyms_RC
2407
2408# Commands necessary for linking programs (against libraries) with templates.
2409prelink_cmds=$lt_prelink_cmds_RC
2410
2411# Specify filename containing input files.
2412file_list_spec=$lt_file_list_spec_RC
2413
2414# How to hardcode a shared library path into an executable.
2415hardcode_action=$hardcode_action_RC
2416
2417# ### END LIBTOOL TAG CONFIG: RC
2418_LT_EOF
2419
2420 ;;
2421    "gcrypt-conf":C)
2422chmod +x src/libgcrypt-config
2423 ;;
2424
2425  esac
2426done # for ac_tag
2427
2428
2429as_fn_exit 0
2430