initial uglification
This commit is contained in:
parent
5152fda248
commit
b41e01d92f
2 changed files with 18 additions and 0 deletions
17
configure.in
17
configure.in
|
@ -358,6 +358,12 @@ AC_ARG_ENABLE(binfilter,
|
|||
,enable_binfilter=no
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(ugly,
|
||||
AS_HELP_STRING([--enable-ugly],
|
||||
[Enables ugly pieces of functionality.]),
|
||||
,enable_ugly=no
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(rpath,
|
||||
AS_HELP_STRING([--disable-rpath],
|
||||
[Disable the use of relative paths in shared libraries.]),
|
||||
|
@ -1729,6 +1735,17 @@ else
|
|||
fi
|
||||
AC_SUBST(WITH_BINFILTER)
|
||||
|
||||
dnl Enable ugly pieces of code we're better off without
|
||||
dnl ===================================================================
|
||||
if test "$enable_ugly" = "yes"; then
|
||||
BUILD_TYPE="$BUILD_TYPE DICTIONARIES"
|
||||
SCPDEFS="$SCPDEFS -DWITH_UGLY"
|
||||
ENABLE_UGLY=YES
|
||||
else
|
||||
ENABLE_UGLY=NO
|
||||
fi
|
||||
AC_SUBST(ENABLE_UGLY)
|
||||
|
||||
dnl ===================================================================
|
||||
dnl Disable rpath in shared libraries?
|
||||
dnl ===================================================================
|
||||
|
|
|
@ -1788,6 +1788,7 @@ ToFile( "BUILD_TYPE", "$BUILD_TYPE", "e" );
|
|||
ToFile( "VERBOSE", "@VERBOSE@", "e" );
|
||||
ToFile( "ENABLE_ZENITY", "@ENABLE_ZENITY@", "e" );
|
||||
ToFile( "ENABLE_EVOAB2", "@ENABLE_EVOAB2@", "e" );
|
||||
ToFile( "ENABLE_UGLY", "@ENABLE_UGLY@", "e" );
|
||||
ToFile( "GOBJECT_CFLAGS", "@GOBJECT_CFLAGS@", "e" );
|
||||
ToFile( "GOBJECT_LIBS", "@GOBJECT_LIBS@", "e" );
|
||||
if ( '@ENABLE_RPATH@' eq "no" ) {
|
||||
|
|
Loading…
Reference in a new issue