mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
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:
parent
6cc05188b1
commit
68113e17ea
1 changed files with 24 additions and 0 deletions
24
configure.ac
24
configure.ac
|
@ -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
|
||||
#--------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue