comparison configure.in @ 9834:5be536b91960

protect character class with changequote
author David J. MacKenzie <djm@gnu.org>
date Tue, 08 Nov 1994 05:18:09 +0000
parents f0c8517d9d8a
children 463fd155c78d
comparison
equal deleted inserted replaced
9833:5215339470b8 9834:5be536b91960
71 right. To configure in another directory as well, you MUST 71 right. To configure in another directory as well, you MUST
72 use GNU make. If you do not have GNU make, then you must 72 use GNU make. If you do not have GNU make, then you must
73 now do \`make distclean' in ${srcdir}, 73 now do \`make distclean' in ${srcdir},
74 and then run $0 again.]) 74 and then run $0 again.])
75 75
76 changequote(, )dnl
76 extrasub='/^VPATH[ ]*=/c\ 77 extrasub='/^VPATH[ ]*=/c\
78 changequote([, ])dnl
77 vpath %.c $(srcdir)\ 79 vpath %.c $(srcdir)\
78 vpath %.h $(srcdir)\ 80 vpath %.h $(srcdir)\
79 vpath %.y $(srcdir)\ 81 vpath %.y $(srcdir)\
80 vpath %.l $(srcdir)\ 82 vpath %.l $(srcdir)\
81 vpath %.s $(srcdir)\ 83 vpath %.s $(srcdir)\
1247 done 1249 done
1248 1250
1249 # Build src/Makefile from ${srcdir}/src/Makefile.in. This must be done 1251 # Build src/Makefile from ${srcdir}/src/Makefile.in. This must be done
1250 # after src/config.h is built, since we rely on that file. 1252 # after src/config.h is built, since we rely on that file.
1251 1253
1252 changequote(,)dnl The horror, the horror. 1254 changequote(, )dnl The horror, the horror.
1253 # Now get this: Some word that is part of the ${srcdir} directory name 1255 # Now get this: Some word that is part of the ${srcdir} directory name
1254 # or the ${configuration} value might, just might, happen to be an 1256 # or the ${configuration} value might, just might, happen to be an
1255 # identifier like `sun4' or `i386' or something, and be predefined by 1257 # identifier like `sun4' or `i386' or something, and be predefined by
1256 # the C preprocessor to some helpful value like 1, or maybe the empty 1258 # the C preprocessor to some helpful value like 1, or maybe the empty
1257 # string. Needless to say consequent macro substitutions are less 1259 # string. Needless to say consequent macro substitutions are less
1258 # than conducive to the makefile finding the correct directory. 1260 # than conducive to the makefile finding the correct directory.
1259 undefs="`echo $top_srcdir $configuration $canonical | 1261 undefs="`echo $top_srcdir $configuration $canonical |
1260 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ 1262 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
1261 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \ 1263 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
1262 `" 1264 `"
1263 changequote([,])dnl 1265 changequote([, ])dnl
1264 1266
1265 echo creating lib-src/Makefile 1267 echo creating lib-src/Makefile
1266 ( cd lib-src 1268 ( cd lib-src
1267 rm -f junk.c junk1.c junk2.c 1269 rm -f junk.c junk1.c junk2.c
1268 sed -e '/start of cpp stuff/q' \ 1270 sed -e '/start of cpp stuff/q' \