Lines 67-76
Link Here
|
67 |
AS_IF([test "x$CFLAGS" = "x" ], [override_c=yes], [override_c=no]) |
67 |
AS_IF([test "x$CFLAGS" = "x" ], [override_c=yes], [override_c=no]) |
68 |
|
68 |
|
69 |
# Checks for programs. |
69 |
# Checks for programs. |
70 |
AC_PROG_CXX(g++ CC c++ cxx) |
70 |
# inherit from environment first then pick standard command names, |
71 |
AM_PROG_AR |
71 |
# this is to keep distributions happy that allow overrides for toolchain. |
72 |
AC_PATH_PROG(AR, ar, no) |
72 |
AC_PROG_CXX(["$CXX" g++ c++ cxx]) |
73 |
AS_IF([test "x${AR}" = "xno" ], [ |
73 |
AM_PROG_AR(["$AR" ar]) |
|
|
74 |
AS_IF([test "x${AR}" = "x" ], [ |
74 |
AC_MSG_ERROR([Could not find ar - needed to create a library]) |
75 |
AC_MSG_ERROR([Could not find ar - needed to create a library]) |
75 |
]) |
76 |
]) |
76 |
|
77 |
|