summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-03-28 00:33:27 +0100
committerKevin Ryde <user42@zip.com.au>2002-03-28 00:33:27 +0100
commit9c6c2c11b4af2949c32d4d7324b94fe7612d76d4 (patch)
treed45e0a75be1a1e9330be5e3ecf03f40019ad4407 /configure.in
parent87300a0fd2d490c686eab819fa0a09c184edb82a (diff)
downloadgmp-9c6c2c11b4af2949c32d4d7324b94fe7612d76d4.tar.gz
* demos/expr/run-expr.c: Declare optarg, optind, opterr if necessary.
* configure.in, demos/expr/expr-config-h.in: Configs for this.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index e4c0f1b1e..ff270fa18 100644
--- a/configure.in
+++ b/configure.in
@@ -2015,6 +2015,11 @@ if test $enable_mpfr = yes; then
else
HAVE_MPFR_01=0
fi
+if test $ac_cv_have_decl_optarg = yes; then
+ AC_SUBST(HAVE_DECL_OPTARG, 1)
+else
+ HAVE_DECL_OPTARG=0
+fi
# Create config.m4.