]> git.ipfire.org Git - thirdparty/lldpd.git/commit
configure: remove check on CXX compiler
authorDamien Riegel <damien.riegel@savoirfairelinux.com>
Mon, 18 Dec 2017 19:37:08 +0000 (14:37 -0500)
committerVincent Bernat <vincent@bernat.im>
Mon, 18 Dec 2017 20:14:02 +0000 (21:14 +0100)
commit1f73fc1ad7edd904aa84cdac5aec6634e735cb5a
tree01a512474acc1135c65145736dc37b3c9b34302f
parentdb4383ddb33d28f211e7075dfe6ee27c2115930e
configure: remove check on CXX compiler

lldpd fails to build if the toolchain doesn't have a C++ compiler
because configure fails with the following error:

  checking how to run the C++ preprocessor... /lib/cpp
  configure: error: in `/home/dkc/src/buildroot/build-zii/build/lldpd-0.9.4':
  configure: error: C++ preprocessor "/lib/cpp" fails sanity check

Since "8d92800b: build: cleaner way to not alter CFLAGS/CPPFLAGS/LDFLAGS",
it seems that the dependency on C++ is not required anymore, so there
is no reason to keep this restriction. Dropping AC_PROG_CXX allows to
build with a toolchain that doesn't have C++ just fine.
configure.ac