summaryrefslogtreecommitdiff
path: root/sysutils/syslog-ng-devel/files/patch-configure
blob: 20143c0f60e7ad25e8fe43f7d5519aa492fd9564 (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
--- configure.orig	Sat Oct 28 17:40:18 2006
+++ configure	Thu Nov 16 10:45:49 2006
@@ -341,7 +341,7 @@
 sbindir='${exec_prefix}/sbin'
 libexecdir='${exec_prefix}/libexec'
 datadir='${prefix}/share'
-sysconfdir='${prefix}/etc'
+sysconfdir='${prefix}/etc/syslog-ng'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
 libdir='${exec_prefix}/lib'
@@ -3426,7 +3426,7 @@
 echo $ECHO_N "checking how to enable static linking for certain libraries... $ECHO_C" >&6
 ldversion=`ld -V 2>&1 | head -1`
 ostype=`uname -s`
-if echo $ldversion | egrep "GNU|Solaris" > /dev/null; then
+if echo $ldversion | egrep "Solaris" > /dev/null; then
         LD_START_STATIC="-Wl,-Bstatic"
         LD_END_STATIC="-Wl,-Bdynamic"
         echo "$as_me:$LINENO: result: GNU or Solaris" >&5
@@ -3441,6 +3441,11 @@
         LD_END_STATIC="-Wl,-bdynamic"
         echo "$as_me:$LINENO: result: AIX" >&5
 echo "${ECHO_T}AIX" >&6
+elif test "$ostype" = "FreeBSD"; then
+        LD_START_STATIC=""
+        LD_END_STATIC=""
+        echo "$as_me:$LINENO: result: FreeBSD" >&5
+echo "${ECHO_T}FreeBSD" >&6
 else
         LD_START_STATIC=""
         LD_END_STATIC=""