mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-25 14:50:24 +08:00
small bug fixes
This commit is contained in:
parent
1e2e2ad503
commit
8bf06aec5b
16
Makefile.in
16
Makefile.in
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user