ForceAnnealing_tocheck
|
Last change
on this file since 175543 was 4ecb2d, checked in by Frederik Heber <heber@…>, 9 years ago |
|
Moved LinearAlgebra sub-package into ThirdParty folder.
- needed to adapt location of libLinearAlgebra.la in all Makefile.am's.
- relinked m4 subfolder, relinked am_doxygen_include.am. Both point to those
present in molecuilder parent folder.
- adapted configure.ac's:
|
-
Property mode
set to
100644
|
|
File size:
631 bytes
|
| Rev | Line | |
|---|
| [bf4b9f] | 1 | AT_SETUP([Checking for present config.h include])
|
|---|
| [f281c5] | 2 | AT_KEYWORDS([CodeCheck config_h])
|
|---|
| [bf4b9f] | 3 | ok=""
|
|---|
| 4 | echo `pwd`
|
|---|
| 5 | echo "${#ok[*]} are ok to not contain config.h: ${ok[*]}."
|
|---|
| 6 | liste=`find ${abs_top_srcdir}/src -name '*.?pp'`
|
|---|
| 7 | for file in $liste
|
|---|
| 8 | do
|
|---|
| 9 | # check whether its one of the excluded ones
|
|---|
| 10 | found=0
|
|---|
| 11 | for item in $ok
|
|---|
| 12 | do
|
|---|
| 13 | if test "$item" == "`basename $file`"
|
|---|
| 14 | then
|
|---|
| 15 | found=1
|
|---|
| 16 | break
|
|---|
| 17 | fi
|
|---|
| 18 | done
|
|---|
| 19 | # if not, check whether it contains the include
|
|---|
| 20 | if test $found -eq 0
|
|---|
| 21 | then
|
|---|
| 22 | AT_CHECK([egrep -q '^#include.*config.h' $file], 0, [ignore], [ignore], [echo "Could not find config.h include in $file."])
|
|---|
| 23 | fi
|
|---|
| 24 | done
|
|---|
| 25 | AT_CLEANUP
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.