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
10SHELL=${CONFIG_SHELL-/bin/sh}
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be Bourne compatible
16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17  emulate sh
18  NULLCMD=:
19  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20  # is contrary to our usage.  Disable this feature.
21  alias -g '${1+"$@"}'='"$@"'
22elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23  set -o posix
24fi
25DUALCASE=1; export DUALCASE # for MKS sh
26
27# Support unset when possible.
28if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29  as_unset=unset
30else
31  as_unset=false
32fi
33
34
35# Work around bugs in pre-3.0 UWIN ksh.
36$as_unset ENV MAIL MAILPATH
37PS1='$ '
38PS2='> '
39PS4='+ '
40
41# NLS nuisances.
42for as_var in \
43  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45  LC_TELEPHONE LC_TIME
46do
47  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48    eval $as_var=C; export $as_var
49  else
50    $as_unset $as_var
51  fi
52done
53
54# Required to use basename.
55if expr a : '\(a\)' >/dev/null 2>&1; then
56  as_expr=expr
57else
58  as_expr=false
59fi
60
61if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62  as_basename=basename
63else
64  as_basename=false
65fi
66
67
68# Name of the executable.
69as_me=`$as_basename "$0" ||
70$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71	 X"$0" : 'X\(//\)$' \| \
72	 X"$0" : 'X\(/\)$' \| \
73	 .     : '\(.\)' 2>/dev/null ||
74echo X/"$0" |
75    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
77  	  /^X\/\(\/\).*/{ s//\1/; q; }
78  	  s/.*/./; q'`
79
80
81# PATH needs CR, and LINENO needs CR and PATH.
82# Avoid depending upon Character Ranges.
83as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86as_cr_digits='0123456789'
87as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89# The user is always right.
90if test "${PATH_SEPARATOR+set}" != set; then
91  echo "#! /bin/sh" >conf$$.sh
92  echo  "exit 0"   >>conf$$.sh
93  chmod +x conf$$.sh
94  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95    PATH_SEPARATOR=';'
96  else
97    PATH_SEPARATOR=:
98  fi
99  rm -f conf$$.sh
100fi
101
102
103  as_lineno_1=$LINENO
104  as_lineno_2=$LINENO
105  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106  test "x$as_lineno_1" != "x$as_lineno_2" &&
107  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
108  # Find who we are.  Look in the path if we contain no path at all
109  # relative or not.
110  case $0 in
111    *[\\/]* ) as_myself=$0 ;;
112    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113for as_dir in $PATH
114do
115  IFS=$as_save_IFS
116  test -z "$as_dir" && as_dir=.
117  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118done
119
120       ;;
121  esac
122  # We did not find ourselves, most probably we were run as `sh COMMAND'
123  # in which case we are not to be found in the path.
124  if test "x$as_myself" = x; then
125    as_myself=$0
126  fi
127  if test ! -f "$as_myself"; then
128    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
129echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
130   { (exit 1); exit 1; }; }
131  fi
132  case $CONFIG_SHELL in
133  '')
134    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
135for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136do
137  IFS=$as_save_IFS
138  test -z "$as_dir" && as_dir=.
139  for as_base in sh bash ksh sh5; do
140	 case $as_dir in
141	 /*)
142	   if ("$as_dir/$as_base" -c '
143  as_lineno_1=$LINENO
144  as_lineno_2=$LINENO
145  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
146  test "x$as_lineno_1" != "x$as_lineno_2" &&
147  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
148	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
149	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
150	     CONFIG_SHELL=$as_dir/$as_base
151	     export CONFIG_SHELL
152	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153	   fi;;
154	 esac
155       done
156done
157;;
158  esac
159
160  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
161  # uniformly replaced by the line number.  The first 'sed' inserts a
162  # line-number line before each line; the second 'sed' does the real
163  # work.  The second script uses 'N' to pair each line-number line
164  # with the numbered line, and appends trailing '-' during
165  # substitution so that $LINENO is not a special case at line end.
166  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
167  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
168  sed '=' <$as_myself |
169    sed '
170      N
171      s,$,-,
172      : loop
173      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174      t loop
175      s,-$,,
176      s,^['$as_cr_digits']*\n,,
177    ' >$as_me.lineno &&
178  chmod +x $as_me.lineno ||
179    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
180echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
181   { (exit 1); exit 1; }; }
182
183  # Don't try to exec as it changes $[0], causing all sort of problems
184  # (the dirname of $[0] is not the place where we might find the
185  # original and so on.  Autoconf is especially sensible to this).
186  . ./$as_me.lineno
187  # Exit status is that of the last command.
188  exit
189}
190
191
192case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
193  *c*,-n*) ECHO_N= ECHO_C='
194' ECHO_T='	' ;;
195  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
196  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
197esac
198
199if expr a : '\(a\)' >/dev/null 2>&1; then
200  as_expr=expr
201else
202  as_expr=false
203fi
204
205rm -f conf$$ conf$$.exe conf$$.file
206echo >conf$$.file
207if ln -s conf$$.file conf$$ 2>/dev/null; then
208  # We could just check for DJGPP; but this test a) works b) is more generic
209  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
210  if test -f conf$$.exe; then
211    # Don't use ln at all; we don't have any links
212    as_ln_s='cp -p'
213  else
214    as_ln_s='ln -s'
215  fi
216elif ln conf$$.file conf$$ 2>/dev/null; then
217  as_ln_s=ln
218else
219  as_ln_s='cp -p'
220fi
221rm -f conf$$ conf$$.exe conf$$.file
222
223if mkdir -p . 2>/dev/null; then
224  as_mkdir_p=:
225else
226  test -d ./-p && rmdir ./-p
227  as_mkdir_p=false
228fi
229
230as_executable_p="test -f"
231
232# Sed expression to map a string onto a valid CPP name.
233as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
234
235# Sed expression to map a string onto a valid variable name.
236as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237
238
239# IFS
240# We need space, tab and new line, in precisely that order.
241as_nl='
242'
243IFS=" 	$as_nl"
244
245# CDPATH.
246$as_unset CDPATH
247
248exec 6>&1
249
250# Open the log real soon, to keep \$[0] and so on meaningful, and to
251# report actual input values of CONFIG_FILES etc. instead of their
252# values after options handling.  Logging --version etc. is OK.
253exec 5>>config.log
254{
255  echo
256  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
257## Running $as_me. ##
258_ASBOX
259} >&5
260cat >&5 <<_CSEOF
261
262This file was extended by $as_me, which was
263generated by GNU Autoconf 2.59.  Invocation command line was
264
265  CONFIG_FILES    = $CONFIG_FILES
266  CONFIG_HEADERS  = $CONFIG_HEADERS
267  CONFIG_LINKS    = $CONFIG_LINKS
268  CONFIG_COMMANDS = $CONFIG_COMMANDS
269  $ $0 $@
270
271_CSEOF
272echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
273echo >&5
274config_files=" Makefile libmcrypt.spec lib/Makefile doc/Makefile src/Makefile include/mutils/mcrypt.h include/Makefile modules/Makefile modules/modes/Makefile modules/algorithms/Makefile lib/libmcrypt-config"
275config_headers=" config.h"
276config_commands=" depfiles default-1"
277
278ac_cs_usage="\
279\`$as_me' instantiates files from templates according to the
280current configuration.
281
282Usage: $0 [OPTIONS] [FILE]...
283
284  -h, --help       print this help, then exit
285  -V, --version    print version number, then exit
286  -q, --quiet      do not print progress messages
287  -d, --debug      don't remove temporary files
288      --recheck    update $as_me by reconfiguring in the same conditions
289  --file=FILE[:TEMPLATE]
290		   instantiate the configuration file FILE
291  --header=FILE[:TEMPLATE]
292		   instantiate the configuration header FILE
293
294Configuration files:
295$config_files
296
297Configuration headers:
298$config_headers
299
300Configuration commands:
301$config_commands
302
303Report bugs to <bug-autoconf@gnu.org>."
304ac_cs_version="\
305config.status
306configured by ./configure, generated by GNU Autoconf 2.59,
307  with options \"'--prefix=/usr' '--enable-static' '--enable-shared'\"
308
309Copyright (C) 2003 Free Software Foundation, Inc.
310This config.status script is free software; the Free Software Foundation
311gives unlimited permission to copy, distribute and modify it."
312srcdir=.
313INSTALL="/usr/bin/install -c"
314# If no file are specified by the user, then we need to provide default
315# value.  By we need to know if files were specified by the user.
316ac_need_defaults=:
317while test $# != 0
318do
319  case $1 in
320  --*=*)
321    ac_option=`expr "x$1" : 'x\([^=]*\)='`
322    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
323    ac_shift=:
324    ;;
325  -*)
326    ac_option=$1
327    ac_optarg=$2
328    ac_shift=shift
329    ;;
330  *) # This is not an option, so the user has probably given explicit
331     # arguments.
332     ac_option=$1
333     ac_need_defaults=false;;
334  esac
335
336  case $ac_option in
337  # Handling of the options.
338  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
339    ac_cs_recheck=: ;;
340  --version | --vers* | -V )
341    echo "$ac_cs_version"; exit 0 ;;
342  --he | --h)
343    # Conflict between --help and --header
344    { { echo "$as_me:$LINENO: error: ambiguous option: $1
345Try \`$0 --help' for more information." >&5
346echo "$as_me: error: ambiguous option: $1
347Try \`$0 --help' for more information." >&2;}
348   { (exit 1); exit 1; }; };;
349  --help | --hel | -h )
350    echo "$ac_cs_usage"; exit 0 ;;
351  --debug | --d* | -d )
352    debug=: ;;
353  --file | --fil | --fi | --f )
354    $ac_shift
355    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
356    ac_need_defaults=false;;
357  --header | --heade | --head | --hea )
358    $ac_shift
359    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
360    ac_need_defaults=false;;
361  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
362  | -silent | --silent | --silen | --sile | --sil | --si | --s)
363    ac_cs_silent=: ;;
364
365  # This is an error.
366  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
367Try \`$0 --help' for more information." >&5
368echo "$as_me: error: unrecognized option: $1
369Try \`$0 --help' for more information." >&2;}
370   { (exit 1); exit 1; }; } ;;
371
372  *) ac_config_targets="$ac_config_targets $1" ;;
373
374  esac
375  shift
376done
377
378ac_configure_extra_args=
379
380if $ac_cs_silent; then
381  exec 6>/dev/null
382  ac_configure_extra_args="$ac_configure_extra_args --silent"
383fi
384
385if $ac_cs_recheck; then
386  echo "running /bin/sh ./configure " '--prefix=/usr' '--enable-static' '--enable-shared' $ac_configure_extra_args " --no-create --no-recursion" >&6
387  exec /bin/sh ./configure '--prefix=/usr' '--enable-static' '--enable-shared' $ac_configure_extra_args --no-create --no-recursion
388fi
389
390#
391# INIT-COMMANDS section.
392#
393
394AMDEP_TRUE="" ac_aux_dir="."
395
396
397for ac_config_target in $ac_config_targets
398do
399  case "$ac_config_target" in
400  # Handling of arguments.
401  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
402  "libmcrypt.spec" ) CONFIG_FILES="$CONFIG_FILES libmcrypt.spec" ;;
403  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
404  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
405  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
406  "include/mutils/mcrypt.h" ) CONFIG_FILES="$CONFIG_FILES include/mutils/mcrypt.h" ;;
407  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
408  "modules/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
409  "modules/modes/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/modes/Makefile" ;;
410  "modules/algorithms/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/algorithms/Makefile" ;;
411  "lib/libmcrypt-config" ) CONFIG_FILES="$CONFIG_FILES lib/libmcrypt-config" ;;
412  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
413  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
414  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
415  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
416echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
417   { (exit 1); exit 1; }; };;
418  esac
419done
420
421# If the user did not use the arguments to specify the items to instantiate,
422# then the envvar interface is used.  Set only those that are not.
423# We use the long form for the default assignment because of an extremely
424# bizarre bug on SunOS 4.1.3.
425if $ac_need_defaults; then
426  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
427  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
428  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
429fi
430
431# Have a temporary directory for convenience.  Make it in the build tree
432# simply because there is no reason to put it here, and in addition,
433# creating and moving files from /tmp can sometimes cause problems.
434# Create a temporary directory, and hook for its removal unless debugging.
435$debug ||
436{
437  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
438  trap '{ (exit 1); exit 1; }' 1 2 13 15
439}
440
441# Create a (secure) tmp directory for tmp files.
442
443{
444  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
445  test -n "$tmp" && test -d "$tmp"
446}  ||
447{
448  tmp=./confstat$$-$RANDOM
449  (umask 077 && mkdir $tmp)
450} ||
451{
452   echo "$me: cannot create a temporary directory in ." >&2
453   { (exit 1); exit 1; }
454}
455
456
457#
458# CONFIG_FILES section.
459#
460
461# No need to generate the scripts if there are no CONFIG_FILES.
462# This happens for instance when ./config.status config.h
463if test -n "$CONFIG_FILES"; then
464  # Protect against being on the right side of a sed subst in config.status.
465  sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
466   s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
467s,@SHELL@,/bin/sh,;t t
468s,@PATH_SEPARATOR@,:,;t t
469s,@PACKAGE_NAME@,,;t t
470s,@PACKAGE_TARNAME@,,;t t
471s,@PACKAGE_VERSION@,,;t t
472s,@PACKAGE_STRING@,,;t t
473s,@PACKAGE_BUGREPORT@,,;t t
474s,@exec_prefix@,${prefix},;t t
475s,@prefix@,/usr,;t t
476s,@program_transform_name@,s,x,x,,;t t
477s,@bindir@,${exec_prefix}/bin,;t t
478s,@sbindir@,${exec_prefix}/sbin,;t t
479s,@libexecdir@,${exec_prefix}/libexec,;t t
480s,@datadir@,${prefix}/share,;t t
481s,@sysconfdir@,${prefix}/etc,;t t
482s,@sharedstatedir@,${prefix}/com,;t t
483s,@localstatedir@,${prefix}/var,;t t
484s,@libdir@,${exec_prefix}/lib,;t t
485s,@includedir@,${prefix}/include,;t t
486s,@oldincludedir@,/usr/include,;t t
487s,@infodir@,${prefix}/info,;t t
488s,@mandir@,${prefix}/man,;t t
489s,@build_alias@,,;t t
490s,@host_alias@,,;t t
491s,@target_alias@,,;t t
492s,@DEFS@,-DHAVE_CONFIG_H,;t t
493s,@ECHO_C@,,;t t
494s,@ECHO_N@,-n,;t t
495s,@ECHO_T@,,;t t
496s,@LIBS@,,;t t
497s,@build@,i686-redhat-linux-gnu,;t t
498s,@build_cpu@,i686,;t t
499s,@build_vendor@,redhat,;t t
500s,@build_os@,linux-gnu,;t t
501s,@host@,i686-redhat-linux-gnu,;t t
502s,@host_cpu@,i686,;t t
503s,@host_vendor@,redhat,;t t
504s,@host_os@,linux-gnu,;t t
505s,@target@,i686-redhat-linux-gnu,;t t
506s,@target_cpu@,i686,;t t
507s,@target_vendor@,redhat,;t t
508s,@target_os@,linux-gnu,;t t
509s,@INSTALL_PROGRAM@,${INSTALL},;t t
510s,@INSTALL_SCRIPT@,${INSTALL},;t t
511s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
512s,@CYGPATH_W@,echo,;t t
513s,@PACKAGE@,libmcrypt,;t t
514s,@VERSION@,2.5.8,;t t
515s,@ACLOCAL@,${SHELL} /usr/src/redhat/SOURCES/x/libmcrypt-2.5.7/missing --run aclocal-1.9,;t t
516s,@AUTOCONF@,${SHELL} /usr/src/redhat/SOURCES/x/libmcrypt-2.5.7/missing --run autoconf,;t t
517s,@AUTOMAKE@,${SHELL} /usr/src/redhat/SOURCES/x/libmcrypt-2.5.7/missing --run automake-1.9,;t t
518s,@AUTOHEADER@,${SHELL} /usr/src/redhat/SOURCES/x/libmcrypt-2.5.7/missing --run autoheader,;t t
519s,@MAKEINFO@,${SHELL} /usr/src/redhat/SOURCES/x/libmcrypt-2.5.7/missing --run makeinfo,;t t
520s,@install_sh@,/usr/src/redhat/SOURCES/x/libmcrypt-2.5.7/install-sh,;t t
521s,@STRIP@,strip,;t t
522s,@ac_ct_STRIP@,strip,;t t
523s,@INSTALL_STRIP_PROGRAM@,${SHELL} $(install_sh) -c -s,;t t
524s,@mkdir_p@,mkdir -p --,;t t
525s,@AWK@,gawk,;t t
526s,@SET_MAKE@,,;t t
527s,@am__leading_dot@,.,;t t
528s,@AMTAR@,${SHELL} /usr/src/redhat/SOURCES/x/libmcrypt-2.5.7/missing --run tar,;t t
529s,@am__tar@,${AMTAR} chof - "$$tardir",;t t
530s,@am__untar@,${AMTAR} xf -,;t t
531s,@MAINTAINER_MODE_TRUE@,#,;t t
532s,@MAINTAINER_MODE_FALSE@,,;t t
533s,@MAINT@,#,;t t
534s,@CXX@,g++,;t t
535s,@CXXFLAGS@,-g -O2,;t t
536s,@LDFLAGS@,,;t t
537s,@CPPFLAGS@,,;t t
538s,@ac_ct_CXX@,g++,;t t
539s,@EXEEXT@,,;t t
540s,@OBJEXT@,o,;t t
541s,@DEPDIR@,.deps,;t t
542s,@am__include@,include,;t t
543s,@am__quote@,,;t t
544s,@AMDEP_TRUE@,,;t t
545s,@AMDEP_FALSE@,#,;t t
546s,@AMDEPBACKSLASH@,\,;t t
547s,@CXXDEPMODE@,depmode=gcc3,;t t
548s,@am__fastdepCXX_TRUE@,,;t t
549s,@am__fastdepCXX_FALSE@,#,;t t
550s,@CC@,gcc,;t t
551s,@CFLAGS@,-g -O2,;t t
552s,@ac_ct_CC@,gcc,;t t
553s,@CCDEPMODE@,depmode=gcc3,;t t
554s,@am__fastdepCC_TRUE@,,;t t
555s,@am__fastdepCC_FALSE@,#,;t t
556s,@CPP@,gcc -E,;t t
557s,@LN_S@,ln -s,;t t
558s,@INCLTDL@,,;t t
559s,@LIBLTDL@,,;t t
560s,@LIBLTDL_DIR@,,;t t
561s,@subdirs@,,;t t
562s,@INSTALL_ALGORITHM_MODULES@,,;t t
563s,@INSTALL_MODE_MODULES@,,;t t
564s,@NOINSTALL_ALGORITHM_MODULES@, threeway.la cast-128.la gost.la rijndael-128.la safer-sk64.la twofish.la arcfour.la cast-256.la loki97.la rijndael-192.la saferplus.la wake.la blowfish-compat.la des.la rijndael-256.la serpent.la xtea.la blowfish.la enigma.la rc2.la safer-sk128.la tripledes.la,;t t
565s,@NOINSTALL_MODE_MODULES@, cbc.la cfb.la ctr.la ecb.la ncfb.la nofb.la ofb.la stream.la,;t t
566s,@EXTRA_ALGOS@,cbc cfb ctr ecb ncfb nofb ofb stream threeway cast-128 gost rijndael-128 safer-sk64 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 safer-sk128 tripledes,;t t
567s,@EXTRA_OBJECTS@, ../modules/modes/cbc.lo ../modules/modes/cfb.lo ../modules/modes/ctr.lo ../modules/modes/ecb.lo ../modules/modes/ncfb.lo ../modules/modes/nofb.lo ../modules/modes/ofb.lo ../modules/modes/stream.lo ../modules/algorithms/cast-128.lo ../modules/algorithms/gost.lo ../modules/algorithms/rijndael-128.lo ../modules/algorithms/twofish.lo ../modules/algorithms/arcfour.lo ../modules/algorithms/cast-256.lo ../modules/algorithms/loki97.lo ../modules/algorithms/rijndael-192.lo ../modules/algorithms/saferplus.lo ../modules/algorithms/wake.lo ../modules/algorithms/blowfish-compat.lo ../modules/algorithms/des.lo ../modules/algorithms/rijndael-256.lo ../modules/algorithms/serpent.lo ../modules/algorithms/xtea.lo ../modules/algorithms/blowfish.lo ../modules/algorithms/enigma.lo ../modules/algorithms/rc2.lo ../modules/algorithms/tripledes.lo,;t t
568s,@LIBMCRYPT_MAJOR_VERSION@,2,;t t
569s,@LIBMCRYPT_MINOR_VERSION@,5,;t t
570s,@LIBMCRYPT_MICRO_VERSION@,8,;t t
571s,@LIBMCRYPT_VERSION@,2.5.8,;t t
572s,@LIBMCRYPT_MOST_RECENT_INTERFACE@,8,;t t
573s,@LIBMCRYPT_CURRENT_INTERFACE_IMPLEMENTATION_NUMBER@,8,;t t
574s,@LIBMCRYPT_OLDEST_INTERFACE@,4,;t t
575s,@LT_CURRENT@,8,;t t
576s,@LT_REVISION@,8,;t t
577s,@LT_AGE@,4,;t t
578s,@EGREP@,grep -E,;t t
579s,@LIBOBJS@,,;t t
580s,@SED@,/bin/sed,;t t
581s,@ECHO@,echo,;t t
582s,@AR@,ar,;t t
583s,@ac_ct_AR@,ar,;t t
584s,@RANLIB@,ranlib,;t t
585s,@ac_ct_RANLIB@,ranlib,;t t
586s,@DLLTOOL@,dlltool,;t t
587s,@ac_ct_DLLTOOL@,,;t t
588s,@AS@,as,;t t
589s,@ac_ct_AS@,,;t t
590s,@OBJDUMP@,objdump,;t t
591s,@ac_ct_OBJDUMP@,,;t t
592s,@CXXCPP@,g++ -E,;t t
593s,@F77@,f95,;t t
594s,@FFLAGS@,-g -O2,;t t
595s,@ac_ct_F77@,f95,;t t
596s,@LIBTOOL@,$(SHELL) $(top_builddir)/libtool,;t t
597s,@LIBTOOL_DEPS@,./ltmain.sh,;t t
598s,@LIBMCRYPT_LIBS@, -L${exec_prefix}/lib -lmcrypt ,;t t
599s,@LIBMCRYPT_CFLAGS@,-I${prefix}/include,;t t
600s,@LTLIBOBJS@,,;t t
601CEOF
602
603  # Split the substitutions into bite-sized pieces for seds with
604  # small command number limits, like on Digital OSF/1 and HP-UX.
605  ac_max_sed_lines=48
606  ac_sed_frag=1 # Number of current file.
607  ac_beg=1 # First line for current file.
608  ac_end=$ac_max_sed_lines # Line after last line for current file.
609  ac_more_lines=:
610  ac_sed_cmds=
611  while $ac_more_lines; do
612    if test $ac_beg -gt 1; then
613      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
614    else
615      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
616    fi
617    if test ! -s $tmp/subs.frag; then
618      ac_more_lines=false
619    else
620      # The purpose of the label and of the branching condition is to
621      # speed up the sed processing (if there are no `@' at all, there
622      # is no need to browse any of the substitutions).
623      # These are the two extra sed commands mentioned above.
624      (echo ':t
625  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
626      if test -z "$ac_sed_cmds"; then
627	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
628      else
629	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
630      fi
631      ac_sed_frag=`expr $ac_sed_frag + 1`
632      ac_beg=$ac_end
633      ac_end=`expr $ac_end + $ac_max_sed_lines`
634    fi
635  done
636  if test -z "$ac_sed_cmds"; then
637    ac_sed_cmds=cat
638  fi
639fi # test -n "$CONFIG_FILES"
640
641for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
642  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
643  case $ac_file in
644  - | *:- | *:-:* ) # input from stdin
645	cat >$tmp/stdin
646	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
647	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
648  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
649	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
650  * )   ac_file_in=$ac_file.in ;;
651  esac
652
653  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
654  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
655$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
656	 X"$ac_file" : 'X\(//\)[^/]' \| \
657	 X"$ac_file" : 'X\(//\)$' \| \
658	 X"$ac_file" : 'X\(/\)' \| \
659	 .     : '\(.\)' 2>/dev/null ||
660echo X"$ac_file" |
661    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
662  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
663  	  /^X\(\/\/\)$/{ s//\1/; q; }
664  	  /^X\(\/\).*/{ s//\1/; q; }
665  	  s/.*/./; q'`
666  { if $as_mkdir_p; then
667    mkdir -p "$ac_dir"
668  else
669    as_dir="$ac_dir"
670    as_dirs=
671    while test ! -d "$as_dir"; do
672      as_dirs="$as_dir $as_dirs"
673      as_dir=`(dirname "$as_dir") 2>/dev/null ||
674$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675	 X"$as_dir" : 'X\(//\)[^/]' \| \
676	 X"$as_dir" : 'X\(//\)$' \| \
677	 X"$as_dir" : 'X\(/\)' \| \
678	 .     : '\(.\)' 2>/dev/null ||
679echo X"$as_dir" |
680    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682  	  /^X\(\/\/\)$/{ s//\1/; q; }
683  	  /^X\(\/\).*/{ s//\1/; q; }
684  	  s/.*/./; q'`
685    done
686    test ! -n "$as_dirs" || mkdir $as_dirs
687  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
688echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
689   { (exit 1); exit 1; }; }; }
690
691  ac_builddir=.
692
693if test "$ac_dir" != .; then
694  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
695  # A "../" for each directory in $ac_dir_suffix.
696  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
697else
698  ac_dir_suffix= ac_top_builddir=
699fi
700
701case $srcdir in
702  .)  # No --srcdir option.  We are building in place.
703    ac_srcdir=.
704    if test -z "$ac_top_builddir"; then
705       ac_top_srcdir=.
706    else
707       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
708    fi ;;
709  [\\/]* | ?:[\\/]* )  # Absolute path.
710    ac_srcdir=$srcdir$ac_dir_suffix;
711    ac_top_srcdir=$srcdir ;;
712  *) # Relative path.
713    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
714    ac_top_srcdir=$ac_top_builddir$srcdir ;;
715esac
716
717# Do not use `cd foo && pwd` to compute absolute paths, because
718# the directories may not exist.
719case `pwd` in
720.) ac_abs_builddir="$ac_dir";;
721*)
722  case "$ac_dir" in
723  .) ac_abs_builddir=`pwd`;;
724  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
725  *) ac_abs_builddir=`pwd`/"$ac_dir";;
726  esac;;
727esac
728case $ac_abs_builddir in
729.) ac_abs_top_builddir=${ac_top_builddir}.;;
730*)
731  case ${ac_top_builddir}. in
732  .) ac_abs_top_builddir=$ac_abs_builddir;;
733  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
734  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
735  esac;;
736esac
737case $ac_abs_builddir in
738.) ac_abs_srcdir=$ac_srcdir;;
739*)
740  case $ac_srcdir in
741  .) ac_abs_srcdir=$ac_abs_builddir;;
742  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
743  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
744  esac;;
745esac
746case $ac_abs_builddir in
747.) ac_abs_top_srcdir=$ac_top_srcdir;;
748*)
749  case $ac_top_srcdir in
750  .) ac_abs_top_srcdir=$ac_abs_builddir;;
751  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
752  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
753  esac;;
754esac
755
756
757  case $INSTALL in
758  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
759  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
760  esac
761
762  if test x"$ac_file" != x-; then
763    { echo "$as_me:$LINENO: creating $ac_file" >&5
764echo "$as_me: creating $ac_file" >&6;}
765    rm -f "$ac_file"
766  fi
767  # Let's still pretend it is `configure' which instantiates (i.e., don't
768  # use $as_me), people would be surprised to read:
769  #    /* config.h.  Generated by config.status.  */
770  if test x"$ac_file" = x-; then
771    configure_input=
772  else
773    configure_input="$ac_file.  "
774  fi
775  configure_input=$configure_input"Generated from `echo $ac_file_in |
776				     sed 's,.*/,,'` by configure."
777
778  # First look for the input files in the build tree, otherwise in the
779  # src tree.
780  ac_file_inputs=`IFS=:
781    for f in $ac_file_in; do
782      case $f in
783      -) echo $tmp/stdin ;;
784      [\\/$]*)
785	 # Absolute (can't be DOS-style, as IFS=:)
786	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
787echo "$as_me: error: cannot find input file: $f" >&2;}
788   { (exit 1); exit 1; }; }
789	 echo "$f";;
790      *) # Relative
791	 if test -f "$f"; then
792	   # Build tree
793	   echo "$f"
794	 elif test -f "$srcdir/$f"; then
795	   # Source tree
796	   echo "$srcdir/$f"
797	 else
798	   # /dev/null tree
799	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
800echo "$as_me: error: cannot find input file: $f" >&2;}
801   { (exit 1); exit 1; }; }
802	 fi;;
803      esac
804    done` || { (exit 1); exit 1; }
805  sed "/^[	 ]*VPATH[	 ]*=/{
806s/:*\$(srcdir):*/:/;
807s/:*\${srcdir}:*/:/;
808s/:*@srcdir@:*/:/;
809s/^\([^=]*=[	 ]*\):*/\1/;
810s/:*$//;
811s/^[^=]*=[	 ]*$//;
812}
813
814:t
815/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
816s,@configure_input@,$configure_input,;t t
817s,@srcdir@,$ac_srcdir,;t t
818s,@abs_srcdir@,$ac_abs_srcdir,;t t
819s,@top_srcdir@,$ac_top_srcdir,;t t
820s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
821s,@builddir@,$ac_builddir,;t t
822s,@abs_builddir@,$ac_abs_builddir,;t t
823s,@top_builddir@,$ac_top_builddir,;t t
824s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
825s,@INSTALL@,$ac_INSTALL,;t t
826" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
827  rm -f $tmp/stdin
828  if test x"$ac_file" != x-; then
829    mv $tmp/out $ac_file
830  else
831    cat $tmp/out
832    rm -f $tmp/out
833  fi
834
835done
836
837#
838# CONFIG_HEADER section.
839#
840
841# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
842# NAME is the cpp macro being defined and VALUE is the value it is being given.
843#
844# ac_d sets the value in "#define NAME VALUE" lines.
845ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
846ac_dB='[	 ].*$,\1#\2'
847ac_dC=' '
848ac_dD=',;t'
849# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
850ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
851ac_uB='$,\1#\2define\3'
852ac_uC=' '
853ac_uD=',;t'
854
855for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
856  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
857  case $ac_file in
858  - | *:- | *:-:* ) # input from stdin
859	cat >$tmp/stdin
860	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
861	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
862  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
863	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
864  * )   ac_file_in=$ac_file.in ;;
865  esac
866
867  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
868echo "$as_me: creating $ac_file" >&6;}
869
870  # First look for the input files in the build tree, otherwise in the
871  # src tree.
872  ac_file_inputs=`IFS=:
873    for f in $ac_file_in; do
874      case $f in
875      -) echo $tmp/stdin ;;
876      [\\/$]*)
877	 # Absolute (can't be DOS-style, as IFS=:)
878	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
879echo "$as_me: error: cannot find input file: $f" >&2;}
880   { (exit 1); exit 1; }; }
881	 # Do quote $f, to prevent DOS paths from being IFS'd.
882	 echo "$f";;
883      *) # Relative
884	 if test -f "$f"; then
885	   # Build tree
886	   echo "$f"
887	 elif test -f "$srcdir/$f"; then
888	   # Source tree
889	   echo "$srcdir/$f"
890	 else
891	   # /dev/null tree
892	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
893echo "$as_me: error: cannot find input file: $f" >&2;}
894   { (exit 1); exit 1; }; }
895	 fi;;
896      esac
897    done` || { (exit 1); exit 1; }
898  # Remove the trailing spaces.
899  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
900
901  # Handle all the #define templates only if necessary.
902  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then
903  # If there are no defines, we may have an empty if/fi
904  :
905  cat >$tmp/defines.sed <<CEOF
906/^[	 ]*#[	 ]*define/!b
907t clr
908: clr
909${ac_dA}PACKAGE_NAME${ac_dB}PACKAGE_NAME${ac_dC}""${ac_dD}
910${ac_dA}PACKAGE_TARNAME${ac_dB}PACKAGE_TARNAME${ac_dC}""${ac_dD}
911${ac_dA}PACKAGE_VERSION${ac_dB}PACKAGE_VERSION${ac_dC}""${ac_dD}
912${ac_dA}PACKAGE_STRING${ac_dB}PACKAGE_STRING${ac_dC}""${ac_dD}
913${ac_dA}PACKAGE_BUGREPORT${ac_dB}PACKAGE_BUGREPORT${ac_dC}""${ac_dD}
914${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"libmcrypt"${ac_dD}
915${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"2.5.8"${ac_dD}
916${ac_dA}HAVE_DIRENT_H${ac_dB}HAVE_DIRENT_H${ac_dC}1${ac_dD}
917${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
918${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD}
919${ac_dA}HAVE_SYS_STAT_H${ac_dB}HAVE_SYS_STAT_H${ac_dC}1${ac_dD}
920${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
921${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
922${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
923${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
924${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD}
925${ac_dA}HAVE_STDINT_H${ac_dB}HAVE_STDINT_H${ac_dC}1${ac_dD}
926${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
927${ac_dA}HAVE_ARGZ_H${ac_dB}HAVE_ARGZ_H${ac_dC}1${ac_dD}
928${ac_dA}HAVE_BYTESWAP_H${ac_dB}HAVE_BYTESWAP_H${ac_dC}1${ac_dD}
929${ac_dA}HAVE_DIRENT_H${ac_dB}HAVE_DIRENT_H${ac_dC}1${ac_dD}
930${ac_dA}HAVE_DLFCN_H${ac_dB}HAVE_DLFCN_H${ac_dC}1${ac_dD}
931${ac_dA}HAVE_ENDIAN_H${ac_dB}HAVE_ENDIAN_H${ac_dC}1${ac_dD}
932${ac_dA}HAVE_MALLOC_H${ac_dB}HAVE_MALLOC_H${ac_dC}1${ac_dD}
933${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
934${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
935${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
936${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
937${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD}
938${ac_dA}HAVE_SYS_MMAN_H${ac_dB}HAVE_SYS_MMAN_H${ac_dC}1${ac_dD}
939${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD}
940${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
941${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
942${ac_dA}HAVE_MALLOC${ac_dB}HAVE_MALLOC${ac_dC}1${ac_dD}
943${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
944${ac_dA}HAVE_REALLOC${ac_dB}HAVE_REALLOC${ac_dC}1${ac_dD}
945${ac_dA}HAVE_BZERO${ac_dB}HAVE_BZERO${ac_dC}1${ac_dD}
946${ac_dA}HAVE_MEMMOVE${ac_dB}HAVE_MEMMOVE${ac_dC}1${ac_dD}
947CEOF
948  sed -f $tmp/defines.sed $tmp/in >$tmp/out
949  rm -f $tmp/in
950  mv $tmp/out $tmp/in
951
952  cat >$tmp/defines.sed <<CEOF
953/^[	 ]*#[	 ]*define/!b
954t clr
955: clr
956${ac_dA}HAVE_MEMSET${ac_dB}HAVE_MEMSET${ac_dC}1${ac_dD}
957${ac_dA}HAVE_MLOCK${ac_dB}HAVE_MLOCK${ac_dC}1${ac_dD}
958${ac_dA}HAVE_READDIR_R${ac_dB}HAVE_READDIR_R${ac_dC}1${ac_dD}
959${ac_dA}HAVE_STRCHR${ac_dB}HAVE_STRCHR${ac_dC}1${ac_dD}
960${ac_dA}HAVE_STRDUP${ac_dB}HAVE_STRDUP${ac_dC}1${ac_dD}
961${ac_dA}HAVE_STRRCHR${ac_dB}HAVE_STRRCHR${ac_dC}1${ac_dD}
962${ac_dA}SIZEOF_UNSIGNED_LONG_INT${ac_dB}SIZEOF_UNSIGNED_LONG_INT${ac_dC}4${ac_dD}
963${ac_dA}SIZEOF_UNSIGNED_INT${ac_dB}SIZEOF_UNSIGNED_INT${ac_dC}4${ac_dD}
964${ac_dA}SIZEOF_UNSIGNED_SHORT_INT${ac_dB}SIZEOF_UNSIGNED_SHORT_INT${ac_dC}2${ac_dD}
965${ac_dA}SIZEOF_UNSIGNED_CHAR${ac_dB}SIZEOF_UNSIGNED_CHAR${ac_dC}1${ac_dD}
966${ac_dA}HAVE_DLFCN_H${ac_dB}HAVE_DLFCN_H${ac_dC}1${ac_dD}
967CEOF
968  sed -f $tmp/defines.sed $tmp/in >$tmp/out
969  rm -f $tmp/in
970  mv $tmp/out $tmp/in
971
972  fi # grep
973
974  # Handle all the #undef templates
975  cat >$tmp/undefs.sed <<CEOF
976/^[	 ]*#[	 ]*undef/!b
977t clr
978: clr
979${ac_uA}PACKAGE_NAME${ac_uB}PACKAGE_NAME${ac_uC}""${ac_uD}
980${ac_uA}PACKAGE_TARNAME${ac_uB}PACKAGE_TARNAME${ac_uC}""${ac_uD}
981${ac_uA}PACKAGE_VERSION${ac_uB}PACKAGE_VERSION${ac_uC}""${ac_uD}
982${ac_uA}PACKAGE_STRING${ac_uB}PACKAGE_STRING${ac_uC}""${ac_uD}
983${ac_uA}PACKAGE_BUGREPORT${ac_uB}PACKAGE_BUGREPORT${ac_uC}""${ac_uD}
984${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"libmcrypt"${ac_uD}
985${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"2.5.8"${ac_uD}
986${ac_uA}HAVE_DIRENT_H${ac_uB}HAVE_DIRENT_H${ac_uC}1${ac_uD}
987${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
988${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD}
989${ac_uA}HAVE_SYS_STAT_H${ac_uB}HAVE_SYS_STAT_H${ac_uC}1${ac_uD}
990${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
991${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
992${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
993${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
994${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD}
995${ac_uA}HAVE_STDINT_H${ac_uB}HAVE_STDINT_H${ac_uC}1${ac_uD}
996${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
997${ac_uA}HAVE_ARGZ_H${ac_uB}HAVE_ARGZ_H${ac_uC}1${ac_uD}
998${ac_uA}HAVE_BYTESWAP_H${ac_uB}HAVE_BYTESWAP_H${ac_uC}1${ac_uD}
999${ac_uA}HAVE_DIRENT_H${ac_uB}HAVE_DIRENT_H${ac_uC}1${ac_uD}
1000${ac_uA}HAVE_DLFCN_H${ac_uB}HAVE_DLFCN_H${ac_uC}1${ac_uD}
1001${ac_uA}HAVE_ENDIAN_H${ac_uB}HAVE_ENDIAN_H${ac_uC}1${ac_uD}
1002${ac_uA}HAVE_MALLOC_H${ac_uB}HAVE_MALLOC_H${ac_uC}1${ac_uD}
1003${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
1004${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
1005${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
1006${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
1007${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD}
1008${ac_uA}HAVE_SYS_MMAN_H${ac_uB}HAVE_SYS_MMAN_H${ac_uC}1${ac_uD}
1009${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD}
1010${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
1011${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
1012${ac_uA}HAVE_MALLOC${ac_uB}HAVE_MALLOC${ac_uC}1${ac_uD}
1013${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
1014${ac_uA}HAVE_REALLOC${ac_uB}HAVE_REALLOC${ac_uC}1${ac_uD}
1015${ac_uA}HAVE_BZERO${ac_uB}HAVE_BZERO${ac_uC}1${ac_uD}
1016${ac_uA}HAVE_MEMMOVE${ac_uB}HAVE_MEMMOVE${ac_uC}1${ac_uD}
1017CEOF
1018  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
1019  rm -f $tmp/in
1020  mv $tmp/out $tmp/in
1021
1022  cat >$tmp/undefs.sed <<CEOF
1023/^[	 ]*#[	 ]*undef/!b
1024t clr
1025: clr
1026${ac_uA}HAVE_MEMSET${ac_uB}HAVE_MEMSET${ac_uC}1${ac_uD}
1027${ac_uA}HAVE_MLOCK${ac_uB}HAVE_MLOCK${ac_uC}1${ac_uD}
1028${ac_uA}HAVE_READDIR_R${ac_uB}HAVE_READDIR_R${ac_uC}1${ac_uD}
1029${ac_uA}HAVE_STRCHR${ac_uB}HAVE_STRCHR${ac_uC}1${ac_uD}
1030${ac_uA}HAVE_STRDUP${ac_uB}HAVE_STRDUP${ac_uC}1${ac_uD}
1031${ac_uA}HAVE_STRRCHR${ac_uB}HAVE_STRRCHR${ac_uC}1${ac_uD}
1032${ac_uA}SIZEOF_UNSIGNED_LONG_INT${ac_uB}SIZEOF_UNSIGNED_LONG_INT${ac_uC}4${ac_uD}
1033${ac_uA}SIZEOF_UNSIGNED_INT${ac_uB}SIZEOF_UNSIGNED_INT${ac_uC}4${ac_uD}
1034${ac_uA}SIZEOF_UNSIGNED_SHORT_INT${ac_uB}SIZEOF_UNSIGNED_SHORT_INT${ac_uC}2${ac_uD}
1035${ac_uA}SIZEOF_UNSIGNED_CHAR${ac_uB}SIZEOF_UNSIGNED_CHAR${ac_uC}1${ac_uD}
1036${ac_uA}HAVE_DLFCN_H${ac_uB}HAVE_DLFCN_H${ac_uC}1${ac_uD}
1037s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1038CEOF
1039  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
1040  rm -f $tmp/in
1041  mv $tmp/out $tmp/in
1042
1043  # Let's still pretend it is `configure' which instantiates (i.e., don't
1044  # use $as_me), people would be surprised to read:
1045  #    /* config.h.  Generated by config.status.  */
1046  if test x"$ac_file" = x-; then
1047    echo "/* Generated by configure.  */" >$tmp/config.h
1048  else
1049    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
1050  fi
1051  cat $tmp/in >>$tmp/config.h
1052  rm -f $tmp/in
1053  if test x"$ac_file" != x-; then
1054    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
1055      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
1056echo "$as_me: $ac_file is unchanged" >&6;}
1057    else
1058      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
1059$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1060	 X"$ac_file" : 'X\(//\)[^/]' \| \
1061	 X"$ac_file" : 'X\(//\)$' \| \
1062	 X"$ac_file" : 'X\(/\)' \| \
1063	 .     : '\(.\)' 2>/dev/null ||
1064echo X"$ac_file" |
1065    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1066  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1067  	  /^X\(\/\/\)$/{ s//\1/; q; }
1068  	  /^X\(\/\).*/{ s//\1/; q; }
1069  	  s/.*/./; q'`
1070      { if $as_mkdir_p; then
1071    mkdir -p "$ac_dir"
1072  else
1073    as_dir="$ac_dir"
1074    as_dirs=
1075    while test ! -d "$as_dir"; do
1076      as_dirs="$as_dir $as_dirs"
1077      as_dir=`(dirname "$as_dir") 2>/dev/null ||
1078$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1079	 X"$as_dir" : 'X\(//\)[^/]' \| \
1080	 X"$as_dir" : 'X\(//\)$' \| \
1081	 X"$as_dir" : 'X\(/\)' \| \
1082	 .     : '\(.\)' 2>/dev/null ||
1083echo X"$as_dir" |
1084    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1085  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1086  	  /^X\(\/\/\)$/{ s//\1/; q; }
1087  	  /^X\(\/\).*/{ s//\1/; q; }
1088  	  s/.*/./; q'`
1089    done
1090    test ! -n "$as_dirs" || mkdir $as_dirs
1091  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
1092echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
1093   { (exit 1); exit 1; }; }; }
1094
1095      rm -f $ac_file
1096      mv $tmp/config.h $ac_file
1097    fi
1098  else
1099    cat $tmp/config.h
1100    rm -f $tmp/config.h
1101  fi
1102# Compute $ac_file's index in $config_headers.
1103_am_stamp_count=1
1104for _am_header in $config_headers :; do
1105  case $_am_header in
1106    $ac_file | $ac_file:* )
1107      break ;;
1108    * )
1109      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1110  esac
1111done
1112echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
1113$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1114	 X$ac_file : 'X\(//\)[^/]' \| \
1115	 X$ac_file : 'X\(//\)$' \| \
1116	 X$ac_file : 'X\(/\)' \| \
1117	 .     : '\(.\)' 2>/dev/null ||
1118echo X$ac_file |
1119    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1120  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1121  	  /^X\(\/\/\)$/{ s//\1/; q; }
1122  	  /^X\(\/\).*/{ s//\1/; q; }
1123  	  s/.*/./; q'`/stamp-h$_am_stamp_count
1124done
1125
1126#
1127# CONFIG_COMMANDS section.
1128#
1129for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
1130  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
1131  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
1132  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
1133$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1134	 X"$ac_dest" : 'X\(//\)[^/]' \| \
1135	 X"$ac_dest" : 'X\(//\)$' \| \
1136	 X"$ac_dest" : 'X\(/\)' \| \
1137	 .     : '\(.\)' 2>/dev/null ||
1138echo X"$ac_dest" |
1139    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1140  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1141  	  /^X\(\/\/\)$/{ s//\1/; q; }
1142  	  /^X\(\/\).*/{ s//\1/; q; }
1143  	  s/.*/./; q'`
1144  { if $as_mkdir_p; then
1145    mkdir -p "$ac_dir"
1146  else
1147    as_dir="$ac_dir"
1148    as_dirs=
1149    while test ! -d "$as_dir"; do
1150      as_dirs="$as_dir $as_dirs"
1151      as_dir=`(dirname "$as_dir") 2>/dev/null ||
1152$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1153	 X"$as_dir" : 'X\(//\)[^/]' \| \
1154	 X"$as_dir" : 'X\(//\)$' \| \
1155	 X"$as_dir" : 'X\(/\)' \| \
1156	 .     : '\(.\)' 2>/dev/null ||
1157echo X"$as_dir" |
1158    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1159  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1160  	  /^X\(\/\/\)$/{ s//\1/; q; }
1161  	  /^X\(\/\).*/{ s//\1/; q; }
1162  	  s/.*/./; q'`
1163    done
1164    test ! -n "$as_dirs" || mkdir $as_dirs
1165  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
1166echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
1167   { (exit 1); exit 1; }; }; }
1168
1169  ac_builddir=.
1170
1171if test "$ac_dir" != .; then
1172  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1173  # A "../" for each directory in $ac_dir_suffix.
1174  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1175else
1176  ac_dir_suffix= ac_top_builddir=
1177fi
1178
1179case $srcdir in
1180  .)  # No --srcdir option.  We are building in place.
1181    ac_srcdir=.
1182    if test -z "$ac_top_builddir"; then
1183       ac_top_srcdir=.
1184    else
1185       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1186    fi ;;
1187  [\\/]* | ?:[\\/]* )  # Absolute path.
1188    ac_srcdir=$srcdir$ac_dir_suffix;
1189    ac_top_srcdir=$srcdir ;;
1190  *) # Relative path.
1191    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1192    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1193esac
1194
1195# Do not use `cd foo && pwd` to compute absolute paths, because
1196# the directories may not exist.
1197case `pwd` in
1198.) ac_abs_builddir="$ac_dir";;
1199*)
1200  case "$ac_dir" in
1201  .) ac_abs_builddir=`pwd`;;
1202  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1203  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1204  esac;;
1205esac
1206case $ac_abs_builddir in
1207.) ac_abs_top_builddir=${ac_top_builddir}.;;
1208*)
1209  case ${ac_top_builddir}. in
1210  .) ac_abs_top_builddir=$ac_abs_builddir;;
1211  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1212  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1213  esac;;
1214esac
1215case $ac_abs_builddir in
1216.) ac_abs_srcdir=$ac_srcdir;;
1217*)
1218  case $ac_srcdir in
1219  .) ac_abs_srcdir=$ac_abs_builddir;;
1220  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1221  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1222  esac;;
1223esac
1224case $ac_abs_builddir in
1225.) ac_abs_top_srcdir=$ac_top_srcdir;;
1226*)
1227  case $ac_top_srcdir in
1228  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1229  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1230  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1231  esac;;
1232esac
1233
1234
1235  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
1236echo "$as_me: executing $ac_dest commands" >&6;}
1237  case $ac_dest in
1238    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
1239  # Strip MF so we end up with the name of the file.
1240  mf=`echo "$mf" | sed -e 's/:.*$//'`
1241  # Check whether this is an Automake generated Makefile or not.
1242  # We used to match only the files named `Makefile.in', but
1243  # some people rename them; so instead we look at the file content.
1244  # Grep'ing the first line is not enough: some people post-process
1245  # each Makefile.in and add a new line on top of each file to say so.
1246  # So let's grep whole file.
1247  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
1248    dirpart=`(dirname "$mf") 2>/dev/null ||
1249$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1250	 X"$mf" : 'X\(//\)[^/]' \| \
1251	 X"$mf" : 'X\(//\)$' \| \
1252	 X"$mf" : 'X\(/\)' \| \
1253	 .     : '\(.\)' 2>/dev/null ||
1254echo X"$mf" |
1255    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1256  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1257  	  /^X\(\/\/\)$/{ s//\1/; q; }
1258  	  /^X\(\/\).*/{ s//\1/; q; }
1259  	  s/.*/./; q'`
1260  else
1261    continue
1262  fi
1263  # Extract the definition of DEPDIR, am__include, and am__quote
1264  # from the Makefile without running `make'.
1265  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1266  test -z "$DEPDIR" && continue
1267  am__include=`sed -n 's/^am__include = //p' < "$mf"`
1268  test -z "am__include" && continue
1269  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1270  # When using ansi2knr, U may be empty or an underscore; expand it
1271  U=`sed -n 's/^U = //p' < "$mf"`
1272  # Find all dependency output files, they are included files with
1273  # $(DEPDIR) in their names.  We invoke sed twice because it is the
1274  # simplest approach to changing $(DEPDIR) to its actual value in the
1275  # expansion.
1276  for file in `sed -n "
1277    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1278       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1279    # Make sure the directory exists.
1280    test -f "$dirpart/$file" && continue
1281    fdir=`(dirname "$file") 2>/dev/null ||
1282$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1283	 X"$file" : 'X\(//\)[^/]' \| \
1284	 X"$file" : 'X\(//\)$' \| \
1285	 X"$file" : 'X\(/\)' \| \
1286	 .     : '\(.\)' 2>/dev/null ||
1287echo X"$file" |
1288    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1289  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1290  	  /^X\(\/\/\)$/{ s//\1/; q; }
1291  	  /^X\(\/\).*/{ s//\1/; q; }
1292  	  s/.*/./; q'`
1293    { if $as_mkdir_p; then
1294    mkdir -p $dirpart/$fdir
1295  else
1296    as_dir=$dirpart/$fdir
1297    as_dirs=
1298    while test ! -d "$as_dir"; do
1299      as_dirs="$as_dir $as_dirs"
1300      as_dir=`(dirname "$as_dir") 2>/dev/null ||
1301$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1302	 X"$as_dir" : 'X\(//\)[^/]' \| \
1303	 X"$as_dir" : 'X\(//\)$' \| \
1304	 X"$as_dir" : 'X\(/\)' \| \
1305	 .     : '\(.\)' 2>/dev/null ||
1306echo X"$as_dir" |
1307    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1308  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1309  	  /^X\(\/\/\)$/{ s//\1/; q; }
1310  	  /^X\(\/\).*/{ s//\1/; q; }
1311  	  s/.*/./; q'`
1312    done
1313    test ! -n "$as_dirs" || mkdir $as_dirs
1314  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
1315echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
1316   { (exit 1); exit 1; }; }; }
1317
1318    # echo "creating $dirpart/$file"
1319    echo '# dummy' > "$dirpart/$file"
1320  done
1321done
1322 ;;
1323    default-1 )
1324 chmod +x lib/libmcrypt-config
1325 ;;
1326  esac
1327done
1328
1329{ (exit 0); exit 0; }
1330