correct makesrcdir when subdir is .

This commit is contained in:
K. Richard Pixley 1992-04-21 04:05:37 +00:00
parent a14b294143
commit 9546e9b45c
2 changed files with 16 additions and 1 deletions

View File

@ -1,5 +1,16 @@
Mon Apr 20 18:16:36 1992 K. Richard Pixley (rich@rtl.cygnus.com)
* Makefile.in: explicitly pass CFLAGS on recursion. no longer pass
MINUS_G (this can be done with CFLAGS). Default CFLAGS to -g.
Fri Apr 17 18:27:51 1992 Per Bothner (bothner@cygnus.com)
* configure: mkdir ${subdir} as needed.
Wed Apr 15 17:27:34 1992 K. Richard Pixley (rich@rtl.cygnus.com) Wed Apr 15 17:27:34 1992 K. Richard Pixley (rich@rtl.cygnus.com)
* Makefile.in: no longer pass against on recursion.
* Makefile.in: added .NOEXPORT: so that stray makefile_frag * Makefile.in: added .NOEXPORT: so that stray makefile_frag
definitions are not inherited. definitions are not inherited.

6
configure vendored
View File

@ -479,6 +479,10 @@ for subdir in . ${subdirs} ; do
Makefile=${subdir}/Makefile Makefile=${subdir}/Makefile
fi fi
if [ ! -d ${subdir} ] ; then
mkdir ${subdir}
fi
case "${removing}" in case "${removing}" in
"") "")
if [ -n "${verbose}" -o -z "${silent}" ] ; then if [ -n "${verbose}" -o -z "${silent}" ] ; then
@ -622,7 +626,7 @@ EOF
# Define macro CROSS_COMPILE in compilation if this is a cross-compiler. # Define macro CROSS_COMPILE in compilation if this is a cross-compiler.
case "${host_alias}" in case "${host_alias}" in
"${target_alias}") "${target_alias}")
tooldir="\$(libdir)" tooldir='$(libdir)'
echo "ALL=all.internal" >> ${Makefile} echo "ALL=all.internal" >> ${Makefile}
;; ;;
*) *)