blob: bc0b24a42f4397d4da9d880c7ab1bace5150babf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- cflags.sh.orig Sun Jul 30 12:23:23 2006
+++ cflags.sh Wed Jul 19 10:09:51 2006
@@ -1,13 +1,13 @@
#!/bin/sh
-CFLAGS="-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC"
+CFLAGS="-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC -I/usr/local/include -L/usr/local/lib"
-CHANNEL_H=/usr/include/asterisk/channel.h
+CHANNEL_H=/usr/local/include/asterisk/channel.h
if [ "`grep 'struct ast_callerid cid' ${CHANNEL_H}`" != "" ]; then
CFLAGS="${CFLAGS} -DCHANNEL_HAS_CID"
fi
-CONFIG_H=/usr/include/asterisk/config.h
+CONFIG_H=/usr/local/include/asterisk/config.h
if [ "`grep 'ast_config_load' ${CONFIG_H}`" != "" ]; then
CFLAGS="${CFLAGS} -DNEW_CONFIG"
fi
|