diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-11 17:15:11 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-11 17:15:11 +0000 |
commit | 2c82f5385e779537cca162e3306f0fdcb0f635c9 (patch) | |
tree | f8310c493cf0ce6f11304e693053e69d945324b5 /channels/Makefile | |
parent | 2078c8d7f4c06cff30aca59539d8102f974bcf6c (diff) |
Use some Makefile magic to determine if linux/compiler.h is present. (issue #10174 reported by francesco_r)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@74587 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/Makefile')
-rw-r--r-- | channels/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/Makefile b/channels/Makefile index 3a277fe27..6edbbd620 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -79,6 +79,10 @@ ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/ixjuser.h)$(wildcard CHANNEL_LIBS+=chan_phone.so endif +ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/compiler.h),) + CFLAGS+=-DHAVE_LINUX_COMPILER_H +endif + ifneq ($(wildcard h323/libchanh323.a),) CHANNEL_LIBS+=chan_h323.so endif |