"Fossies" - the Fresh Open Source Software Archive

Member "dbg-2.15.5/config.m4" (2 Aug 2006, 1601 Bytes) of package /linux/www/old/dbg-2.15.5.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 dnl $Id
    2 AC_CHECK_HEADERS([ \
    3 inttypes.h \
    4 stdint.h \
    5 arpa/inet.h \
    6 arpa/nameser.h \
    7 stdarg.h \
    8 sys/socket.h \
    9 unistd.h \
   10 netdb.h \
   11 netinet/in.h \
   12 ])
   13 
   14 
   15 
   16 AC_CHECK_SIZEOF(int, 0)
   17 AC_CHECK_SIZEOF(long, 0)
   18 AC_CHECK_SIZEOF(long long, 0)
   19 AC_CHECK_SIZEOF(short, 0)
   20 AC_CHECK_SIZEOF(off_t, 0)
   21 AC_CHECK_SIZEOF(off64_t, 0)
   22 PHP_SOCKLEN_T
   23 
   24 PHP_ARG_ENABLE(dbg, whether to enable dbg (PHP script debugger) extension,
   25 [  --enable-dbg=shared     Build DBG debugger extension as a shared library.])
   26 
   27 if test "$PHP_DBG" != "no"; then
   28   if test "$ext_shared" != "yes"; then
   29     AC_DEFINE(HAVE_DBG_STATIC, 1, [Whether you have dbg statically linked])
   30   fi
   31   AC_MSG_RESULT([DBG (extension-shared==$ext_shared).])
   32   AC_DEFINE(HAVE_DBG, 1, [Whether you have dbg support])
   33 fi
   34 
   35 if test "$PHP_DBG" != "no"; then
   36   AC_ARG_WITH(dbg-profiler,
   37     [  --with-dbg-profiler     Include dbg profiler support.],
   38     [
   39 dnl --with or without was given    
   40       if test "$withval" != "no"; then
   41         AC_DEFINE(HAVE_DBG_PROFILER, 1, [Whether you have profiler support])
   42         AC_MSG_RESULT(yes);
   43       fi
   44     ],
   45     [
   46 dnl none was given
   47       AC_MSG_RESULT(no);
   48     ])
   49 
   50 
   51   AC_ARG_WITH(dbg-trace,,
   52     [
   53 dnl --with or without was given
   54       if test "$withval" != "no"; then
   55         AC_DEFINE(DBG_DEBUG, 1, [Internal tracing option])
   56         AC_DEFINE(DBG_TRACEFILE, "/tmp/dbg.log", [Internal tracing option])
   57         AC_MSG_RESULT(yes);
   58       fi
   59     ],
   60 	[
   61 dnl none was given
   62       AC_MSG_RESULT(no);
   63 	])
   64 
   65 fi
   66 
   67 if test "$PHP_DBG" != "no"; then
   68   PHP_EXTENSION(dbg, $ext_shared)
   69 fi
   70 
   71 dnl ## Local Variables:
   72 dnl ## tab-width: 4
   73 dnl ## End: