summaryrefslogtreecommitdiff
path: root/lib/make/configure
Commit message (Collapse)AuthorAge
* Removed g++ warnings which are only valid for C (not for C++).tradke2003-02-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3131 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved the check for 'inline', along with checks for 'working const' andtradke2002-11-05
| | | | | | | | | | | | 'restrict', further down in the configure process, namely after checking for the availability of C++ header files 'vector, vector.h'. This is to at least bypass a problem with a broken AC_C_INLINE macro which doesn't protect its '#define inline <...>' with '#ifndef __cplusplus' in the autoconf-temporary confdefs.h header file. Which would then cause following tests for C++ headers to fail (as happened on the IBM Regatta with xlC). git-svn-id: http://svn.cactuscode.org/flesh/trunk@3023 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add #defines for the machine Cactus is being built on.allen2002-09-16
| | | | | | | CCTK_BUILD_OS, CCTK_BUILD_CPU, CCTK_BUILD_VENDOR git-svn-id: http://svn.cactuscode.org/flesh/trunk@3003 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Erik's patch to also check for the '__restrict__' or '__restrict' keywordstradke2002-08-30
| | | | | | | | being recognized by the C compiler as the restrict qualifier. This closes PR Cactus 1112. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2990 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed the default optimization option for g77 from '-O' to '-O2'.tradke2002-06-26
| | | | | | | This closes PR Cactus/1103. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2915 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for availability of <sys/ioctl.h>.tradke2002-06-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2883 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for availability of <sys/filio.h> which is needed for socket I/O code.tradke2002-05-31
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2882 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support for the C99 restrict keyword. This is dealt with in the samegoodale2002-05-07
| | | | | | | | | | | | | | | | | | | | | | way as the const keyword - i.e. if it exists we do #define restrict restrict and if it doesn't exist we do #define restrict so it is safe to start using the restrict keyword in your C files, they will still compile with compilers which don't support restrict. Note that if you had a local variable called 'restrict' in C you will get an error message, however you would have received one anyway when compiling with a C99 compliant compiler. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2796 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for DEBUG="no". This closes PR Cactus/952.tradke2002-03-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2675 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for DEBUG to have a valid setting.tradke2002-03-25
| | | | | | | Check for OPTIMIZE in addition to OPTIMISE. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2666 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Expand the NULL_DEVICE define in cctk_Config.h when cross-compiling.tradke2002-03-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2657 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for availability of <dirent.h>.tradke2002-01-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2574 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed check for scandir(3) which isn't used anymore in IOUtil.tradke2001-12-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2527 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added function CCTK_WriteFiles which compares file against old version andgoodale2001-06-25
| | | | | | | | | | | | | | | | | only overwrites if the new version is genuinely new. Now CCTK_CreateFile saves a list of files it has created. Changed the stuff in configure.in to use CCTK_CreateFile to create the architecture and extras files and to always use CCTK_WriteLine to write to a file. Now if you reconfigure with precisely the same config options you don't end up rebuilding the whole configuration if you have MPI or HDF5. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2248 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use C_WARN_FLAGS to build CXX_WARN_FLAGS only if CC is gcc.tradke2001-06-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2237 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added some more options to C_WARN_FLAGS and CXX_WARN_FLAGS resp.tradke2001-06-18
| | | | | | | | | if the C/C++ compiler is gcc/[cg]++. Since this is set by configure now it will be used for all architectures (not just Linux). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2236 17b73243-c579-4c4c-a9d2-2d5706c11dac
* With my latest commit I accidentally removed MKDIR and MKDIRFLAGStradke2001-06-13
| | | | | | | | from the configure script. Of course, these are still used by the make system. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2229 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Get rid of FMODIFIER (DEPRECATED IN BETA 9) and MKDIR/MKDIRFLAGS whichtradke2001-06-12
| | | | | | | aren't used anymore in the code. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2225 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for isnan.goodale2001-05-16
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2189 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing defualt of RANLIBFLAGS from 'cs' to '-cs' since the '-' seems to begoodale2001-05-14
| | | | | | | | | necessary on Darwin. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2181 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding RANLIBFLAGS to pass arguments to ranlib. Default is "cs".goodale2001-05-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2180 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added optional use of ranlib to create archoive indices.goodale2001-05-11
| | | | | | | | | | A known-architecture file or the config line can now set USE_RANLIB=yes to have the make system use ranlib. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2174 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added configure check for finite(3).tradke2001-04-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2135 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added check for PTHREADS libs (c_r, pthread, pthreads).tradke2001-04-05
| | | | | | | | | | Removed check for mkdir(2) since this information isn't used anywhere in the code. Moved the 'extras/*/setup.sh' stuff to the end of configuration so that it can use information from the main configure script. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2092 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix for Cactus/547 and more.allen2001-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hopefully configuring with and without the different fortran compilers now works. You can (hopefully) say F90=none and/or F77=none and get no complaints about unknown compilers and get all the underscores sorted out. In doing this I removed for now the F90_NOT_SET that I had put in before so that you get a semi decent line if you try and compile a fortran file with no fortran compiler since it was stretching my logic capabilities. Now you will get a less decent line, but it will still say "none" for the compiler rather than saying nothing. I'll try and remember to put it back. I'm think we can easily add the ability to have different F77 and F90 compilers as well, so long as they have the same underscore behaviour, but probably noone needs that. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2074 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix for problem Tom spotted with how I set F90/F77 to descriptive stringsallen2001-01-13
| | | | | | | | if no compilers are found. This fix stops the perl script trying to compile a test program to look for C-Fortran name translation if there is no compiler. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1988 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set F90 and F77 compilers to a explanatory string if they are not setallen2001-01-12
| | | | | | | | | | during configuration to prevent bizarre errors when compiling fortran code without a compiler set. Fixes Cactus/497 git-svn-id: http://svn.cactuscode.org/flesh/trunk@1987 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Will use F77FLAGS for F77 compilation if given, rather than using F90FLAGS.goodale2000-12-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1967 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add F90_SUFFIX make variable for freeformat f90 suffix. This shouldgoodale2000-12-17
| | | | | | | | | help with PR 224. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1963 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing path to perl script under non-cygwin stuff which was broken by my lastgoodale2000-12-10
| | | | | | | | | commit. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1919 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added removal of 'cygdrive' from path to perl script, to work with latestgoodale2000-12-10
| | | | | | | | | cygwin. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1918 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Search for gethostbyname(3) also in libnls.so.tradke2000-11-04
| | | | | | | Now this function gets detected properly on Solaris machines. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1883 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing to use CCTK_CHECK_LIB for ucb and scandir.goodale2000-11-04
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1882 17b73243-c579-4c4c-a9d2-2d5706c11dac
* 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 detection of scandir(3) under Solaris where it is in /usr/ucb/libucb.a.tradke2000-11-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1877 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Looking for __int64. This provides us with an 8 byte int under NT.goodale2000-10-31
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1875 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Checking if SOCKET is defined in the network stuff.goodale2000-10-31
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1873 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added LIBNAME_PREFIX and LIBNAME_SUFFIX to allow libraries to be namedgoodale2000-10-31
| | | | | | | | | | | | | differently on some architectures (e.g. NT). Removed fallback definition for GENERAL_LIBRARIES in make.configuration, and added fallback definitions for LIBNAME_PREFIX and LIBNAME_SUFFIX so old configurations should still work. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1872 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for gethostbyname and #define HAVE_GETHOSTBYNAME if it's available.goodale2000-10-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1869 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added check for sizeof(long long) as another candidate for eight byte ints.goodale2000-10-04
| | | | | | | | | This has added another thing which needs to be set when cross-compiling. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1850 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Checking for and #defining, another couple of networking header files.goodale2000-09-16
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1820 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added check for crypt.h.goodale2000-09-15
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1819 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
* Checking for another header for the network stuff.goodale2000-09-15
| | | | | | | | | | Preliminary check for crypt(3). Only tries the standard library so far. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1817 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Checking for additional headers for socket stuff.goodale2000-09-14
| | | | | | | | | | | | | Now defines HAVE_SOCKLEN_T if socklen_t exists. Have modified so CCTK_SOCKLEN_T gets set depending on the value of the HAVE_SOCKLEN_T, but, if this new config stuff works, would like to lose the CCTK_SOCKLEN_T stuff. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1816 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Can now pass CXX=none to the configure line. The checks for CXX are thengoodale2000-09-01
| | | | | | | | | | bypassed in the configure script, and flesh.cc is compiled as C rather than C++. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1807 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
* Detect if the C++ compiler defines bool, if not, do a typedef.goodale2000-07-18
| | | | | | | | | This is needed, for example, for xlC. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1758 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added check for getopt_long_only. This should hopefully fixgoodale2000-05-15
| | | | | | | | | PR 354. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1665 17b73243-c579-4c4c-a9d2-2d5706c11dac