Changeset 1327 for trunk

Show
Ignore:
Timestamp:
03/14/00 19:16:41 (9 years ago)
Author:
dwalker
Message:

check for -fno-exceptions/-fno-rtti

Location:
trunk/email
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/email/acinclude.m4.in

    r1225 r1327  
    3939[ 
    4040  AC_MSG_CHECKING([for licq header files]) 
    41    
    42   AC_FIND_FILE(licq_icqd.h, "../../src/inc", licq_inc) 
     41 
     42  AC_FIND_FILE(licq_icqd.h, [../../src/inc], licq_inc) 
    4343  if test "$licq_inc" = no; then 
    4444    have_licq_inc=no 
     
    5555]) 
    5656 
     57dnl Check if it is possible to turn off run time type information (RTTI) 
     58AC_DEFUN(LICQ_CXX_FLAGS, 
     59[AC_CACHE_CHECK(whether ${CXX-g++} accepts -fno-rtti -fno-exceptions, ac_cv_prog_cxx_fno_rtti, 
     60[echo 'void f(){}' > conftest.cc 
     61if test -z "`${CXX-g++} -fno-rtti -fno-exceptions -c conftest.cc 2>&1`"; then 
     62  ac_cv_prog_cxx_fno_rtti=yes 
     63  CXXFLAGS="${CXXFLAGS} -fno-rtti -fno-exceptions" 
     64else 
     65  ac_cv_prog_cxx_fno_rtti=no 
     66fi 
     67rm -f conftest* 
     68])]) 
  • trunk/email/configure.in

    r1225 r1327  
    2323AC_PROG_CXX 
    2424AC_PROG_CXXCPP 
     25LICQ_CXX_FLAGS 
    2526AC_ISC_POSIX 
    2627AC_PROG_MAKE_SET 
     
    4748You must unpack this archive into the plugins/ directory off of the 
    4849main Licq source tree.  In other words, we should be in 
    49 /some/dir/licq-0.xx/plugins/forwarder-0.xx right now. 
     50/some/dir/licq-0.xx/plugins/email-0.xx right now. 
    5051]) 
    5152fi 
  • trunk/email/src/Makefile.am

    r1125 r1327  
    55 
    66 
    7 INCLUDES = -Wall -fno-rtti -fno-exceptions -I$(srcdir) -I$(licq_incdir) 
     7INCLUDES = -Wall -I$(srcdir) -I$(licq_incdir) 
    88 
    99noinst_HEADERS = forwarder.h