关于autoconf

1 the difference between AC_ARG_ENABLE and AC_ARG_WITH

AC_ARG_ENABLE是enable一个feature,该feature所对应的源码包括在本软件的源码中,

该选项是控制该源码对应的feature要不要被支持。

AC_ARG_WITH是只是系统需要安装一个外部的软件包,在configure.ac中会按照它自己的

规则去相应的文件夹中检查使用该软件包中的api对应的该头文件是不是可以找到,如果找不到

就会让我们指定该软件包的位置,我们可以用--with-XXX=path来指定该软件包的位置。然后

autoconf就可以找到该头文件了。

gcc的ld和as到底是如何指定的?

时间: 2024-08-02 15:10:23

关于autoconf的相关文章

图解aclocal、autoconf、automake、autoheader、configure

原文地址:http://hi.baidu.com/yzkuang/blog/item/557e4f24423d8136c9955908.html 1.autoscan (autoconf): 扫描源代码以搜寻普通的可移植性问题,比如检查编译器,库,头文件等,生成文件configure.scan,它是configure.ac的一个雏形. 2.aclocal (automake):根据已经安装的宏,用户定义宏和acinclude.m4文件中的宏将configure.ac文件所需要的宏集中定义到文件

CentOS6.5升级autoconf版本 Autoconf version 2.64 or higher is required

安装软件时提示说需要Autoconf 2.64或更高的版本 [[email protected] twemproxy]# autoconf configure.ac:8: error: Autoconf version 2.64 or higher is required configure.ac:8: the top level autom4te: /usr/bin/m4 failed with exit status: 63 查询当前版本 [[email protected] twempro

phpize报cannot find autoconf

突然想往php种增加个模块,可是又不想重新编译php,因为真的比较费时间. phpize就可以解决这个问题. cd到php的源代码目录,进入ext. 比如我的工作当做就需要追加mysqli模块,进入mysqli目录. [[email protected] mysqli]$ pwd /home/vagrant/download/php-5.5.11/ext/mysqli 执行phpize, 咦,报错了!! [[email protected] mysqli]$ phpize Configuring

autoconf,automake,libtool

(1)autoscan, automake, autoconf 之间的协作关系 (2)libtool o: 编译的目标文件 a: 静态库,其实就是把若干o文件打了个包 so: 动态链接库(共享库) lo: 使用libtool编译出的目标文件,其实就是在.o文件中添加了一些信息. la: 使用libtool编译出的库文件,其实是个文本文件,记录同名动态库和静态库的相关信息和依赖关系.该文件中的dependency_libs变量记录该库依赖的所有库(可以是so.a.la文件):libdir变量为库的

大型项目使用Automake/Autoconf完成编译配置

使用过开源C/C++项目的同学们都知道,标准的编译过程已经变成了简单的三部曲:configure/make/make install, 使用起来很方便,不像平时自己写代码,要手写一堆复杂的Makefile,而且换个编译环境,Makefile还需要修改(Eclipse也是这样). 这么好的东东当然要拿来用了,但GNU的Autotool系列博大精深,工具数量又多,涉及的语言也多,要是自己从头看到尾,黄花菜都凉了,项目估计早就结束了:上网搜样例倒是有一大堆,但都是“hello world”的样例,离真

《Linux内核Makefile分析》之 auto.conf, auto.conf.cmd, autoconf.h【转】

转自:http://blog.sina.com.cn/s/blog_87c063060101l25y.html 转载:http://blog.csdn.net/lcw_202/article/details/6661364 在编译构建性目标时(如 make vmlinux),顶层 Makefile 的 $(dot-config) 变量值为 1 . 在顶层 Makefile 的 497-504 行看到: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

Cannot find autoconf. Please check your autoconf installation

运行/usr/local/webserver/php/bin/phpize时出现:Configuring for:PHP Api Version:         20041225Zend Module Api No:      20060613Zend Extension Api No:   220060519Cannot find autoconf. Please check your autoconf installation and the$PHP_AUTOCONF environmen

automake/autoconf的简单例子

项目一 helloworld 整个基础上仅有一个helloworld.c文件,功能也非常简单,只是向屏蔽输出一句hello. 新建一个helloworld目录,然后在里面新建一个文件helloworld.c,内容为: #include <stdio.h> int main(int argc, char **agrv) { printf("Hello, Merlin\n"); return 0; } 执行命令autoscan生成一个架构configure.scan,将其重新命

在mac os 中安装 autoconf and automake

转载地址:http://www.mattvsworld.com/blog/2010/02/install-the-latest-autoconf-and-automake-on-mac-os-10-6/ I noticed today that while Mac OS 10.6 (specifically, 10.6.2) comes with automake and autoconf, the versions are a little bit dated. Normally I woul