|
a/src/configure.ac |
|
b/src/configure.ac |
|
... |
|
... |
8 |
AC_DISABLE_STATIC
|
8 |
AC_DISABLE_STATIC
|
9 |
LT_INIT
|
9 |
LT_INIT
|
10 |
AC_CONFIG_MACRO_DIR([m4])
|
10 |
AC_CONFIG_MACRO_DIR([m4])
|
11 |
|
11 |
|
12 |
AC_PROG_CXX
|
12 |
AC_PROG_CXX
|
|
|
13 |
# AC_PROG_CXX used to set CXX to C when no compiler was found, but now it's
|
|
|
14 |
# g++. So actually try to build a program to verify the compiler.
|
13 |
if test C$CXX = C ; then
|
15 |
if test C$CXX = C ; then
|
14 |
AC_MSG_ERROR([C++ compiler needed. Please install one (ie: gnu g++)])
|
16 |
AC_MSG_ERROR([C++ compiler needed. Please install one (ie: gnu g++)])
|
15 |
fi
|
17 |
fi
|
|
|
18 |
AC_LANG_PUSH([C++])
|
|
|
19 |
AC_TRY_LINK([],[], rcl_link_ok=yes, rcl_link_ok=no)
|
|
|
20 |
if test "$rcl_link_ok" = "no" ; then
|
|
|
21 |
AC_MSG_ERROR([No working C++ compiler was found])
|
|
|
22 |
fi
|
|
|
23 |
AC_LANG_POP([C++])
|
16 |
|
24 |
|
17 |
AC_PROG_YACC
|
25 |
AC_PROG_YACC
|
18 |
|
26 |
|
19 |
AC_PROG_LIBTOOL
|
27 |
AC_PROG_LIBTOOL
|
20 |
AC_C_BIGENDIAN
|
28 |
AC_C_BIGENDIAN
|