[BACK]Return to configure.in CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / othersrc / dist / cdk

Annotation of othersrc/dist/cdk/configure.in, Revision 1.1

1.1     ! garbled     1: dnl
        !             2: dnl Process this file with autoconf to produce a configure script.
        !             3: dnl
        !             4: AC_INIT(include/cdk.h)
        !             5: AC_CONFIG_HEADER(include/cdk_config.h:include/config.hin)
        !             6:
        !             7: CF_CHECK_CACHE
        !             8:
        !             9: dnl
        !            10: dnl Checks for programs.
        !            11: dnl
        !            12: AC_PROG_CC
        !            13: AC_PROG_CPP
        !            14: AC_PROG_GCC_TRADITIONAL
        !            15: AC_PROG_RANLIB
        !            16: AC_PROG_INSTALL
        !            17:
        !            18: AC_C_CONST
        !            19:
        !            20: CF_DISABLE_ECHO
        !            21: CF_PROG_EXT
        !            22: CF_LIB_PREFIX
        !            23:
        !            24: AC_ARG_WITH(warnings,
        !            25: [  --with-warnings         turn on gcc warnings, for debugging ],[
        !            26:        CF_GCC_ATTRIBUTES
        !            27:        CF_GCC_WARNINGS
        !            28: ])
        !            29:
        !            30: dnl
        !            31: dnl Checks for libraries.
        !            32: dnl
        !            33:
        !            34: AC_MSG_CHECKING(if you want to link with dbmalloc for testing)
        !            35: AC_ARG_WITH(dbmalloc,
        !            36:        [  --with-dbmalloc         test: use Conor Cahill's dbmalloc library],
        !            37:        [with_dbmalloc=$withval],
        !            38:        [with_dbmalloc=no])
        !            39: AC_MSG_RESULT($with_dbmalloc)
        !            40: if test $with_dbmalloc = yes ; then
        !            41:        AC_CHECK_LIB(dbmalloc,debug_malloc)
        !            42: fi
        !            43:
        !            44: AC_MSG_CHECKING(if you want to link with dmalloc for testing)
        !            45: AC_ARG_WITH(dmalloc,
        !            46:        [  --with-dmalloc          test: use Gray Watson's dmalloc library],
        !            47:        [with_dmalloc=$withval],
        !            48:        [with_dmalloc=no])
        !            49: AC_MSG_RESULT($with_dmalloc)
        !            50: if test $with_dmalloc = yes ; then
        !            51:        AC_CHECK_LIB(dmalloc,dmalloc_debug)
        !            52: fi
        !            53:
        !            54: dnl
        !            55: dnl Checks for header files.
        !            56: dnl
        !            57: AC_HEADER_DIRENT
        !            58: AC_HEADER_STDC
        !            59: AC_CHECK_HEADERS(\
        !            60: limits.h \
        !            61: unistd.h \
        !            62: )
        !            63:
        !            64: dnl
        !            65: dnl Checks for typedefs, structures, and compiler characteristics.
        !            66: dnl
        !            67: AC_TYPE_MODE_T
        !            68: AC_STRUCT_TM
        !            69: CF_CURSES_CHTYPE
        !            70: CF_GETOPT_HEADER
        !            71:
        !            72: dnl
        !            73: dnl Checks for library functions.
        !            74: dnl
        !            75: AC_TYPE_SIGNAL
        !            76: AC_CHECK_FUNCS(\
        !            77: getcwd \
        !            78: mktime \
        !            79: radixsort \
        !            80: strdup \
        !            81: strerror \
        !            82: )
        !            83:
        !            84: CF_FUNC_LSTAT
        !            85:
        !            86: dnl Check for curses libraries last, since XCurses has dependencies which
        !            87: dnl break the checks for other functions.
        !            88: AC_ARG_WITH(ncurses,
        !            89:        [  --with-ncurses          compile/link with ncurses library],
        !            90:        [
        !            91:        CF_NCURSES_CPPFLAGS
        !            92:        CF_NCURSES_LIBS
        !            93:        ],
        !            94:        [
        !            95: dnl    AC_ARG_WITH(pdcurses,
        !            96: dnl            [  --with-pdcurses         compile/link with pdcurses X11 library],
        !            97: dnl            [
        !            98: dnl            CF_PDCURSES_X11
        !            99: dnl            ],
        !           100: dnl            [
        !           101:                CF_CURSES_LIBS
        !           102: dnl            ])
        !           103:        ])
        !           104:
        !           105: CF_CURSES_FUNCS(start_color)
        !           106:
        !           107: dnl
        !           108: dnl Set pre-processor compile time variables.
        !           109: dnl
        !           110: AC_OUTPUT(Makefile examples/Makefile demos/Makefile,,,sort)

CVSweb <webmaster@jp.NetBSD.org>