configure: perhaps jumping the gun - set CSRG_BASED #define for the BSD's
authorJon Trulson <jon@radscan.com>
Thu, 24 Oct 2019 19:02:38 +0000 (13:02 -0600)
committerJon Trulson <jon@radscan.com>
Thu, 24 Oct 2019 19:02:38 +0000 (13:02 -0600)
cde/configure.ac

index 7501470348a04a8c6f612e5f0e1752cb62c33a44..8a10843bf93d0fd598180f6ea9be252dcade04e5 100644 (file)
@@ -68,6 +68,15 @@ AM_CONDITIONAL([SOLARIS], [test "$build_solaris" = "yes"])
 AM_CONDITIONAL([AIX], [test "$build_aix" = "yes"])
 AM_CONDITIONAL([HPUX], [test "$build_hpux" = "yes"])
 
+dnl set CSRG_BASED define for the BSD's
+if test "$build_bsd" = "yes"
+then
+        oflags="$CFLAGS"
+        CFLAGS="$oflags -DCSRG_BASED"
+        oflags="$CXXFLAGS"
+        CXXFLAGS="$oflags -DCSRG_BASED"
+fi
+
 is_x86_64=no
 is_i386=no
 is_sparc=no