configure.in

来自「open source for car navigation in linux」· IN 代码 · 共 56 行

IN
56
字号
dnl Configure template for the LinuxCar package.dnl Process this file with autoconf to produce a configure script.#if you want to force configure to use the default C compiler cc## then uncomment the following line.#CC=ccAC_INIT(recGPS/recGPS.c)AM_INIT_AUTOMAKE(LinuxCar, 0.0.1)dnl Checks for programs.AC_PROG_CCAC_PROG_RANLIBdnl Checks for libraries.AC_CHECK_LIB(jeeps, GPS_Init)AC_CHECK_LIB(pthread, pthread_create)dnl Checks for header files.AC_HEADER_STDCAC_CHECK_HEADERS(syslog.h unistd.h)dnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTdnl Checks for library functions.AC_CHECK_FUNCS(strerror)CFLAGS="-O"dnl Test if --enable-debug givenAC_ARG_ENABLE(debug,[  --enable-debug          debug (-g option on compiler)])if test "${enable_debug}" = "yes" ; then  CFLAGS="-g"fidnl Test if --enable-debug givenAC_ARG_ENABLE(warnings,[  --enable-warnings          warnings (-Wall option on compiler)])if test "${enable_warnings}" = "yes" ; then  CFLAGS="$CFLAGS -Wall"fidnl Set extra needed compiler flagsAC_CANONICAL_HOSTif test "$CC" = "cc"; then  case "$host" in    alpha*-dec-osf*) CFLAGS="$CFLAGS -ieee";;  esacfiAC_OUTPUT(liblc_common/Makefile recGPS/Makefile GPSdisp/Makefile Makefile)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?