From eba3e373a6d578348bd373dc02acebe28528f7c1 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sat, 27 Jan 2007 17:44:13 +0000 Subject: Ticket #82: fix link errors when codecs are disabled from autoconf script git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@909 74dad513-b988-da41-8d7b-12977e46ad98 --- pjmedia/include/pjmedia-codec/config.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pjmedia/include/pjmedia-codec/config.h') diff --git a/pjmedia/include/pjmedia-codec/config.h b/pjmedia/include/pjmedia-codec/config.h index 85bd7785..4f2f82d3 100644 --- a/pjmedia/include/pjmedia-codec/config.h +++ b/pjmedia/include/pjmedia-codec/config.h @@ -21,6 +21,12 @@ #include +/* + * Include config_auto.h if autoconf is used (PJ_AUTOCONF is set) + */ +#if defined(PJ_AUTOCONF) +# include +#endif /** * Unless specified otherwise, L16 codec is included by default. @@ -56,3 +62,4 @@ #endif /* __PJMEDIA_CODEC_CONFIG_H__ */ + -- cgit v1.2.3