Added --enable-strip-makefiles

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@17841 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2003-10-13 18:33:02 +00:00
parent 6cc05188b1
commit 68113e17ea

View file

@ -514,6 +514,30 @@ if test "$ac_cv_import" = "yes"; then
fi
AC_SUBST(OBJC_NO_IMPORT_FLAGS)
#--------------------------------------------------------------------
# Shall we strip makefiles upon installation ?
#--------------------------------------------------------------------
# Stripping makefiles removes comments and newlines from them. The
# resulting stripped makefiles execute around 5% faster on average.
# Too little for it to be worth for the common user who's more
# interested in the comments :-) so it's disabled by default.
AC_MSG_CHECKING(if we should strip makefiles after installation)
AC_ARG_ENABLE(strip-makefiles,
[--enable-strip-makefiles Enable stripping makefiles after installation],
ac_cv_strip_makefiles=$enableval,
ac_cv_strip_makefiles="undefined")
if test "$ac_cv_strip_makefiles" = "yes"; then
GNUSTEP_STRIP_MAKEFILES=strip;
AC_MSG_RESULT(yes);
else
GNUSTEP_STRIP_MAKEFILES=;
AC_MSG_RESULT(no);
fi
AC_SUBST(GNUSTEP_STRIP_MAKEFILES)
#--------------------------------------------------------------------
# Disable updating the obsolete directory structure
#--------------------------------------------------------------------