diff options
Diffstat (limited to 'freebsd')
-rw-r--r-- | freebsd/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile index e73a6460..a42edd08 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -23,11 +23,14 @@ FEATURE_LARGEFILE=1 # Enable database support (off by default, must be turned # on when support for MySQL is desired). -FEATURE_DB=0 +FEATURE_DB=1 # Enable regular expressions FEATURE_REGEXP=1 +# Enable debug mode (much slower code) +FEATURE_DEBUG=0 + ############################################################# # END OF USER SETTINGS # # -------------------- # @@ -48,6 +51,14 @@ MANDIR = /usr/share/man WITHDB=-DWITH_DB .endif +.if $(FEATURE_REGEXP) == 1 + F_REGEXP=-DFEATURE_REGEXP +.endif + +.if $(FEATURE_DEBUG) == 0 + DBG=-DNDEBUG +.endif + # Include MySQL client lib if DB is selected .ifdef WITHDB LIBS = -lmysqlclient -L/usr/local/lib/mysql |