forked from premiere/premiere-libtorrent
updated configure script to bail out if no compiler is found
This commit is contained in:
parent
ae2b0afafb
commit
977ab61140
11
configure.in
11
configure.in
|
@ -7,7 +7,18 @@ AM_INIT_AUTOMAKE(libtorrent, 0.12)
|
|||
# AM_CONFIG_HEADER(config.h)
|
||||
|
||||
AC_PROG_CC
|
||||
|
||||
if test -z "$(which $CC)"; then
|
||||
AC_MSG_ERROR([Unable to find a working C compiler, giving up.])
|
||||
fi
|
||||
|
||||
AC_PROG_CPP
|
||||
|
||||
if test -z "$(which $CXX)"; then
|
||||
AC_MSG_ERROR([Unable to find a working C++ compiler, giving up.])
|
||||
fi
|
||||
|
||||
AC_CACHE_SAVE
|
||||
AC_PROG_CXX
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_MAKE_SET
|
||||
|
|
Loading…
Reference in New Issue