]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
small bug fixes
authorDavid MacKenzie <djm@djmnet.org>
Mon, 25 Jul 1994 03:33:46 +0000 (03:33 +0000)
committerDavid MacKenzie <djm@djmnet.org>
Mon, 25 Jul 1994 03:33:46 +0000 (03:33 +0000)
Makefile.in
acspecific.m4
doc/Makefile.in
lib/autoconf/specific.m4

index fd48bef05a78278497c2ee66c8d7a70904bfdc68..0bc043303ab3c160cf09972b6046bddad44b1164 100644 (file)
@@ -48,6 +48,7 @@ infodir = $(prefix)/info
 
 SHELL = /bin/sh
 
+SUBDIRS = testsuite
 # Files that can be generated, but should be up to date for a distribution.
 DISTDEP = info Makefile
 # Files to distribute.
@@ -131,6 +132,7 @@ install: all acgeneral.m4 acspecific.m4 acconfig.h installdirs install-info
        $(INSTALL_DATA) $(srcdir)/acconfig.h $(acdatadir)/acconfig.h
        -if test -f autoscan; then \
        $(INSTALL_PROGRAM) autoscan $(bindir)/autoscan; \
+       else :; fi
        -if test -f shindent; then \
        $(INSTALL_PROGRAM) shindent $(bindir)/shindent; \
        $(INSTALL_DATA) $(srcdir)/acfunctions $(acdatadir)/acfunctions; \
@@ -169,17 +171,23 @@ Makefile: Makefile.in config.status
 config.status: configure
        ./config.status --recheck
 
-clean:
+clean mostlyclean distclean realclean::
+       for dir in $(SUBDIRS); do \
+         echo making $@ in $$dir ; \
+         (cd $$dir; $(MAKE) $@) ; \
+       done
+
+clean::
        rm -f autoconf autoheader autoscan autoreconf shindent ifnames *.tmp
        rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
        rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs *.ma *.mas
 
-mostlyclean: clean
+mostlyclean:: clean
 
-distclean: clean
+distclean:: clean
        rm -f Makefile config.status config.cache config.log
 
-realclean: distclean
+realclean:: distclean
        rm -f TAGS *.info* INSTALL
 
 TAGS:
index a9535cb88b02150bd94783d4efa41a88bdeca978..5c7a4e22c653185d8f2e82aea792714f355dfe06 100644 (file)
@@ -536,7 +536,7 @@ main()
 changequote([,])dnl
 AC_TEST_RUN([$ac_prog],
   ac_cv_type_getgroups=gid_t, ac_cv_type_getgroups=int)])dnl
-AC_DEFINE(GETGROUPS_T, $ac_cv_type_getgroups)
+AC_DEFINE_UNQUOTED(GETGROUPS_T, $ac_cv_type_getgroups)
 ])dnl
 dnl
 define(AC_UID_T,
@@ -573,7 +573,7 @@ AC_CACHE_VAL(ac_cv_type_signal,
 #endif
 extern void (*signal ()) ();],
 [int i;], ac_cv_type_signal=void, ac_cv_type_signal=int)])dnl
-AC_DEFINE(RETSIGTYPE, $ac_cv_type_signal)
+AC_DEFINE_UNQUOTED(RETSIGTYPE, $ac_cv_type_signal)
 ])dnl
 dnl
 dnl
@@ -881,7 +881,7 @@ main ()
   exit (find_stack_direction() < 0);
 }], ac_cv_c_stack_direction=1, ac_cv_c_stack_direction=-1,
   ac_cv_c_stack_direction=0)])dnl
-AC_DEFINE(STACK_DIRECTION, $ac_cv_c_stack_direction)
+AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction)
 fi
 AC_SUBST(ALLOCA)dnl
 ])dnl
index fd48bef05a78278497c2ee66c8d7a70904bfdc68..0bc043303ab3c160cf09972b6046bddad44b1164 100644 (file)
@@ -48,6 +48,7 @@ infodir = $(prefix)/info
 
 SHELL = /bin/sh
 
+SUBDIRS = testsuite
 # Files that can be generated, but should be up to date for a distribution.
 DISTDEP = info Makefile
 # Files to distribute.
@@ -131,6 +132,7 @@ install: all acgeneral.m4 acspecific.m4 acconfig.h installdirs install-info
        $(INSTALL_DATA) $(srcdir)/acconfig.h $(acdatadir)/acconfig.h
        -if test -f autoscan; then \
        $(INSTALL_PROGRAM) autoscan $(bindir)/autoscan; \
+       else :; fi
        -if test -f shindent; then \
        $(INSTALL_PROGRAM) shindent $(bindir)/shindent; \
        $(INSTALL_DATA) $(srcdir)/acfunctions $(acdatadir)/acfunctions; \
@@ -169,17 +171,23 @@ Makefile: Makefile.in config.status
 config.status: configure
        ./config.status --recheck
 
-clean:
+clean mostlyclean distclean realclean::
+       for dir in $(SUBDIRS); do \
+         echo making $@ in $$dir ; \
+         (cd $$dir; $(MAKE) $@) ; \
+       done
+
+clean::
        rm -f autoconf autoheader autoscan autoreconf shindent ifnames *.tmp
        rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
        rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs *.ma *.mas
 
-mostlyclean: clean
+mostlyclean:: clean
 
-distclean: clean
+distclean:: clean
        rm -f Makefile config.status config.cache config.log
 
-realclean: distclean
+realclean:: distclean
        rm -f TAGS *.info* INSTALL
 
 TAGS:
index a9535cb88b02150bd94783d4efa41a88bdeca978..5c7a4e22c653185d8f2e82aea792714f355dfe06 100644 (file)
@@ -536,7 +536,7 @@ main()
 changequote([,])dnl
 AC_TEST_RUN([$ac_prog],
   ac_cv_type_getgroups=gid_t, ac_cv_type_getgroups=int)])dnl
-AC_DEFINE(GETGROUPS_T, $ac_cv_type_getgroups)
+AC_DEFINE_UNQUOTED(GETGROUPS_T, $ac_cv_type_getgroups)
 ])dnl
 dnl
 define(AC_UID_T,
@@ -573,7 +573,7 @@ AC_CACHE_VAL(ac_cv_type_signal,
 #endif
 extern void (*signal ()) ();],
 [int i;], ac_cv_type_signal=void, ac_cv_type_signal=int)])dnl
-AC_DEFINE(RETSIGTYPE, $ac_cv_type_signal)
+AC_DEFINE_UNQUOTED(RETSIGTYPE, $ac_cv_type_signal)
 ])dnl
 dnl
 dnl
@@ -881,7 +881,7 @@ main ()
   exit (find_stack_direction() < 0);
 }], ac_cv_c_stack_direction=1, ac_cv_c_stack_direction=-1,
   ac_cv_c_stack_direction=0)])dnl
-AC_DEFINE(STACK_DIRECTION, $ac_cv_c_stack_direction)
+AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction)
 fi
 AC_SUBST(ALLOCA)dnl
 ])dnl