#! /bin/sh # Generated automatically by configure. # Run this file to recreate the current configuration. # This directory was configured as follows, # on host darwintel: # # ./configure CFLAGS='-fno-common' --with-medium=A4 --sharedstatedir=/usr/local/share --sysconfdir=/usr/local/etc --datadir=/usr/local/share --localstatedir=/usr/local/share --prefix=/usr/local i386-unknown-gnu # # Compiler output produced by configure, useful for debugging # configure, is in ./config.log if it exists. # Files that config.status was made for. config_files="\ contrib/card contrib/fixps contrib/pdiff contrib/psmandup contrib/psset Makefile src/Makefile doc/Makefile man/Makefile tests/Makefile tests/defs lib/Makefile auxdir/Makefile m4/Makefile etc/Makefile etc/a2ps_cfg etc/a2ps-site.cfg intl/Makefile po/Makefile.in sheets/Makefile encoding/Makefile ps/Makefile afm/Makefile contrib/Makefile contrib/sample/Makefile contrib/emacs/Makefile fonts/Makefile ppd/Makefile" config_headers="\ config.h" config_links="\ :" config_commands="\ default-1 default-2 default-3" ac_cs_usage="\ \`./config.status' instantiates files from templates according to the current configuration. Usage: ./config.status [OPTIONS] FILE... --recheck Update ./config.status by reconfiguring in the same conditions --version Print the version of Autoconf and exit --help Display this help and exit --file=FILE[:TEMPLATE] Instantiate the configuration file FILE --header=FILE[:TEMPLATE] Instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration links: $config_links Configuration commands: $config_commands Report bugs to ." ac_cs_version="\ ./config.status generated by autoconf version 2.14a. Configured on host darwintel by ./configure CFLAGS='-fno-common' --with-medium=A4 --sharedstatedir=/usr/local/share --sysconfdir=/usr/local/etc --datadir=/usr/local/share --localstatedir=/usr/local/share --prefix=/usr/local i386-unknown-gnu" # Root of the tmp file names. Use pid to allow concurrent executions. ac_cs_root=cs$$ ac_given_srcdir=. ac_given_INSTALL="/usr/bin/install -c -o root -g wheel" # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case "$1" in --*=*) ac_option=`echo "$1" | sed -e 's/=.*//'` ac_optarg=`echo "$1" | sed -e 's/[^=]*=//'` shift set dummy "$ac_option" "$ac_optarg" ${1+"$@"} shift ;; -*);; *) # This is not an option, so the user has probably given explicit # arguments. ac_need_defaults=false;; esac case "$1" in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) echo "running ${CONFIG_SHELL-/bin/sh} ./configure CFLAGS='-fno-common' --with-medium=A4 --sharedstatedir=/usr/local/share --sysconfdir=/usr/local/etc --datadir=/usr/local/share --localstatedir=/usr/local/share --prefix=/usr/local i386-unknown-gnu --no-create --no-recursion" exec ${CONFIG_SHELL-/bin/sh} ./configure CFLAGS='-fno-common' --with-medium=A4 --sharedstatedir=/usr/local/share --sysconfdir=/usr/local/etc --datadir=/usr/local/share --localstatedir=/usr/local/share --prefix=/usr/local i386-unknown-gnu --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header echo "./config.status: ambiguous option: $ac_option Try \`./config.status --help' for more information."; exit 1 ;; -help | --help | --hel ) echo "$ac_cs_usage"; exit 0 ;; --file | --fil | --fi | --f ) shift CONFIG_FILES="$CONFIG_FILES $1" ac_need_defaults=false;; --header | --heade | --head | --hea ) shift CONFIG_HEADERS="$CONFIG_FILES $1" ac_need_defaults=false;; # Handling of arguments. 'contrib/card' ) CONFIG_FILES="$CONFIG_FILES contrib/card" ;; 'contrib/fixps' ) CONFIG_FILES="$CONFIG_FILES contrib/fixps" ;; 'contrib/pdiff' ) CONFIG_FILES="$CONFIG_FILES contrib/pdiff" ;; 'contrib/psmandup' ) CONFIG_FILES="$CONFIG_FILES contrib/psmandup" ;; 'contrib/psset' ) CONFIG_FILES="$CONFIG_FILES contrib/psset" ;; 'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 'src/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 'doc/Makefile' ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 'man/Makefile' ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 'tests/Makefile' ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 'tests/defs' ) CONFIG_FILES="$CONFIG_FILES tests/defs" ;; 'lib/Makefile' ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 'auxdir/Makefile' ) CONFIG_FILES="$CONFIG_FILES auxdir/Makefile" ;; 'm4/Makefile' ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 'etc/Makefile' ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; 'etc/a2ps_cfg' ) CONFIG_FILES="$CONFIG_FILES etc/a2ps_cfg" ;; 'etc/a2ps-site.cfg' ) CONFIG_FILES="$CONFIG_FILES etc/a2ps-site.cfg" ;; 'intl/Makefile' ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;; 'po/Makefile.in' ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 'sheets/Makefile' ) CONFIG_FILES="$CONFIG_FILES sheets/Makefile" ;; 'encoding/Makefile' ) CONFIG_FILES="$CONFIG_FILES encoding/Makefile" ;; 'ps/Makefile' ) CONFIG_FILES="$CONFIG_FILES ps/Makefile" ;; 'afm/Makefile' ) CONFIG_FILES="$CONFIG_FILES afm/Makefile" ;; 'contrib/Makefile' ) CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; 'contrib/sample/Makefile' ) CONFIG_FILES="$CONFIG_FILES contrib/sample/Makefile" ;; 'contrib/emacs/Makefile' ) CONFIG_FILES="$CONFIG_FILES contrib/emacs/Makefile" ;; 'fonts/Makefile' ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;; 'ppd/Makefile' ) CONFIG_FILES="$CONFIG_FILES ppd/Makefile" ;; '' ) CONFIG_LINKS="$CONFIG_LINKS :" ;; 'default-1' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 'default-2' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; 'default-3' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-3" ;; 'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; # This is an error. -*) echo "./config.status: unrecognized option: $1 Try \`./config.status --help' for more information."; exit 1 ;; *) echo "./config.status: invalid argument: $1"; exit 1 ;; esac shift done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. if $ac_need_defaults; then : ${CONFIG_FILES=$config_files} : ${CONFIG_HEADERS=$config_headers} : ${CONFIG_LINKS=$config_links} : ${CONFIG_COMMANDS=$config_commands} fi # Trap to remove the temp files. trap 'rm -fr $ac_cs_root*; exit 1' 1 2 15 # # INIT-COMMANDS section. # AMDEP="" # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/%@/@@/; s/@%/@@/; s/%;t t$/@;t t/; /@;t t$/s/[\\&%]/\\&/g; s/@@/%@/; s/@@/@%/; s/@;t t$/%;t t/' >$ac_cs_root.subs <<\CEOF s%@ECHO_C@%%;t t s%@ECHO_N@%-n%;t t s%@ECHO_T@%%;t t s%@SHELL@%/bin/sh%;t t s%@CFLAGS@%-fno-common %;t t s%@CPPFLAGS@%%;t t s%@CXXFLAGS@%-fno-common%;t t s%@FFLAGS@%%;t t s%@DEFS@%-DHAVE_CONFIG_H%;t t s%@LDFLAGS@%%;t t s%@LIBS@%-lintl -lpaper%;t t s%@exec_prefix@%${prefix}%;t t s%@prefix@%/usr/local%;t t s%@program_transform_name@%s,x,x,%;t t s%@bindir@%${exec_prefix}/bin%;t t s%@sbindir@%${exec_prefix}/sbin%;t t s%@libexecdir@%${exec_prefix}/libexec%;t t s%@datadir@%/usr/local/share%;t t s%@sysconfdir@%/usr/local/etc%;t t s%@sharedstatedir@%/usr/local/share%;t t s%@localstatedir@%/usr/local/share%;t t s%@libdir@%${exec_prefix}/lib%;t t s%@includedir@%${prefix}/include%;t t s%@oldincludedir@%/usr/include%;t t s%@infodir@%${prefix}/info%;t t s%@mandir@%${prefix}/man%;t t s%@INSTALL_PROGRAM@%install -o root -g wheel -m 555%;t t s%@INSTALL_SCRIPT@%install -o root -g wheel -m 555%;t t s%@INSTALL_DATA@%install -o root -g wheel -m 444%;t t s%@PACKAGE@%a2ps%;t t s%@VERSION@%4.13%;t t s%@ACLOCAL@%${SHELL} /mnt/gmirror/ports/print/a2ps-a4/work/a2ps-4.13/auxdir/missing --run aclocal%;t t s%@AUTOCONF@%${SHELL} /mnt/gmirror/ports/print/a2ps-a4/work/a2ps-4.13/auxdir/missing --run autoconf%;t t s%@AUTOMAKE@%${SHELL} /mnt/gmirror/ports/print/a2ps-a4/work/a2ps-4.13/auxdir/missing --run automake%;t t s%@AUTOHEADER@%${SHELL} /mnt/gmirror/ports/print/a2ps-a4/work/a2ps-4.13/auxdir/missing --run autoheader%;t t s%@MAKEINFO@%${SHELL} /mnt/gmirror/ports/print/a2ps-a4/work/a2ps-4.13/auxdir/missing --run makeinfo%;t t s%@AMTAR@%${SHELL} /mnt/gmirror/ports/print/a2ps-a4/work/a2ps-4.13/auxdir/missing --run tar%;t t s%@install_sh@%%;t t s%@AWK@%mawk%;t t s%@SET_MAKE@%%;t t s%@AMDEP@%%;t t s%@AMDEPBACKSLASH@%\%;t t s%@DEPDIR@%.deps%;t t s%@LIBVERSION@%1:0:0%;t t s%@GNU_PACKAGE@%GNU a2ps%;t t s%@M4@%/usr/local/bin/gm4%;t t s%@LN_S@%ln -s%;t t s%@PERL@%/usr/local/bin/perl%;t t s%@CC@%cc%;t t s%@CPP@%cc -E%;t t s%@CCDEPMODE@%depmode=gcc%;t t s%@U@%%;t t s%@ANSI2KNR@%%;t t s%@YACC@%bison -y%;t t s%@GPERF@%${SHELL} /mnt/gmirror/ports/print/a2ps-a4/work/a2ps-4.13/auxdir/missing --run gperf%;t t s%@LEX@%flex%;t t s%@LEXLIB@%-lfl%;t t s%@LEX_OUTPUT_ROOT@%lex.yy%;t t s%@host@%i386-unknown-gnu%;t t s%@host_alias@%i386-unknown-gnu%;t t s%@host_cpu@%i386%;t t s%@host_vendor@%unknown%;t t s%@host_os@%gnu%;t t s%@build@%i386-unknown-gnu%;t t s%@build_alias@%i386-unknown-gnu%;t t s%@build_cpu@%i386%;t t s%@build_vendor@%unknown%;t t s%@build_os@%gnu%;t t s%@RANLIB@%ranlib%;t t s%@LIBTOOL@%$(SHELL) $(top_builddir)/libtool%;t t s%@LIBOBJS@% stpncpy$U.o obstack$U.o error$U.o%;t t s%@EXEEXT@%%;t t s%@ALLOCA@%%;t t s%@USE_NLS@%yes%;t t s%@MSGFMT@%/usr/local/bin/msgfmt%;t t s%@GMSGFMT@%/usr/local/bin/msgfmt%;t t s%@XGETTEXT@%/usr/local/bin/xgettext%;t t s%@GENCAT@%%;t t s%@USE_INCLUDED_LIBINTL@%no%;t t s%@CATALOGS@% ca.gmo cs.gmo da.gmo de.gmo es.gmo et.gmo fr.gmo it.gmo ko.gmo nl.gmo no.gmo pl.gmo pt.gmo ru.gmo sl.gmo sv.gmo tr.gmo%;t t s%@CATOBJEXT@%.gmo%;t t s%@DATADIRNAME@%share%;t t s%@GMOFILES@% ca.gmo cs.gmo da.gmo de.gmo es.gmo et.gmo fr.gmo it.gmo ko.gmo nl.gmo no.gmo pl.gmo pt.gmo ru.gmo sl.gmo sv.gmo tr.gmo%;t t s%@INSTOBJEXT@%.mo%;t t s%@INTLDEPS@%%;t t s%@INTLLIBS@%%;t t s%@INTLOBJS@%%;t t s%@POFILES@% ca.po cs.po da.po de.po es.po et.po fr.po it.po ko.po nl.po no.po pl.po pt.po ru.po sl.po sv.po tr.po%;t t s%@POSUB@%po%;t t s%@INCLUDE_LOCALE_H@%#include %;t t s%@GT_NO@%%;t t s%@GT_YES@%#YES#%;t t s%@MKINSTALLDIRS@%$(top_srcdir)/auxdir/mkinstalldirs%;t t s%@l@%%;t t s%@EXTRA_CFLAGS@%%;t t s%@EMACS@%emacs%;t t s%@lispdir@%${datadir}/emacs/site-lisp%;t t s%@EXTENSIONS_TRUE@%%;t t s%@EXTENSIONS_FALSE@%#%;t t s%@subdirs@% ogonkify%;t t s%@PSFONT_PATH@%/usr/local/ghostscript/fonts:/usr/local/share/ghostscript/fonts%;t t s%@file_prog@%/usr/local/bin/file%;t t s%@FILE_LINK@%/usr/local/bin/file -L%;t t s%@LPR@%lp%;t t s%@LPR_QUEUE_OPTION@%-d%;t t s%@MEDIUM@%A4%;t t s%@ENCODING@%latin1%;t t s%@COM_gv@%%;t t s%@gv@%gv%;t t s%@COM_ghostview@%%;t t s%@ghostview@%ghostview%;t t s%@COM_DISPLAY@%%;t t s%@COM_gzip@%%;t t s%@gzip@%gzip%;t t s%@COM_bzip@%%;t t s%@bzip@%bzip%;t t s%@COM_bzip2@%%;t t s%@bzip2@%bzip2%;t t s%@COM_dvips@%%;t t s%@dvips@%dvips%;t t s%@COM_convert@%%;t t s%@convert@%convert%;t t s%@COM_acroread@%#%;t t s%@acroread@%acroread%;t t s%@COM_pdf2ps@%%;t t s%@pdf2ps@%pdf2ps%;t t s%@COM_acroread4@%#%;t t s%@COM_distill@%#%;t t s%@distill@%distill%;t t s%@COM_ps2pdf@%%;t t s%@ps2pdf@%ps2pdf%;t t s%@COM_PS2PDF@%%;t t s%@COM_psselect@%%;t t s%@psselect@%psselect%;t t s%@COM_psnup@%%;t t s%@psnup@%psnup%;t t s%@COM_PSUTILS@%%;t t s%@COM_grog@%%;t t s%@grog@%grog%;t t s%@COM_makeinfo@%%;t t s%@makeinfo@%makeinfo%;t t s%@COM_tex@%%;t t s%@tex@%tex%;t t s%@COM_latex@%%;t t s%@latex@%latex%;t t s%@COM_TEXI@%%;t t s%@COM_LATEX@%%;t t s%@LTLIBOBJS@% stpncpy$U.lo obstack$U.lo error$U.lo%;t t s%@LTALLOCA@%%;t t CEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds="" while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag else sed "${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag fi if test ! -s $ac_cs_root.sfrag; then ac_more_lines=false rm -f $ac_cs_root.sfrag else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $ac_cs_root.sfrag) >$ac_cs_root.s$ac_sed_frag if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $ac_cs_root.s$ac_sed_frag" else ac_sed_cmds="$ac_sed_cmds | sed -f $ac_cs_root.s$ac_sed_frag" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi fi # test -n "$CONFIG_FILES" for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file" | sed 's%[^:]*:%%'` ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo "$ac_file" | sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dir_suffix. ac_dots=`echo "$ac_dir_suffix" | sed 's%/[^/]*%../%g'` else ac_dir_suffix= ac_dots= fi case "$ac_given_srcdir" in .) srcdir=. if test -z "$ac_dots"; then top_srcdir=. else top_srcdir=`echo $ac_dots | sed 's%/$%%'`; fi ;; [/\\]* | ?:[/\\]* ) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir=$ac_given_srcdir ;; *) # Relative path. srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" top_srcdir="$ac_dots$ac_given_srcdir" ;; esac case "$ac_given_INSTALL" in [/\\$]* | ?:[/\\]* ) INSTALL="$ac_given_INSTALL" ;; *) INSTALL="$ac_dots$ac_given_INSTALL" ;; esac echo creating "$ac_file" rm -f "$ac_file" configure_input="Generated automatically from `echo $ac_file_in | sed 's%.*/%%'` by configure." case "$ac_file" in *[Mm]akefile*) ac_comsub="1i\\ # $configure_input" ;; *) ac_comsub= ;; esac # Don't redirect the output to AC_FILE directly: use `mv' so that updating # is atomic, and doesn't need trapping. ac_file_inputs=`echo "$ac_file_in" | sed -e "s%^%$ac_given_srcdir/%;s%:% $ac_given_srcdir/%g"` for ac_file_input in $ac_file_inputs; do test -f "$ac_file_input" || { echo "configure: error: cannot find input file \`$ac_file_input'" 1>&2; exit 1; } done sed -e " /^[ ]*VPATH[ ]*=[^:]*$/d :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s%@configure_input@%$configure_input%;t t s%@srcdir@%$srcdir%;t t s%@top_srcdir@%$top_srcdir%;t t s%@INSTALL@%$INSTALL%;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$ac_cs_root.out mv $ac_cs_root.out $ac_file # Run the commands associated with the file. case "$ac_file" in contrib/card ) chmod +x contrib/card ;; contrib/fixps ) chmod +x contrib/fixps ;; contrib/pdiff ) chmod +x contrib/pdiff ;; contrib/psmandup ) chmod +x contrib/psmandup ;; contrib/psset ) chmod +x contrib/psset ;; esac fi; done rm -f $ac_cs_root.s* # # CONFIG_HEADER section. # # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$%\1#\2' ac_dC=' ' ac_dD='%;t t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$%\1#\2define\3' ac_uC=' ' ac_uD='%;t t' for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file" | sed 's%[^:]*:%%'` ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac echo creating $ac_file rm -f $ac_cs_root.frag $ac_cs_root.in $ac_cs_root.out ac_file_inputs=`echo "$ac_file_in" | sed -e "s%^%$ac_given_srcdir/%;s%:% $ac_given_srcdir/%g"` for ac_file_input in $ac_file_inputs; do test -f "$ac_file_input" || { echo "configure: error: cannot find input file \`$ac_file_input'" 1>&2; exit 1; } done # Remove the trailing spaces. sed -e 's/[ ]*$//' $ac_file_inputs >$ac_cs_root.in # Handle all the #define templates only if necessary. if egrep "^[ ]*#[ ]*define" $ac_cs_root.in >/dev/null; then # If there are no defines, we may have an empty if/fi : cat >$ac_cs_root.frag <$ac_cs_root.out rm -f $ac_cs_root.in mv $ac_cs_root.out $ac_cs_root.in cat >$ac_cs_root.frag <$ac_cs_root.out rm -f $ac_cs_root.in mv $ac_cs_root.out $ac_cs_root.in cat >$ac_cs_root.frag <$ac_cs_root.out rm -f $ac_cs_root.in mv $ac_cs_root.out $ac_cs_root.in fi # egrep # Handle all the #undef templates cat >$ac_cs_root.frag <$ac_cs_root.out rm -f $ac_cs_root.in mv $ac_cs_root.out $ac_cs_root.in cat >$ac_cs_root.frag <$ac_cs_root.out rm -f $ac_cs_root.in mv $ac_cs_root.out $ac_cs_root.in cat >$ac_cs_root.frag <$ac_cs_root.out rm -f $ac_cs_root.in mv $ac_cs_root.out $ac_cs_root.in rm -f $ac_cs_root.frag $ac_cs_root.h echo "/* $ac_file. Generated automatically by configure. */" >$ac_cs_root.h cat $ac_cs_root.in >>$ac_cs_root.h rm -f $ac_cs_root.in if cmp -s $ac_file $ac_cs_root.h 2>/dev/null; then echo "$ac_file is unchanged" rm -f $ac_cs_root.h else # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo "$ac_file" | sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" fi rm -f $ac_file mv $ac_cs_root.h $ac_file fi fi; done # # CONFIG_LINKS section. # srcdir=$ac_given_srcdir for ac_file in : $CONFIG_LINKS; do if test "x$ac_file" != x:; then ac_dest=`echo "$ac_file" | sed 's%:.*%%'` ac_source=`echo "$ac_file" | sed 's%[^:]*:%%'` echo "linking $srcdir/$ac_source to $ac_dest" if test ! -r $srcdir/$ac_source; then { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; } fi rm -f $ac_dest # Make relative symlinks. # Remove last slash and all that follows it. Not all systems have dirname. ac_dest_dir=`echo $ac_dest | sed 's%/[^/][^/]*$%%'` if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then # The dest file is in a subdirectory. test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir" ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dest_dir_suffix. ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dest_dir_suffix= ac_dots= fi case "$srcdir" in [/\\$]* | ?:[/\\]* ) ac_rel_source="$srcdir/$ac_source" ;; *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;; esac # Make a symlink if possible; otherwise try a hard link. if ln -s $ac_rel_source $ac_dest 2>/dev/null || ln $srcdir/$ac_source $ac_dest; then : else { echo "configure: error: cannot link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; } fi fi; done # # CONFIG_COMMANDS section. # for ac_file in .. $CONFIG_COMMANDS; do if test "x$ac_file" != x..; then ac_dest=`echo "$ac_file" | sed 's%:.*%%'` ac_source=`echo "$ac_file" | sed 's%[^:]*:%%'` case "$ac_dest" in default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; default-2 ) test x"$AMDEP" != x"" || for mf in $CONFIG_FILES; do case "$mf" in Makefile) dirpart=.;; */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;; *) continue;; esac grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue # Extract the definition of DEP_FILES from the Makefile without # running `make'. DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` test -z "$DEPDIR" && continue # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n -e '/^U = / s///p' < "$mf"` test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" # We invoke sed twice because it is the simplest approach to # changing $(DEPDIR) to its actual value in the expansion. for file in `sed -n -e ' /^DEP_FILES = .*\\\\$/ { s/^DEP_FILES = // :loop s/\\\\$// p n /\\\\$/ b loop p } /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do test -f "$dirpart/$file" && continue echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; default-3 ) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; esac fi;done exit 0