QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3324|回复: 3

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

[复制链接]
发表于 2003-12-10 14:33:21 | 显示全部楼层 |阅读模式
小弟最近在学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([list.h])
AC_CONFIG_HEADER([config.h])

# Checks for programs.
AC_PROG_CC

# Checks for libraries.

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([malloc.h stdlib.h])

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

# Checks for library functions.
AC_FUNC_MALLOC
AC_OUTPUT
发表于 2004-3-28 15:12:04 | 显示全部楼层
学会google autoconfig教程总是好的
回复

使用道具 举报

发表于 2004-10-13 13:35:49 | 显示全部楼层
info autoconf
可以找到一套文档的.
回复

使用道具 举报

发表于 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... ;-)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-7 05:08 , Processed in 0.069603 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表