+# DJGPP specific configuration file.
+
+# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
# Additional editing of Makefiles
-/(echo[ ]*':t/ a\
+/(echo[ ]*':t/ a\
# DJGPP specific Makefile changes.\
/^aliaspath * *=/s,:,";",g;t t\
/TEXINPUTS=/s,:,";",g;t t\
s,c++\\.at,cxx.at,g;t t\
s,c++\\.m4,cxx.m4,g;t t\
s,calc++,calcxx,g;t t\
+ s,scan-gram-c,c-scan-gram,g;t t\
+ s,scan-skel-c,c-scan-skel,g;t t\
s,Makefile\\.in\\.in,Makefile.in-in,g;t t\
s,Makefile\\.am\\.in,Makefile.am-in,g;t t\
s,(MAKEINFOFLAGS),& --no-split,\
/CONFIG_FILES=/ s|po/Makefile\.in|&:po/Makefile.in-in|2
# We always use _deps and _libs instead of .deps and .libs, because
-# the latter is an invalid name on 8+3 MS-DOS filesystem. This makes
+# the latter is an invalid name on 8+3 MS-DOS file system. This makes
# the generated Makefiles good for every DJGPP installation, not only
# the one where the package was configured (which could happen to be
# a Windows box, where leading dots in file names are allowed).
s,\.deps,_deps,g
s,\.libs,_libs,g
-/^rmdir[ ]*\.tst/ i\
+/^rmdir[ ]*\.tst/ i\
am__leading_dot=_
# Replace (command) > /dev/null with `command > /dev/null`, since
/if ([^|;`]*null/{
s,(,`,
s,),,
- /null[ ]*2>&1/ s,2>&1,&`,
+ /null[ ]*2>&1/ s,2>&1,&`,
/null.*null/ s,null.*null,&`,
/null.*null/ !{
- /null[ ]*2>&1/ !s,null,&`,
+ /null[ ]*2>&1/ !s,null,&`,
}
}
# and compiling across partitions.
# 1) The given srcdir value is always translated from the
# "x:" syntax into "/dev/x" syntax while we run configure.
-/^[ ]*-srcdir=\*.*$/ a\
+/^[ ]*-srcdir=\*.*$/ a\
ac_optarg=`echo "$ac_optarg" | sed "s,^\\([A-Za-z]\\):,/dev/\\1,"`
/set X `ls -Lt \$srcdir/ i\
if `echo $srcdir | grep "^/dev/" - > /dev/null`; then\
# ${top_srcdir}/tests/testsuite.dir
# holds. The explicit names are of no importance.
# ../../. == ${top_srcdir}
-/\.)[ ]*ac_abs_builddir=/,/^esac$/ {
+/\.)[ ]*ac_abs_builddir=/,/^esac$/ {
/^esac$/ a\
ac_abs_builddir=`echo "$ac_abs_builddir" | sed "s%/dev.*/bison-[0-9]\\{1,1\\}[-.0-9A-z]*/[^/]*%../../.%;s%.:.*/bison-[0-9]\\{1,1\\}[-.0-9A-z]*/[^/]*%../../.%"`
}
-/\.)[ ]*ac_abs_top_builddir=/,/^esac$/ {
+/\.)[ ]*ac_abs_top_builddir=/,/^esac$/ {
/^esac$/ a\
ac_abs_top_builddir=`echo "$ac_abs_top_builddir" | sed "s%/dev.*/bison-[0-9]\\{1,1\\}[-.0-9A-z]*/[^/]*%../../../%;s%.:.*/bison-[0-9]\\{1,1\\}[-.0-9A-z]*/[^/]*%../../../%"`
}
-/\.)[ ]*ac_abs_srcdir=/,/^esac$/ {
+/\.)[ ]*ac_abs_srcdir=/,/^esac$/ {
/^esac$/ a\
ac_abs_srcdir=`echo "$ac_abs_srcdir" | sed "s%/dev.*/bison-[0-9]\\{1,1\\}[-.0-9A-z]*/[^/]*%../../.%;s%.:.*/bison-[0-9]\\{1,1\\}[-.0-9A-z]*/[^/]*%../../.%"`
}
-/\.)[ ]*ac_abs_top_srcdir=/,/^esac$/ {
+/\.)[ ]*ac_abs_top_srcdir=/,/^esac$/ {
/^esac$/ a\
ac_abs_top_srcdir=`echo "$ac_abs_top_srcdir" | sed "s%/dev.*/bison-[0-9]\\{1,1\\}[-.0-9A-z]*/[^/]*%../../../%;s%.:.*/bison-[0-9]\\{1,1\\}[-.0-9A-z]*/[^/]*%../../../%"`
}
-
+
# Add DJGPP version information.
/^#define VERSION/ s/\$VERSION/& (DJGPP port (r1))/
# We need makeinfo to make the html formated docs.
-/\$am_missing_run[ ]*makeinfo/ s,\$am_missing_run,,
+/\$am_missing_run[ ]*makeinfo/ s,\$am_missing_run,,
# The path to the FORTRAN compiler and libraries
# shall contain no absolute path reference so it
ac_cv_flibs=`echo "$ac_cv_flibs" | sed "s%-L$ac_djgpp_path%-L/dev/env/DJDIR%g"`
# The following is not a valid DOS file name
-s/calc++/calcxx/g
\ No newline at end of file
+s/calc++/calcxx/g