summaryrefslogtreecommitdiff
path: root/comms/linrad/files/patch-configure
blob: 37a10b484c000937ee2bd940e915d6b0d8d45044 (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	2014-11-04 02:25:00.000000000 -0800
+++ configure	2014-12-09 10:52:10.000000000 -0800
@@ -1832,11 +1832,6 @@
 ELF32=""
 ELF64=""
 if test ${OS} != "Darwin"; then
-  ldconfig /lib32 /lib64 /usr/lib32 /usr/lib64 /usr/lib32/lib /usr/local/lib \
-  /usr/local32/lib /emul/ia32-linux/lib /emul/ia32-linux/usr/lib /usr/X11/lib \
-  /usr/PCBSD/local/lib /usr/lib/i386-linux-gnu /usr/lib/x86_64-linux-gnu \
-  /usr/X11R6/lib /opt/local/lib /usr/lib/arm-linux-gnueabihf \
-  /usr/local/lib64
   ELF64="-felf64"
   LIBEXT="so"
   S_OS_TYPE="OS_LINUX"
@@ -1853,7 +1848,9 @@
 fi
 
 # Find out whether we have gcc
-CC=gcc
+if test "${CC}" = ""; then
+  CC=gcc
+fi
 # Extract the first word of "${CC} ", so it can be a program name with args.
 set dummy ${CC} ; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -4025,6 +4022,9 @@
 ALSA64_OK="0"
 ALSA32_INSTALLED="0"
 ALSA64_INSTALLED="0"
+ALSA32_LD=""
+ALSA64_LD=""
+<<DISABLE_ALSA
 ALSA32_LD="libasound.${LIBEXT}"
 X=`./libfind1 libasound.${LIBEXT}`
 ALSA32_INC=`./libfind2 1 "$X"`
@@ -4090,6 +4090,7 @@
     ALSA64_LD=""
   fi
 fi
+DISABLE_ALSA