[LLVMdev] RFC: configure.ac

Bill Wendling isanbard at gmail.com
Wed Dec 12 14:52:47 PST 2007

Hi all,

I got this warning during configuration:

line 4186: ,: command not found

It looks like this is the culprit:

case $ac_cv_c_bigendian in

(note the ',')

This looks like it could possibly fix the problem. I don't have an
autoconf that won't mess things up, though.



Index: autoconf/configure.ac
--- autoconf/configure.ac	(revision 44957)
+++ autoconf/configure.ac	(working copy)
@@ -227,9 +227,9 @@

 dnl Check for the endianness of the target
                 AC_DEFINE([MSB_FIRST], [1], [Define if this target is
big endian])],
-               [AC_SUBST([ENDIAN],[little]),
+               [AC_SUBST(ENDIAN,[little]),
                 AC_DEFINE([LSB_FIRST], [1], [Define if this target is
little endian])])

 dnl Check for build platform executable suffix if we're crosscompiling

More information about the llvm-dev mailing list