1#!/bin/sh
2# Generated automatically by configure.
3# Run this file to recreate the current configuration.
4# This directory was configured as follows,
5# on host dogbert:
6#
7# ./configure
8
9for arg
10do
11  case "$arg" in
12    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13    echo running ${CONFIG_SHELL-/bin/sh} ./configure
14    exec ${CONFIG_SHELL-/bin/sh} ./configure  ;;
15    *) echo "Usage: config.status --recheck" 2>&1; exit 1 ;;
16  esac
17done
18
19trap 'rm -fr Makefile jconfig.h conftest*; exit 1' 1 3 15
20CC='gcc'
21CPP='gcc -E'
22INSTALL='/usr/cluster/bin/install -c'
23INSTALL_PROGRAM='$(INSTALL)'
24INSTALL_DATA='$(INSTALL) -m 644'
25RANLIB='ranlib'
26MEMORYMGR='jmemnobs.o'
27ANSI2KNR=''
28ISANSICOM='# '
29ANSI2KNRFLAGS=''
30LIBS=''
31srcdir='.'
32prefix=''
33exec_prefix=''
34prsub=''
35extrasub=''
36
37top_srcdir=$srcdir
38
39CONFIG_FILES=${CONFIG_FILES-"Makefile"}
40for file in .. ${CONFIG_FILES}; do if test "x$file" != x..; then
41  srcdir=$top_srcdir
42  # Remove last slash and all that follows it.  Not all systems have dirname.
43  dir=`echo $file|sed 's%/[^/][^/]*$%%'`
44  if test "$dir" != "$file"; then
45    test "$top_srcdir" != . && srcdir=$top_srcdir/$dir
46    test ! -d $dir && mkdir $dir
47  fi
48  echo creating $file
49  rm -f $file
50  echo "# Generated automatically from `echo $file|sed 's|.*/||'`.auto by configure." > $file
51  sed -e "
52$prsub
53$extrasub
54s%@CC@%$CC%g
55s%@CPP@%$CPP%g
56s%@INSTALL@%$INSTALL%g
57s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
58s%@INSTALL_DATA@%$INSTALL_DATA%g
59s%@RANLIB@%$RANLIB%g
60s%@MEMORYMGR@%$MEMORYMGR%g
61s%@ANSI2KNR@%$ANSI2KNR%g
62s%@ISANSICOM@%$ISANSICOM%g
63s%@ANSI2KNRFLAGS@%$ANSI2KNRFLAGS%g
64s%@LIBS@%$LIBS%g
65s%@srcdir@%$srcdir%g
66s%@DEFS@%-DHAVE_CONFIG_H%" $top_srcdir/makefile.auto >> $file
67fi; done
68
69CONFIG_HEADERS=${CONFIG_HEADERS-"jconfig.h"}
70for file in .. ${CONFIG_HEADERS}; do if test "x$file" != x..; then
71echo creating $file
72
73# These sed commands are put into SEDDEFS when defining a macro.
74# They are broken into pieces to make the sed script easier to manage.
75# They are passed to sed as "A NAME B NAME C VALUE D", where NAME
76# is the cpp macro being defined and VALUE is the value it is being given.
77# Each defining turns into a single global substitution command.
78#
79# SEDd sets the value in "#define NAME VALUE" lines.
80SEDdA='s@^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
81SEDdB='\([ 	][ 	]*\)[^ 	]*@\1#\2'
82SEDdC='\3'
83SEDdD='@g'
84# SEDu turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
85SEDuA='s@^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
86SEDuB='\([ 	]\)@\1#\2define\3'
87SEDuC=' '
88SEDuD='\4@g'
89# SEDe turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
90SEDeA='s@^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
91SEDeB='$@\1#\2define\3'
92SEDeC=' '
93SEDeD='@g'
94rm -f conftest.sed
95cat >> conftest.sed <<CONFEOF
96${SEDdA}HAVE_PROTOTYPES${SEDdB}HAVE_PROTOTYPES${SEDdC}${SEDdD}
97${SEDuA}HAVE_PROTOTYPES${SEDuB}HAVE_PROTOTYPES${SEDuC}${SEDuD}
98${SEDeA}HAVE_PROTOTYPES${SEDeB}HAVE_PROTOTYPES${SEDeC}${SEDeD}
99${SEDdA}HAVE_STDDEF_H${SEDdB}HAVE_STDDEF_H${SEDdC}${SEDdD}
100${SEDuA}HAVE_STDDEF_H${SEDuB}HAVE_STDDEF_H${SEDuC}${SEDuD}
101${SEDeA}HAVE_STDDEF_H${SEDeB}HAVE_STDDEF_H${SEDeC}${SEDeD}
102${SEDdA}HAVE_STDLIB_H${SEDdB}HAVE_STDLIB_H${SEDdC}${SEDdD}
103${SEDuA}HAVE_STDLIB_H${SEDuB}HAVE_STDLIB_H${SEDuC}${SEDuD}
104${SEDeA}HAVE_STDLIB_H${SEDeB}HAVE_STDLIB_H${SEDeC}${SEDeD}
105CONFEOF
106cat >> conftest.sed <<CONFEOF
107${SEDdA}HAVE_UNSIGNED_CHAR${SEDdB}HAVE_UNSIGNED_CHAR${SEDdC}${SEDdD}
108${SEDuA}HAVE_UNSIGNED_CHAR${SEDuB}HAVE_UNSIGNED_CHAR${SEDuC}${SEDuD}
109${SEDeA}HAVE_UNSIGNED_CHAR${SEDeB}HAVE_UNSIGNED_CHAR${SEDeC}${SEDeD}
110${SEDdA}HAVE_UNSIGNED_SHORT${SEDdB}HAVE_UNSIGNED_SHORT${SEDdC}${SEDdD}
111${SEDuA}HAVE_UNSIGNED_SHORT${SEDuB}HAVE_UNSIGNED_SHORT${SEDuC}${SEDuD}
112${SEDeA}HAVE_UNSIGNED_SHORT${SEDeB}HAVE_UNSIGNED_SHORT${SEDeC}${SEDeD}
113${SEDdA}INLINE${SEDdB}INLINE${SEDdC}inline${SEDdD}
114${SEDuA}INLINE${SEDuB}INLINE${SEDuC}inline${SEDuD}
115${SEDeA}INLINE${SEDeB}INLINE${SEDeC}inline${SEDeD}
116CONFEOF
117# This sed command replaces #undef's with comments.  This is necessary, for
118# example, in the case of _POSIX_SOURCE, which is predefined and required
119# on some systems where configure will not decide to define it in
120# jconfig.h.
121cat >> conftest.sed <<\CONFEOF
122CONFEOF
123rm -f conftest.h
124# Break up the sed commands because old seds have small limits.
125maxsedlines=20
126cp $top_srcdir/jconfig.auto conftest.h1
127while :
128do
129  lines=`grep -c . conftest.sed`
130  if test -z "$lines" || test "$lines" -eq 0; then break; fi
131  rm -f conftest.s1 conftest.s2 conftest.h2
132  sed ${maxsedlines}q conftest.sed > conftest.s1 # Like head -20.
133  sed 1,${maxsedlines}d conftest.sed > conftest.s2 # Like tail +21.
134  sed -f conftest.s1 < conftest.h1 > conftest.h2
135  rm -f conftest.s1 conftest.h1 conftest.sed
136  mv conftest.h2 conftest.h1
137  mv conftest.s2 conftest.sed
138done
139rm -f conftest.sed conftest.h
140echo "/* $file.  Generated automatically by configure.  */" > conftest.h
141cat conftest.h1 >> conftest.h
142rm -f conftest.h1
143if cmp -s $file conftest.h 2>/dev/null; then
144  # The file exists and we would not be changing it.
145  echo "$file is unchanged"
146  rm -f conftest.h
147else
148  rm -f $file
149  mv conftest.h $file
150fi
151fi; done
152
153
154
155exit 0
156