Commits

Andreas Tscharner committed 93f657c

Add configure option to NOT build the lrc Resource Editor

  • Participants
  • Parent commits c2db6a8

Comments (0)

Files changed (1)

File configure.in

 if test "$LRC_ENCRYPTION" != yes; then
   AC_DEFINE([NO_ENCRYPTION], [], [Disable encryption])
 fi
+AC_ARG_ENABLE(gui,
+              AC_HELP_STRING([--no-gui], [Don\'t build the gui]),,
+              [LRC_GUI="no"])
+AM_CONDITIONAL([NO_GUI], [test "$LRC_GUI" = no])
+
 AM_CONDITIONAL(HAVE_DOXYGEN, test "$doxy_ok" = yes)
-AM_CONDITIONAL(HAVE_ZLIB, test "$zLib_ok" = yes)
 AM_CONDITIONAL(HAVE_ALL_SDL, test "$SDL_ok" = yes && test "$SDLIMAGE_ok" = yes)
 AM_CONDITIONAL(HAVE_TINYXML, test "$TINYXML_ok" = yes)
 AM_CONDITIONAL(HAVE_CRYPTOPP, test "$CRYPTOPP_ok" = yes || test "$PPCRYPTO_ok" = yes)