blob: 4731490254ea475711d02538e7542f7cc9653124 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
--- configure.orig 2006-11-24 08:30:23.000000000 +0000
+++ configure 2007-08-23 05:06:38.042002000 +0000
@@ -20,7 +20,7 @@
# configure settings to build CINT
-ARCHS=(linux linuxicc macgcc djgpp cygwin mingw mwerks hpux aix msvc7 msvc8 solaris solarisgcc)
+ARCHS=(linux linuxicc macgcc djgpp cygwin mingw mwerks hpux aix msvc7 msvc8 solaris solarisgcc freebsd)
#############################################################
###
@@ -102,6 +102,13 @@
config_GCC_defaults
}
+function config_freebsd {
+ config_GCC_defaults
+ CFLAGS="${CFLAGS} -fPIC"
+ CXXFLAGS="${CXXFLAGS} -fPIC"
+ DEFAULTLIBS="`echo $DEFAULTLIBS | sed 's/-ldl//'`"
+}
+
function config_linuxx8664gcc {
config_GCC_defaults
@@ -326,7 +333,7 @@
# freebsd*:*:6*) arch=freebsd5 ;;
# freebsd*:*:5*) arch=freebsd5 ;;
# freebsd*:*:4*) arch=freebsd4 ;;
-# freebsd*:*:*) arch=freebsd ;;
+ freebsd*:*:*) arch=freebsd ;;
# hp-ux:ia64:*) arch=hpuxia64acc ;;
# hp-ux:*:*) arch=hpuxacc ;;
# hurd*:*:*) arch=hurddeb ;;
@@ -357,6 +364,8 @@
esac
if [ "x`uname -a|grep -i linux`" != "x" ]; then
GUESSEDARCH=$arch
+ elif [ "x`uname -a|grep -i freebsd`" != "x" ]; then
+ GUESSEDARCH=$arch
elif cl.exe >/dev/null 2>&1; then
if [ "x`cl 2>&1|grep 'Version 14'`" != "x" ]; then
GUESSEDARCH=msvc8
|