summaryrefslogtreecommitdiff
path: root/lib/sbin/CreateConfigurationBindings.pl
Commit message (Collapse)AuthorAge
* Add the prefix "cctki_" to the auto-generated header files forschnetter2005-11-21
| | | | | | | | capabilities. This prevents name clashes with e.g. system header files. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4201 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove auto-generated capability files if they should not existschnetter2005-11-21
| | | | | | | (e.g. if a thorn's configuration.ccl has changed). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4200 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct handling of newline characters and spaces when writing theschnetter2005-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configuration bindings. When reading the configuration settings from the output of the configuration scripts (that provide capabilities), new lines were lost in certain circumstances. This lead to makefile fragments like PETSC_DIR = /usr/local/apps/petscPETSC_ARCH = linux which are obviously incorrect (since these should be two lines, not one), although this does not lead to errors or warnings. This patch makes sure that all configuration settings have newline characters appended or blanks prepended as they are concatenated into the internal database (ConfigScriptParser.pl). When the database is read out, the strings can just be printed to the file (CreateConfigurationBindings.pl). While doing this, this patch also removes some superfluous blanks and newline characters from the output of the configuration settings. This patch also removes a perl idiosyncracy when appending newline characters to a string. It changes code like "#endif" . "\n" to "#endif\n". Tested on Mac OS and Red Hat Linux. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4199 17b73243-c579-4c4c-a9d2-2d5706c11dac
* configuration.ccl fix. Please test and report if anything breaksyye002005-08-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4109 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undo last commit totradke2005-03-08
| | | | | | | | | make/make.configuration sbin/CreateConfigurationBindings.pl because it broke compiling of capability-requiring thorns (eg. CactusIO/IOSDF). git-svn-id: http://svn.cactuscode.org/flesh/trunk@3998 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Yaakoub to fix some problems with configuration.ccl stuffgoodale2005-03-04
| | | | | | | | | and reorganise directories. Note the patch to CreateConfigurationBindings.pl is from 1.3 of that file, and, hopefully, fixes the same problems that 1.4 did. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3997 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed generation of makefile includes for thorns providing and/or (optionally)tradke2005-02-22
| | | | | | | requiring capabilities. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3993 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Trying to bring the condiguration stuff up to standard.goodale2004-08-18
| | | | | | | | Now should be consistent with docs (once I update those), plus prints out messages output by scripts. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3845 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Latest changes from Yaakoub.goodale2004-04-07
| | | | | | | | | | Error code of thorn-provided script is checked. LIBS and LIBDIRS should end up in correct places on link line. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3650 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Implementation of configuration.ccl spec from Yaakoub Y El-Khamra.goodale2004-03-26
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3602 17b73243-c579-4c4c-a9d2-2d5706c11dac