diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-01-27 17:44:13 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-01-27 17:44:13 +0000 |
commit | eba3e373a6d578348bd373dc02acebe28528f7c1 (patch) | |
tree | 24134b47f41bb58e851c7bfa3b238d7eace99d5a /pjmedia/include/pjmedia-codec/config.h | |
parent | e3cd40c8069f365a58fefe663d62e0222175e1c9 (diff) |
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
Diffstat (limited to 'pjmedia/include/pjmedia-codec/config.h')
-rw-r--r-- | pjmedia/include/pjmedia-codec/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 <pjmedia/types.h> +/* + * Include config_auto.h if autoconf is used (PJ_AUTOCONF is set) + */ +#if defined(PJ_AUTOCONF) +# include <pjmedia-codec/config_auto.h> +#endif /** * Unless specified otherwise, L16 codec is included by default. @@ -56,3 +62,4 @@ #endif /* __PJMEDIA_CODEC_CONFIG_H__ */ + |