source: trunk/src/binutils/intl/config.status@ 616

Last change on this file since 616 was 10, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 15.3 KB
Line 
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 kings-cross:
6#
7# ./configure --host=sun4 --target=sun4 --with-gnu-as --cache-file=../config.cache
8#
9# Compiler output produced by configure, useful for debugging
10# configure, is in ./config.log if it exists.
11
12ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
13for ac_option
14do
15 case "$ac_option" in
16 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17 echo "running ${CONFIG_SHELL-/bin/sh} ./configure --host=sun4 --target=sun4 --with-gnu-as --cache-file=../config.cache --no-create --no-recursion"
18 exec ${CONFIG_SHELL-/bin/sh} ./configure --host=sun4 --target=sun4 --with-gnu-as --cache-file=../config.cache --no-create --no-recursion ;;
19 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20 echo "./config.status generated by autoconf version 2.12.1"
21 exit 0 ;;
22 -help | --help | --hel | --he | --h)
23 echo "$ac_cs_usage"; exit 0 ;;
24 *) echo "$ac_cs_usage"; exit 1 ;;
25 esac
26done
27
28ac_given_srcdir=.
29ac_given_INSTALL="/usr/bin/install -c"
30
31trap 'rm -fr Makefile config.h conftest*; exit 1' 1 2 15
32
33# Protect against being on the right side of a sed subst in config.status.
34sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
35 s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
36/^[ ]*VPATH[ ]*=[^:]*$/d
37
38s%@SHELL@%/bin/sh%g
39s%@CFLAGS@%-g -O2%g
40s%@CPPFLAGS@%%g
41s%@CXXFLAGS@%-g -O2%g
42s%@DEFS@%-DHAVE_CONFIG_H%g
43s%@LDFLAGS@%%g
44s%@LIBS@%%g
45s%@exec_prefix@%${prefix}%g
46s%@prefix@%/usr/local%g
47s%@program_transform_name@%s,x,x,%g
48s%@bindir@%${exec_prefix}/bin%g
49s%@sbindir@%${exec_prefix}/sbin%g
50s%@libexecdir@%${exec_prefix}/libexec%g
51s%@datadir@%${prefix}/share%g
52s%@sysconfdir@%${prefix}/etc%g
53s%@sharedstatedir@%${prefix}/com%g
54s%@localstatedir@%${prefix}/var%g
55s%@libdir@%${exec_prefix}/lib%g
56s%@includedir@%${prefix}/include%g
57s%@oldincludedir@%/usr/include%g
58s%@infodir@%${prefix}/info%g
59s%@mandir@%${prefix}/man%g
60s%@INSTALL_PROGRAM@%${INSTALL}%g
61s%@INSTALL_DATA@%${INSTALL} -m 644%g
62s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g
63s%@SET_MAKE@%%g
64s%@CC@%gcc%g
65s%@RANLIB@%ranlib%g
66s%@CPP@%gcc -E%g
67s%@ALLOCA@%%g
68s%@USE_NLS@%yes%g
69s%@MSGFMT@%/usr/bin/msgfmt%g
70s%@GMSGFMT@%/usr/bin/msgfmt%g
71s%@XGETTEXT@%/usr/bin/xgettext%g
72s%@USE_INCLUDED_LIBINTL@%no%g
73s%@CATALOGS@%%g
74s%@CATOBJEXT@%.gmo%g
75s%@DATADIRNAME@%share%g
76s%@GMOFILES@%%g
77s%@INSTOBJEXT@%.mo%g
78s%@INTLDEPS@%%g
79s%@INTLLIBS@%%g
80s%@INTLOBJS@%%g
81s%@POFILES@%%g
82s%@POSUB@%po%g
83s%@INCLUDE_LOCALE_H@%#include <locale.h>%g
84s%@GT_NO@%%g
85s%@GT_YES@%#YES#%g
86s%@MKINSTALLDIRS@%$(srcdir)/../../mkinstalldirs%g
87s%@l@%%g
88
89CEOF
90
91# Split the substitutions into bite-sized pieces for seds with
92# small command number limits, like on Digital OSF/1 and HP-UX.
93ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
94ac_file=1 # Number of current file.
95ac_beg=1 # First line for current file.
96ac_end=$ac_max_sed_cmds # Line after last line for current file.
97ac_more_lines=:
98ac_sed_cmds=""
99while $ac_more_lines; do
100 if test $ac_beg -gt 1; then
101 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
102 else
103 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
104 fi
105 if test ! -s conftest.s$ac_file; then
106 ac_more_lines=false
107 rm -f conftest.s$ac_file
108 else
109 if test -z "$ac_sed_cmds"; then
110 ac_sed_cmds="sed -f conftest.s$ac_file"
111 else
112 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
113 fi
114 ac_file=`expr $ac_file + 1`
115 ac_beg=$ac_end
116 ac_end=`expr $ac_end + $ac_max_sed_cmds`
117 fi
118done
119if test -z "$ac_sed_cmds"; then
120 ac_sed_cmds=cat
121fi
122
123CONFIG_FILES=${CONFIG_FILES-"Makefile"}
124for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
125 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
126 case "$ac_file" in
127 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
128 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
129 *) ac_file_in="${ac_file}.in" ;;
130 esac
131
132 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
133
134 # Remove last slash and all that follows it. Not all systems have dirname.
135 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
136 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
137 # The file is in a subdirectory.
138 test ! -d "$ac_dir" && mkdir "$ac_dir"
139 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
140 # A "../" for each directory in $ac_dir_suffix.
141 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
142 else
143 ac_dir_suffix= ac_dots=
144 fi
145
146 case "$ac_given_srcdir" in
147 .) srcdir=.
148 if test -z "$ac_dots"; then top_srcdir=.
149 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
150 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
151 *) # Relative path.
152 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
153 top_srcdir="$ac_dots$ac_given_srcdir" ;;
154 esac
155
156 case "$ac_given_INSTALL" in
157 [/$]*) INSTALL="$ac_given_INSTALL" ;;
158 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
159 esac
160
161 echo creating "$ac_file"
162 rm -f "$ac_file"
163 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
164 case "$ac_file" in
165 *Makefile*) ac_comsub="1i\\
166# $configure_input" ;;
167 *) ac_comsub= ;;
168 esac
169
170 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
171 sed -e "$ac_comsub
172s%@configure_input@%$configure_input%g
173s%@srcdir@%$srcdir%g
174s%@top_srcdir@%$top_srcdir%g
175s%@INSTALL@%$INSTALL%g
176" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
177fi; done
178rm -f conftest.s*
179
180# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
181# NAME is the cpp macro being defined and VALUE is the value it is being given.
182#
183# ac_d sets the value in "#define NAME VALUE" lines.
184ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
185ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
186ac_dC='\3'
187ac_dD='%g'
188# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
189ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
190ac_uB='\([ ]\)%\1#\2define\3'
191ac_uC=' '
192ac_uD='\4%g'
193# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
194ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
195ac_eB='$%\1#\2define\3'
196ac_eC=' '
197ac_eD='%g'
198
199if test "${CONFIG_HEADERS+set}" != set; then
200 CONFIG_HEADERS="config.h:config.in"
201fi
202for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
203 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
204 case "$ac_file" in
205 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
206 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
207 *) ac_file_in="${ac_file}.in" ;;
208 esac
209
210 echo creating $ac_file
211
212 rm -f conftest.frag conftest.in conftest.out
213 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
214 cat $ac_file_inputs > conftest.in
215
216 cat > conftest.frag <<CEOF
217${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
218${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
219${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
220${ac_dA}HAVE_ALLOCA_H${ac_dB}HAVE_ALLOCA_H${ac_dC}1${ac_dD}
221${ac_uA}HAVE_ALLOCA_H${ac_uB}HAVE_ALLOCA_H${ac_uC}1${ac_uD}
222${ac_eA}HAVE_ALLOCA_H${ac_eB}HAVE_ALLOCA_H${ac_eC}1${ac_eD}
223${ac_dA}HAVE_ALLOCA${ac_dB}HAVE_ALLOCA${ac_dC}1${ac_dD}
224${ac_uA}HAVE_ALLOCA${ac_uB}HAVE_ALLOCA${ac_uC}1${ac_uD}
225${ac_eA}HAVE_ALLOCA${ac_eB}HAVE_ALLOCA${ac_eC}1${ac_eD}
226${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
227${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
228${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
229CEOF
230 sed -f conftest.frag conftest.in > conftest.out
231 rm -f conftest.in
232 mv conftest.out conftest.in
233
234 cat > conftest.frag <<CEOF
235${ac_dA}HAVE_GETPAGESIZE${ac_dB}HAVE_GETPAGESIZE${ac_dC}1${ac_dD}
236${ac_uA}HAVE_GETPAGESIZE${ac_uB}HAVE_GETPAGESIZE${ac_uC}1${ac_uD}
237${ac_eA}HAVE_GETPAGESIZE${ac_eB}HAVE_GETPAGESIZE${ac_eC}1${ac_eD}
238${ac_dA}HAVE_MMAP${ac_dB}HAVE_MMAP${ac_dC}1${ac_dD}
239${ac_uA}HAVE_MMAP${ac_uB}HAVE_MMAP${ac_uC}1${ac_uD}
240${ac_eA}HAVE_MMAP${ac_eB}HAVE_MMAP${ac_eC}1${ac_eD}
241${ac_dA}HAVE_ARGZ_H${ac_dB}HAVE_ARGZ_H${ac_dC}1${ac_dD}
242${ac_uA}HAVE_ARGZ_H${ac_uB}HAVE_ARGZ_H${ac_uC}1${ac_uD}
243${ac_eA}HAVE_ARGZ_H${ac_eB}HAVE_ARGZ_H${ac_eC}1${ac_eD}
244${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD}
245${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD}
246${ac_eA}HAVE_LIMITS_H${ac_eB}HAVE_LIMITS_H${ac_eC}1${ac_eD}
247CEOF
248 sed -f conftest.frag conftest.in > conftest.out
249 rm -f conftest.in
250 mv conftest.out conftest.in
251
252 cat > conftest.frag <<CEOF
253${ac_dA}HAVE_LOCALE_H${ac_dB}HAVE_LOCALE_H${ac_dC}1${ac_dD}
254${ac_uA}HAVE_LOCALE_H${ac_uB}HAVE_LOCALE_H${ac_uC}1${ac_uD}
255${ac_eA}HAVE_LOCALE_H${ac_eB}HAVE_LOCALE_H${ac_eC}1${ac_eD}
256${ac_dA}HAVE_NL_TYPES_H${ac_dB}HAVE_NL_TYPES_H${ac_dC}1${ac_dD}
257${ac_uA}HAVE_NL_TYPES_H${ac_uB}HAVE_NL_TYPES_H${ac_uC}1${ac_uD}
258${ac_eA}HAVE_NL_TYPES_H${ac_eB}HAVE_NL_TYPES_H${ac_eC}1${ac_eD}
259${ac_dA}HAVE_MALLOC_H${ac_dB}HAVE_MALLOC_H${ac_dC}1${ac_dD}
260${ac_uA}HAVE_MALLOC_H${ac_uB}HAVE_MALLOC_H${ac_uC}1${ac_uD}
261${ac_eA}HAVE_MALLOC_H${ac_eB}HAVE_MALLOC_H${ac_eC}1${ac_eD}
262${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
263${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
264${ac_eA}HAVE_STRING_H${ac_eB}HAVE_STRING_H${ac_eC}1${ac_eD}
265CEOF
266 sed -f conftest.frag conftest.in > conftest.out
267 rm -f conftest.in
268 mv conftest.out conftest.in
269
270 cat > conftest.frag <<CEOF
271${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
272${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
273${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
274${ac_dA}HAVE_VALUES_H${ac_dB}HAVE_VALUES_H${ac_dC}1${ac_dD}
275${ac_uA}HAVE_VALUES_H${ac_uB}HAVE_VALUES_H${ac_uC}1${ac_uD}
276${ac_eA}HAVE_VALUES_H${ac_eB}HAVE_VALUES_H${ac_eC}1${ac_eD}
277${ac_dA}HAVE_SYS_PARAM_H${ac_dB}HAVE_SYS_PARAM_H${ac_dC}1${ac_dD}
278${ac_uA}HAVE_SYS_PARAM_H${ac_uB}HAVE_SYS_PARAM_H${ac_uC}1${ac_uD}
279${ac_eA}HAVE_SYS_PARAM_H${ac_eB}HAVE_SYS_PARAM_H${ac_eC}1${ac_eD}
280${ac_dA}HAVE_GETCWD${ac_dB}HAVE_GETCWD${ac_dC}1${ac_dD}
281${ac_uA}HAVE_GETCWD${ac_uB}HAVE_GETCWD${ac_uC}1${ac_uD}
282${ac_eA}HAVE_GETCWD${ac_eB}HAVE_GETCWD${ac_eC}1${ac_eD}
283CEOF
284 sed -f conftest.frag conftest.in > conftest.out
285 rm -f conftest.in
286 mv conftest.out conftest.in
287
288 cat > conftest.frag <<CEOF
289${ac_dA}HAVE_MUNMAP${ac_dB}HAVE_MUNMAP${ac_dC}1${ac_dD}
290${ac_uA}HAVE_MUNMAP${ac_uB}HAVE_MUNMAP${ac_uC}1${ac_uD}
291${ac_eA}HAVE_MUNMAP${ac_eB}HAVE_MUNMAP${ac_eC}1${ac_eD}
292${ac_dA}HAVE_PUTENV${ac_dB}HAVE_PUTENV${ac_dC}1${ac_dD}
293${ac_uA}HAVE_PUTENV${ac_uB}HAVE_PUTENV${ac_uC}1${ac_uD}
294${ac_eA}HAVE_PUTENV${ac_eB}HAVE_PUTENV${ac_eC}1${ac_eD}
295${ac_dA}HAVE_SETENV${ac_dB}HAVE_SETENV${ac_dC}1${ac_dD}
296${ac_uA}HAVE_SETENV${ac_uB}HAVE_SETENV${ac_uC}1${ac_uD}
297${ac_eA}HAVE_SETENV${ac_eB}HAVE_SETENV${ac_eC}1${ac_eD}
298${ac_dA}HAVE_SETLOCALE${ac_dB}HAVE_SETLOCALE${ac_dC}1${ac_dD}
299${ac_uA}HAVE_SETLOCALE${ac_uB}HAVE_SETLOCALE${ac_uC}1${ac_uD}
300${ac_eA}HAVE_SETLOCALE${ac_eB}HAVE_SETLOCALE${ac_eC}1${ac_eD}
301CEOF
302 sed -f conftest.frag conftest.in > conftest.out
303 rm -f conftest.in
304 mv conftest.out conftest.in
305
306 cat > conftest.frag <<CEOF
307${ac_dA}HAVE_STRCHR${ac_dB}HAVE_STRCHR${ac_dC}1${ac_dD}
308${ac_uA}HAVE_STRCHR${ac_uB}HAVE_STRCHR${ac_uC}1${ac_uD}
309${ac_eA}HAVE_STRCHR${ac_eB}HAVE_STRCHR${ac_eC}1${ac_eD}
310${ac_dA}HAVE_STRCASECMP${ac_dB}HAVE_STRCASECMP${ac_dC}1${ac_dD}
311${ac_uA}HAVE_STRCASECMP${ac_uB}HAVE_STRCASECMP${ac_uC}1${ac_uD}
312${ac_eA}HAVE_STRCASECMP${ac_eB}HAVE_STRCASECMP${ac_eC}1${ac_eD}
313${ac_dA}HAVE___ARGZ_COUNT${ac_dB}HAVE___ARGZ_COUNT${ac_dC}1${ac_dD}
314${ac_uA}HAVE___ARGZ_COUNT${ac_uB}HAVE___ARGZ_COUNT${ac_uC}1${ac_uD}
315${ac_eA}HAVE___ARGZ_COUNT${ac_eB}HAVE___ARGZ_COUNT${ac_eC}1${ac_eD}
316${ac_dA}HAVE___ARGZ_STRINGIFY${ac_dB}HAVE___ARGZ_STRINGIFY${ac_dC}1${ac_dD}
317${ac_uA}HAVE___ARGZ_STRINGIFY${ac_uB}HAVE___ARGZ_STRINGIFY${ac_uC}1${ac_uD}
318${ac_eA}HAVE___ARGZ_STRINGIFY${ac_eB}HAVE___ARGZ_STRINGIFY${ac_eC}1${ac_eD}
319CEOF
320 sed -f conftest.frag conftest.in > conftest.out
321 rm -f conftest.in
322 mv conftest.out conftest.in
323
324 cat > conftest.frag <<CEOF
325${ac_dA}HAVE___ARGZ_NEXT${ac_dB}HAVE___ARGZ_NEXT${ac_dC}1${ac_dD}
326${ac_uA}HAVE___ARGZ_NEXT${ac_uB}HAVE___ARGZ_NEXT${ac_uC}1${ac_uD}
327${ac_eA}HAVE___ARGZ_NEXT${ac_eB}HAVE___ARGZ_NEXT${ac_eC}1${ac_eD}
328${ac_dA}HAVE_STPCPY${ac_dB}HAVE_STPCPY${ac_dC}1${ac_dD}
329${ac_uA}HAVE_STPCPY${ac_uB}HAVE_STPCPY${ac_uC}1${ac_uD}
330${ac_eA}HAVE_STPCPY${ac_eB}HAVE_STPCPY${ac_eC}1${ac_eD}
331${ac_dA}HAVE_STPCPY${ac_dB}HAVE_STPCPY${ac_dC}1${ac_dD}
332${ac_uA}HAVE_STPCPY${ac_uB}HAVE_STPCPY${ac_uC}1${ac_uD}
333${ac_eA}HAVE_STPCPY${ac_eB}HAVE_STPCPY${ac_eC}1${ac_eD}
334${ac_dA}HAVE_LC_MESSAGES${ac_dB}HAVE_LC_MESSAGES${ac_dC}1${ac_dD}
335${ac_uA}HAVE_LC_MESSAGES${ac_uB}HAVE_LC_MESSAGES${ac_uC}1${ac_uD}
336${ac_eA}HAVE_LC_MESSAGES${ac_eB}HAVE_LC_MESSAGES${ac_eC}1${ac_eD}
337CEOF
338 sed -f conftest.frag conftest.in > conftest.out
339 rm -f conftest.in
340 mv conftest.out conftest.in
341
342 cat > conftest.frag <<CEOF
343${ac_dA}ENABLE_NLS${ac_dB}ENABLE_NLS${ac_dC}1${ac_dD}
344${ac_uA}ENABLE_NLS${ac_uB}ENABLE_NLS${ac_uC}1${ac_uD}
345${ac_eA}ENABLE_NLS${ac_eB}ENABLE_NLS${ac_eC}1${ac_eD}
346${ac_dA}HAVE_GETTEXT${ac_dB}HAVE_GETTEXT${ac_dC}1${ac_dD}
347${ac_uA}HAVE_GETTEXT${ac_uB}HAVE_GETTEXT${ac_uC}1${ac_uD}
348${ac_eA}HAVE_GETTEXT${ac_eB}HAVE_GETTEXT${ac_eC}1${ac_eD}
349${ac_dA}HAVE_DCGETTEXT${ac_dB}HAVE_DCGETTEXT${ac_dC}1${ac_dD}
350${ac_uA}HAVE_DCGETTEXT${ac_uB}HAVE_DCGETTEXT${ac_uC}1${ac_uD}
351${ac_eA}HAVE_DCGETTEXT${ac_eB}HAVE_DCGETTEXT${ac_eC}1${ac_eD}
352s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
353CEOF
354 sed -f conftest.frag conftest.in > conftest.out
355 rm -f conftest.in
356 mv conftest.out conftest.in
357
358 rm -f conftest.frag conftest.h
359 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
360 cat conftest.in >> conftest.h
361 rm -f conftest.in
362 if cmp -s $ac_file conftest.h 2>/dev/null; then
363 echo "$ac_file is unchanged"
364 rm -f conftest.h
365 else
366 # Remove last slash and all that follows it. Not all systems have dirname.
367 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
368 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
369 # The file is in a subdirectory.
370 test ! -d "$ac_dir" && mkdir "$ac_dir"
371 fi
372 rm -f $ac_file
373 mv conftest.h $ac_file
374 fi
375fi; done
376
377ac_sources=""
378ac_dests=""
379srcdir=$ac_given_srcdir
380while test -n "$ac_sources"; do
381 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
382 set $ac_sources; ac_source=$1; shift; ac_sources=$*
383
384 echo "linking $srcdir/$ac_source to $ac_dest"
385
386 if test ! -r $srcdir/$ac_source; then
387 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
388 fi
389 rm -f $ac_dest
390
391 # Make relative symlinks.
392 # Remove last slash and all that follows it. Not all systems have dirname.
393 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
394 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
395 # The dest file is in a subdirectory.
396 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
397 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
398 # A "../" for each directory in $ac_dest_dir_suffix.
399 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
400 else
401 ac_dest_dir_suffix= ac_dots=
402 fi
403
404 case "$srcdir" in
405 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
406 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
407 esac
408
409 # Make a symlink if possible; otherwise try a hard link.
410 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
411 ln $srcdir/$ac_source $ac_dest; then :
412 else
413 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
414 fi
415done
416
417
418test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
419
420exit 0
Note: See TracBrowser for help on using the repository browser.