aboutsummaryrefslogtreecommitdiffstats
path: root/math/xlispstat/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'math/xlispstat/files/patch-ac')
-rw-r--r--math/xlispstat/files/patch-ac35
1 files changed, 35 insertions, 0 deletions
diff --git a/math/xlispstat/files/patch-ac b/math/xlispstat/files/patch-ac
new file mode 100644
index 000000000000..88d62d3c3e1e
--- /dev/null
+++ b/math/xlispstat/files/patch-ac
@@ -0,0 +1,35 @@
+--- configure.orig Wed Dec 17 06:12:43 1997
++++ configure Thu Dec 23 16:38:07 1999
+@@ -521,6 +521,23 @@
+ ac_n= ac_c='\c' ac_t=
+ fi
+
++echo checking for FreeBSD
++cat > conftest.${ac_ext} <<EOF
++#include "confdefs.h"
++#ifdef __FreeBSD__
++ yes
++#endif
++
++EOF
++eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
++if egrep "yes" conftest.out >/dev/null 2>&1; then
++ rm -rf conftest*
++ bsd=1
++ freebsd=1
++
++fi
++rm -f conftest*
++
+
+
+ ac_aux_dir=
+@@ -1304,7 +1321,7 @@
+ if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+
+- FOREIGN_FILE="sysvr4-foreign.h"
++ FOREIGN_FILE="bsd-foreign.h"
+ foreign=1
+ cat >> confdefs.h <<\EOF
+ #define HAVE_DLOPEN 1