Ignore:
Timestamp:
Jan 27, 2007 5:44:13 PM (17 years ago)
Author:
bennylp
Message:

Ticket #82: fix link errors when codecs are disabled from autoconf script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure.ac

    r862 r909  
    88AC_CONFIG_HEADER([pjlib/include/pj/compat/os_auto.h 
    99                  pjlib/include/pj/compat/m_auto.h 
     10                  pjmedia/include/pjmedia/config_auto.h 
     11                  pjmedia/include/pjmedia-codec/config_auto.h 
    1012                  pjsip/include/pjsip/sip_autoconf.h 
    1113                 ]) 
     
    333335              [if test "$enable_g711_codec" = "no"; then 
    334336                [ac_no_g711_codec=1] 
     337                AC_DEFINE(PJMEDIA_HAS_G711_CODEC,0) 
    335338                AC_MSG_RESULT([Checking if G.711 codec is disabled...yes]) 
    336339               fi], 
     
    345348              [if test "$enable_l16_codec" = "no"; then 
    346349                [ac_no_l16_codec=1] 
     350                AC_DEFINE(PJMEDIA_HAS_L16_CODEC,0) 
    347351                AC_MSG_RESULT([Checking if L16 codecs are disabled...yes]) 
    348352               fi], 
     
    357361              [if test "$enable_gsm_codec" = "no"; then 
    358362                [ac_no_gsm_codec=1] 
     363                AC_DEFINE(PJMEDIA_HAS_GSM_CODEC,0) 
    359364                AC_MSG_RESULT([Checking if GSM codec is disabled...yes]) 
    360365               fi], 
     
    368373              [if test "$enable_speex_codec" = "no"; then 
    369374                [ac_no_speex_codec=1] 
     375                AC_DEFINE(PJMEDIA_HAS_SPEEX_CODEC,0) 
    370376                AC_MSG_RESULT([Checking if Speex codec is disabled...yes]) 
    371377               fi], 
     
    379385              [if test "$enable_ilbc_codec" = "no"; then 
    380386                [ac_no_ilbc_codec=1] 
     387                AC_DEFINE(PJMEDIA_HAS_ILBC_CODEC,0) 
    381388                AC_MSG_RESULT([Checking if iLBC codec is disabled...yes]) 
    382389               fi], 
Note: See TracChangeset for help on using the changeset viewer.