autoconf
How to check Linux version with Autoconf?
My program requires at least Linux 2.6.26 (I use timerfd and some other Linux-specific features). I have an general idea how to write this macro but I don\'t have enough knowledge about writingtest m[详细]
2023-01-02 05:44 分类:问答How can I escape paths with spaces inside AC_CONFIG_SRCDIR
I need to include some paths in AC_CONFIG_SRCDIR which contain spaces. How should I escape them? For example, if I have \"some开发者_JAVA百科 file.in\", how should I declare it in:[详细]
2023-01-01 16:08 分类:问答configure.in: AM_DISABLE_SHARED doesn't change my Makefile
I\'m extremely new to using Makefiles and autoconf. I\'m using the Camellia image library and trying to statically link my code against their libraries. When I run \"make\" on the Camellia image libra[详细]
2022-12-30 04:38 分类:问答What is ltmain.sh, and why does automake say it is missing? What is a good auto (make/conf/etc) generator?
I just want to develop a C app in linux with the auto(make/conf/...) stuff automatically generated. I tried generating it with ede and anjuta, but it doesn\'t seem to generate Makefile.am. So, I tried[详细]
2022-12-29 16:58 分类:问答CFLAGS vs CPPFLAGS
I understand that CFLAGS (or CXXFLAGS for C++) are for the compiler, whereas CPPFLAGS is used by the preprocessor.[详细]
2022-12-28 17:38 分类:问答Autoconf -- including a static library (newbie)
I am trying to migrate my application from manual build to autoconf, which is working very nicely so far.But I have one static library that I can\'t figure out how to integrate.That library will NOT b[详细]
2022-12-28 16:10 分类:问答argument order in cygwin gcc 4.3 matters when linking with glib-2.0
I am trying to compile code that works on os x and linux using cygwin.However, I am finding that the argument order to gcc gives unanticipated results.[详细]
2022-12-27 06:41 分类:问答Autoconf macro for Boost MPI?
I\'m searching an autoconf macro to use in my configure.ac that checks for Boost MPI. It\'s not hard to find a couple of them on the Internet but none of the one I tried worked as expected.[详细]
2022-12-26 09:05 分类:问答./configure with a specified version of g++
How 开发者_开发技巧to tell to a \'configure\' file to compile with a specified version of g++ ?[详细]
2022-12-26 05:51 分类:问答Conflicting PACKAGE_NAME and other macros when using autotools
When using autotools (with a config.h file) for both a library, and a software built on that library, the compiler complains about a redefinition of some macros (PACKAGE_NAME, PACKAGE_TARNAME and so o[详细]
2022-12-26 03:10 分类:问答