# HG changeset patch # User Mike Miller # Date 1381296518 14400 # Node ID 3a7d5d655749d721599aa76f22797b1bd9d64bfd # Parent ce7b9abf6600fa3c2a592501c2cba7a7417b7c0c Fix typos in configure tests for LLVM methods (bug #39973) * acinclude.m4 (OCTAVE_LLVM_CALLINST_ADDATTRIBUTE_API): Add extra pair of m4 quotes. (OCTAVE_LLVM_FUNCTION_ADDFNATTR_API): Fix typo in LLVM ifdef and include paths for LLVM header files. diff -r ce7b9abf6600 -r 3a7d5d655749 m4/acinclude.m4 --- a/m4/acinclude.m4 Wed Oct 09 01:10:14 2013 -0400 +++ b/m4/acinclude.m4 Wed Oct 09 01:28:38 2013 -0400 @@ -1467,7 +1467,7 @@ [octave_cv_callinst_addattribute_arg_is_attributes], [AC_LANG_PUSH(C++) AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([ + [AC_LANG_PROGRAM([[ #ifdef HAVE_LLVM_IR_FUNCTION_H #include #include @@ -1475,7 +1475,7 @@ #include #include #endif - ], [[ + ]], [[ llvm::CallInst *callinst; llvm::AttrBuilder attr_builder; attr_builder.addAttribute(llvm::Attributes::StructRet); @@ -1534,9 +1534,9 @@ [AC_LANG_PUSH(C++) AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ -#ifdef LLVM_HAVE_IR_FUNCTION_H - #include - #include +#ifdef HAVE_LLVM_IR_FUNCTION_H + #include + #include #else #include #include