ttjswdy 发表于 2003-12-10 14:33:21

哪位高手能解释一下configure.in里的一些宏的意思

小弟最近在学autoconf和automake,用autoscan生成的configure.in文件里的宏如下,那位大侠能不能解释一下那些基本的常用宏是什么意思,怎样用?谢谢


# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.57)
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
AC_CONFIG_SRCDIR()
AC_CONFIG_HEADER()

# Checks for programs.
AC_PROG_CC

# Checks for libraries.

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS()

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

# Checks for library functions.
AC_FUNC_MALLOC
AC_OUTPUT

wushuang 发表于 2004-3-28 15:12:04

学会google autoconfig教程总是好的

释雪 发表于 2004-10-13 13:35:49

info autoconf
可以找到一套文档的.

tii 发表于 2004-10-14 12:30:58

read FSF's autoconf/automake/libtool manual, or read the following book:
http://sources.redhat.com/autobook/autobook/autobook_toc.html

it's much faster than asking question and waiting for answers here.

who said that? shut the f*ck up and do something... ;-)
页: [1]
查看完整版本: 哪位高手能解释一下configure.in里的一些宏的意思