Browse code

Add version suffix when using --enable-debug.

Török Edvin authored on 2010/03/10 21:34:32
Showing 2 changed files
... ...
@@ -16444,6 +16444,7 @@ fi
16444 16444
 
16445 16445
 
16446 16446
 if test "$enable_debug" = "yes"; then
16447
+  VERSION_SUFFIX="$VERSION_SUFFIX-debug"
16447 16448
 
16448 16449
 $as_echo "#define CL_DEBUG 1" >>confdefs.h
16449 16450
 
... ...
@@ -817,6 +817,7 @@ AC_ARG_ENABLE([debug],
817 817
 enable_debug=$enableval, enable_debug="no")
818 818
 
819 819
 if test "$enable_debug" = "yes"; then
820
+  VERSION_SUFFIX="$VERSION_SUFFIX-debug"
820 821
   AC_DEFINE([CL_DEBUG],1,[enable debugging])
821 822
 else
822 823
   AC_DEFINE([NDEBUG],1,[disable assertions])