X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac.m4;h=3e36e00f792f1921ca4ca76b87c87822be7c5dc8;hp=39ef877205fab7ff1bf8fc8cd9719d703e4fd316;hb=fa13c6831b809abdae9eb2c17b33d2eff8e4878c;hpb=4a2bfea67bf250ebd88778f616dab442df2510fd;ds=sidebyside diff --git a/ginac.m4 b/ginac.m4 index 39ef8772..3e36e00f 100644 --- a/ginac.m4 +++ b/ginac.m4 @@ -10,15 +10,15 @@ dnl AM_PATH_GINAC([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) dnl Test for GiNaC, and define GINACLIB_CPPFLAGS and GINACLIB_LIBS dnl -AC_DEFUN(AM_PATH_GINAC, +AC_DEFUN([AM_PATH_GINAC], [dnl dnl Get the cppflags and libraries from the ginac-config script dnl -AC_ARG_WITH(ginac-prefix,[ --with-ginac-prefix=PFX Prefix where GiNaC is installed (optional)], +AC_ARG_WITH(ginac-prefix, AC_HELP_STRING([--with-ginac-prefix=PFX], [Prefix where GiNaC is installed (optional)]), ginac_prefix="$withval", ginac_prefix="") -AC_ARG_WITH(ginac-exec-prefix,[ --with-ginac-exec-prefix=PFX Exec prefix where GiNaC is installed (optional)], +AC_ARG_WITH(ginac-exec-prefix, AC_HELP_STRING([--with-ginac-exec-prefix=PFX], [Exec prefix where GiNaC is installed (optional)]), ginac_exec_prefix="$withval", ginac_exec_prefix="") -AC_ARG_ENABLE(ginactest, [ --disable-ginactest Do not try to compile and run a test GiNaC program], +AC_ARG_ENABLE(ginactest, AC_HELP_STRING([--disable-ginactest], [Do not try to compile and run a test GiNaC program]), , enable_ginactest=yes) if test x$ginac_exec_prefix != x ; then @@ -91,7 +91,7 @@ dnl match the version of the headers and the version built into the library, too prototype for exit() that conflicts with the one in stdlib.h */ extern "C" int system(const char *); -int main(void) +int main() { int major, minor, micro; char *tmp_version;