build: fix configure failure when g++ not installed
When no C++ compiler is installed, configure should not fail, but merely skip the GUI parts. Since the first compiler check is authoritative, move AC_PROG_CXX down. Signed-off-by: Karsten Keil <keil@b1-systems.de>
This commit is contained in:
parent
e5bbd3b00b
commit
9e2c94bf3a
|
@ -10,8 +10,8 @@ AC_CONFIG_MACRO_DIR([m4])
|
|||
AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CXX
|
||||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
AC_PROG_INSTALL
|
||||
|
||||
AC_CHECK_LIB([pthread], [pthread_create])
|
||||
|
|
Loading…
Reference in New Issue