Commit 45859a43 authored by simonmar's avatar simonmar

[project @ 2002-12-19 11:28:58 by simonmar]

Avoid using a variable for the first argument of AC_DEFINE_UNQUOTED,
because autoheader doesn't like it.
parent 70baf4b5
dnl $Id: aclocal.m4,v 1.109 2002/12/11 16:37:16 simonmar Exp $
dnl $Id: aclocal.m4,v 1.110 2002/12/19 11:28:58 simonmar Exp $
dnl
dnl Extra autoconf macros for the Glasgow fptools
dnl
......@@ -703,7 +703,6 @@ dnl This is set up so that the argument can be a shell variable.
dnl
AC_DEFUN(FPTOOLS_CHECK_CCONST,
[
eval "def_name=CCONST_$1"
eval "cv_name=ac_cv_cconst_$1"
AC_MSG_CHECKING(value of $1)
AC_CACHE_VAL($cv_name,
......@@ -721,7 +720,7 @@ eval "$cv_name=-1",
eval "$cv_name=-1")])dnl
eval "fptools_check_cconst_result=`echo '$'{$cv_name}`"
AC_MSG_RESULT($fptools_check_cconst_result)
AC_DEFINE_UNQUOTED($def_name, $fptools_check_cconst_result)
AC_DEFINE_UNQUOTED(CCONST_$1, $fptools_check_cconst_result)
unset fptools_check_cconst_result
])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment