summaryrefslogtreecommitdiff
path: root/lib/make/aclocal.m4
Commit message (Collapse)AuthorAge
* New functions to help checking for functions and libraries.goodale2000-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In CCTK_Functions.sh: CCTK_AddPrefix(prefix, list) CCTK_AddSuffix(suffix, list) CCTK_Wrap(prefix, suffix, list) which manipulate the list in the obvious way. In aclocal.m4: CCTK_CHECK_FUNCS CCTK_CHECK_LIB with same functionality as the equivalent AC ones, except they use LIBS and LIBDIRS as used in the rest of the cactus make system. CCTK_CHECK_LIB_FUNC which checks for a function in a particular library, and defined both HAVE_LIB[LIB] and HAVE_FUNC. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1881 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added new second argument to CCTK_CHECK_HEADERS. This is code which shouldgoodale2000-09-15
| | | | | | | | | | be placed before #include <...> in the test program. E.g. to make sure something else is included first. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1818 17b73243-c579-4c4c-a9d2-2d5706c11dac
* bug fix for the misconfiguration, saving LIB in a different variable and ↵lanfer2000-08-31
| | | | | | restoring value later git-svn-id: http://svn.cactuscode.org/flesh/trunk@1803 17b73243-c579-4c4c-a9d2-2d5706c11dac
* autoconf test marco: check if the system knows about socklen_t (t3e does ↵lanfer2000-08-25
| | | | | | not, eg.). Set CCTK_SOCKLEN_T to socklen_t or int otherwise git-svn-id: http://svn.cactuscode.org/flesh/trunk@1799 17b73243-c579-4c4c-a9d2-2d5706c11dac
* A few more checks for things. Now looks for regex.h and getopt.h andgoodale2000-05-14
| | | | | | | | | | if they don't exist it sets the make variables BUILD_REGEX and BUILD_GETOPT to no, otherwise they are yes. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1659 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Preliminary support for cross-compilation.goodale2000-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting BUILD=, or HOST=, or TARGET= will pass --build=, ... to the configure process. If cross compiling you need to set ENDIAN - either big or little SIZEOF_LONG_INT SIZEOF_INT SIZEOF_SHORT_INT SIZEOF_LONG_DOUBLE SIZEOF_DOUBLE SIZEOF_SHORT SIZEOF_POINTER otherwise you'll get an error. You may also set NULL_DEVICE to tell it the location of the null device. If you don't set this you'll just get a warning, and it will default to /dev/null. This is weakly tested, as I am limited in what I can cross compile for. Fixed semantics for DEBUG to be as in previous commit, except DEBUG=DEFINES define CCTK_DEBUG and not DEBUG in the header files. Partially dealt with PR 340 -- -g -O2 no longer automatically appear as the compilation flags. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1652 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More configuration stuff. Should now properly detect a lot ofgoodale1999-10-21
| | | | | | | | | the standard timing stuff. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1077 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some more configuration stuff. Have started splitting nasty stuff offgoodale1999-10-21
into an aclocal.m4 file. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1075 17b73243-c579-4c4c-a9d2-2d5706c11dac