Browse Source

test for awk

pre-master-46
h_vogt 16 years ago
parent
commit
9f503c6c3f
  1. 3
      ChangeLog
  2. 11
      autogen.sh

3
ChangeLog

@ -1,7 +1,8 @@
2010-08-19 Holger Vogt
* configure.in: add TCLCYG
* autogen.sh: if --adms is selected, read the section from configure.in
and store it in AC_CONFIG_FILES of temporary temp-adms.ac
and store it in AC_CONFIG_FILES of temporary temp-adms.ac.
Testing for availability of awk
Tested with MINGW, CYGWIN, SUSE Linux, may need more tests on other OSs!
2010-08-17 Dietmar Warning

11
autogen.sh

@ -54,6 +54,15 @@ fi
exit 1
}
check_awk()
{
(awk --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have awk installed to compile $PROJECT with --adms."
exit 1
}
}
check_autoconf()
{
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
@ -128,6 +137,8 @@ test $TEST_TYPE $FILE || {
# only for --adms:
if test "$ADMS" -eq 1; then
check_awk
# sed 's/tests\/vbic\/Makefile/tests\/vbic\/Makefile\
# src\/spicelib\/devices\/adms\/ekv\/Makefile\
# src\/spicelib\/devices\/adms\/hicum0\/Makefile\

Loading…
Cancel
Save