autoconf tweaks

This commit is contained in:
R. Eric Wheeler 2015-07-01 09:07:33 -07:00
parent 9224fbfe70
commit e1dc398a0d
3 changed files with 13 additions and 12 deletions

15
.gitignore vendored
View File

@ -7,14 +7,6 @@ sites/*/files
sites/*/private
# Ignore default text files
robots.txt
/CHANGELOG.txt
/COPYRIGHT.txt
/INSTALL*.txt
/LICENSE.txt
/MAINTAINERS.txt
/UPGRADE.txt
/README.txt
.deps
config
/AUTHORS
@ -27,5 +19,12 @@ Makefile.in
aclocal.m4
autom4te.cache
config.h.in
config.log
configure
m4
config.h
config.status
libtool
stamp-h1
# Ignore backup files
*~

View File

@ -1,7 +1,8 @@
pkgconfig_DATA = pipecolors.pc
AM_CXXFLAGS = -std=c++11 -fPIC -pipe
ACLOCAL_AMFLAGS = -I m4
LIBTOOL_DEPS = @LIBTOOL_DEPS@
AM_CXXFLAGS =+ -std=c++11 -fPIC -pipe
ACLOCAL_AMFLAGS =+ -I m4
LIBTOOL_DEPS += @LIBTOOL_DEPS@
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status libtool

View File

@ -57,7 +57,8 @@ gcc_micro_vers=`echo ${gcc_full_vers} | cut -f3 -d.`
# Checks for functions
AC_CHECK_CXX_ARGUMENT([-std=c++11], [], [AC_MSG_ERROR([C++11 support is required.])])
AC_SUBST([ACLOCAL_AMFLAGS])
AC_SUBST([AM_CXXFLAGS])
AC_MSG_CHECKING([if ${CXX-c++} supports nullptr])
AC_LINK_IFELSE(