1dnl Process this file with autoconf to produce a configure script. 2 3AC_PREREQ(2.59) 4AC_INIT([PROJ], [7.2.1], 5 [https://github.com/OSGeo/PROJ/issues], proj, [https://proj.org]) 6AC_CONFIG_MACRO_DIR([m4]) 7AC_LANG(C) 8 9AC_CONFIG_AUX_DIR([.]) 10AM_INIT_AUTOMAKE([subdir-objects]) 11AM_CONFIG_HEADER(src/proj_config.h) 12 13dnl Checks for programs. 14AC_PROG_CC 15AC_PROG_CC_C99 16AC_PROG_CXX 17AX_CXX_COMPILE_STDCXX_11([noext],[mandatory]) 18AC_PROG_INSTALL 19AC_PROG_LN_S 20AC_PROG_MAKE_SET 21AM_PROG_LIBTOOL 22 23PKG_PROG_PKG_CONFIG 24 25dnl Enable as much warnings as possible 26AX_CFLAGS_WARN_ALL(C_WFLAGS) 27AX_CXXFLAGS_WARN_ALL(CXX_WFLAGS) 28 29dnl For ICC: it needs -we10006 instead of -Werror to turn unknown options to errors 30dnl Some gcc/clang versions might succeed on this test, so also include -Werror in ERROR_ON_UNKNOWN_OPTIONS 31AX_CHECK_COMPILE_FLAG([-Werror -we10006],[ERROR_ON_UNKNOWN_OPTIONS="-Werror -we10006"],[ERROR_ON_UNKNOWN_OPTIONS="-Werror"]) 32 33dnl A few ICC warnings to turn off 34dnl warning #188: enumerated type mixed with another type (needed on libcsf) 35dnl warning #1684: conversion from pointer to same-sized integral type (potential portability problem) (needed on frmts/mrf) 36dnl warning #2259: non-pointer conversion from "size_t={unsigned long}" to "int" may lose significant bits 37dnl warning #2304: non-explicit constructor with single argument may cause implicit type conversion 38dnl warning #3280: declaration hides member 39dnl remark #11074: Inlining inhibited by limit max-size 40dnl remark #11076: To get full report use -qopt-report=4 -qopt-report-phase ipo 41AX_CHECK_COMPILE_FLAG([-diag-disable 188,1684,2259,2304,3280,11074,11076],[C_WFLAGS="$C_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076" CXX_WFLAGS="$CXX_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 42 43AX_CHECK_COMPILE_FLAG([-Wextra],[C_WFLAGS="$C_WFLAGS -Wextra" CXX_WFLAGS="$CXX_WFLAGS -Wextra"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 44AX_CHECK_COMPILE_FLAG([-Winit-self],[C_WFLAGS="$C_WFLAGS -Winit-self" CXX_WFLAGS="$CXX_WFLAGS -Winit-self"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 45AX_CHECK_COMPILE_FLAG([-Wunused-parameter], [C_WFLAGS="$C_WFLAGS -Wunused-parameter" CXX_WFLAGS="$CXX_WFLAGS -Wunused-parameter" NO_UNUSED_PARAMETER_FLAG="-Wno-unused-parameter"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 46AX_CHECK_COMPILE_FLAG([-Wmissing-prototypes], [C_WFLAGS="$C_WFLAGS -Wmissing-prototypes"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 47AX_CHECK_COMPILE_FLAG([-Wmissing-declarations], [C_WFLAGS="$C_WFLAGS -Wmissing-declarations"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 48AX_CHECK_COMPILE_FLAG([-Wformat], [C_WFLAGS="$C_WFLAGS -Wformat" CXX_WFLAGS="$CXX_WFLAGS -Wformat"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 49AX_CHECK_COMPILE_FLAG([-Wformat -Werror=format-security -Wno-format-nonliteral], [C_WFLAGS="$C_WFLAGS -Werror=format-security -Wno-format-nonliteral" CXX_WFLAGS="$CXX_WFLAGS -Werror=format-security -Wno-format-nonliteral"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 50AX_CHECK_COMPILE_FLAG([-Wshorten-64-to-32], [C_WFLAGS="$C_WFLAGS -Wshorten-64-to-32" CXX_WFLAGS="$CXX_WFLAGS -Wshorten-64-to-32"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 51AX_CHECK_COMPILE_FLAG([-Wlogical-op], [C_WFLAGS="$C_WFLAGS -Wlogical-op" CXX_WFLAGS="$CXX_WFLAGS -Wlogical-op" NO_LOGICAL_OP_FLAG="-Wno-logical-op"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 52AX_CHECK_COMPILE_FLAG([-Wshadow], [C_WFLAGS="$C_WFLAGS -Wshadow" CXX_WFLAGS="$CXX_WFLAGS -Wshadow"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 53 54dnl Error out on things that will fail with MSVC 55AX_CHECK_COMPILE_FLAG([-Werror=vla], [C_WFLAGS="$C_WFLAGS -Werror=vla" CXX_WFLAGS="$CXX_WFLAGS -Werror=vla"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 56AX_CHECK_COMPILE_FLAG([-Werror=declaration-after-statement], [C_WFLAGS="$C_WFLAGS -Wdeclaration-after-statement"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 57 58dnl -Wclobbered is not reliable on most gcc versions 59dnl AX_CHECK_COMPILE_FLAG([-Wno-clobbered], [C_WFLAGS="$C_WFLAGS -Wno-clobbered" CXX_WFLAGS="$CXX_WFLAGS -Wno-clobbered"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 60 61dnl Warn when macros __TIME__, __DATE__ or __TIMESTAMP__ are encountered as they might prevent bit-wise-identical reproducible compilations. 62AX_CHECK_COMPILE_FLAG([-Wdate-time], [C_WFLAGS="$C_WFLAGS -Wdate-time" CXX_WFLAGS="$CXX_WFLAGS -Wdate-time"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 63 64dnl GCC 6 warnings 65AX_CHECK_COMPILE_FLAG([-Wnull-dereference], [C_WFLAGS="$C_WFLAGS -Wnull-dereference" CXX_WFLAGS="$CXX_WFLAGS -Wnull-dereference"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 66AX_CHECK_COMPILE_FLAG([-Wduplicated-cond], [C_WFLAGS="$C_WFLAGS -Wduplicated-cond" CXX_WFLAGS="$CXX_WFLAGS -Wduplicated-cond"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 67 68dnl GCC 7 warnings 69dnl Do not enable yet. Causes warning in alg/gdalthinplate.cpp due to armadillo templates 70dnl AX_CHECK_COMPILE_FLAG([-Wduplicated-branches], [C_WFLAGS="$C_WFLAGS -Wduplicated-branches" CXX_WFLAGS="$CXX_WFLAGS -Wduplicated-branches"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 71 72dnl GCC 8 warnings 73AC_LANG_PUSH([C++]) 74AX_CHECK_COMPILE_FLAG([-Wextra-semi], [CXX_WFLAGS="$CXX_WFLAGS -Wextra-semi"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 75AC_LANG_POP([C++]) 76 77AX_CHECK_COMPILE_FLAG([-Wno-sign-compare], [NO_SIGN_COMPARE="-Wno-sign-compare"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 78 79dnl clang >= 3.9 80AX_CHECK_COMPILE_FLAG([-Wcomma], [C_WFLAGS="$C_WFLAGS -Wcomma" CXX_WFLAGS="$CXX_WFLAGS -Wcomma"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 81 82dnl clang and gcc 5 83AX_CHECK_COMPILE_FLAG([-Wfloat-conversion], [C_WFLAGS="$C_WFLAGS -Wfloat-conversion" CXX_WFLAGS="$CXX_WFLAGS -Wfloat-conversion"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 84 85dnl clang >= 3.2 86AX_CHECK_COMPILE_FLAG([-Wdocumentation -Wno-documentation-deprecated-sync], [C_WFLAGS="$C_WFLAGS -Wdocumentation -Wno-documentation-deprecated-sync" CXX_WFLAGS="$CXX_WFLAGS -Wdocumentation -Wno-documentation-deprecated-sync"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 87 88dnl C++ specific stuff 89 90AC_LANG_PUSH([C++]) 91AX_CHECK_COMPILE_FLAG([-Wunused-private-field], [CXX_WFLAGS="$CXX_WFLAGS -Wunused-private-field"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 92AX_CHECK_COMPILE_FLAG([-Wmissing-declarations], [CXX_WFLAGS="$CXX_WFLAGS -Wmissing-declarations"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 93AX_CHECK_COMPILE_FLAG([-Wnon-virtual-dtor], [CXX_WFLAGS="$CXX_WFLAGS -Wnon-virtual-dtor" NO_NON_VIRTUAL_DTOR_FLAG="-Wno-non-virtual-dtor"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 94AX_CHECK_COMPILE_FLAG([-Wold-style-cast], [WARN_OLD_STYLE_CAST="-Wold-style-cast"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 95AX_CHECK_COMPILE_FLAG([-Weffc++], [WARN_EFFCPLUSPLUS="-Weffc++"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 96 97dnl g++-4.8 complain a bit too much with -Weffc++ 98if test "$WARN_EFFCPLUSPLUS" != ""; then 99 SAVED_CXXFLAGS=$CXXFLAGS 100 CXXFLAGS="$CXXFLAGS $WARN_EFFCPLUSPLUS -Werror" 101 AC_MSG_CHECKING([if -Weffc++ should be enabled]) 102 AC_COMPILE_IFELSE([AC_LANG_PROGRAM( 103 [[ 104 class Base {}; 105 class A: public Base {}; 106 ]])], 107 [AC_MSG_RESULT([yes])], 108 [WARN_EFFCPLUSPLUS=""] 109 [AC_MSG_RESULT([no])]) 110 CXXFLAGS="$SAVED_CXXFLAGS" 111 CXX_WFLAGS="$CXX_WFLAGS $WARN_EFFCPLUSPLUS" 112fi 113 114dnl Clang enables -Woverloaded-virtual if -Wall is defined, but not GCC 115AX_CHECK_COMPILE_FLAG([-Woverloaded-virtual], [CXX_WFLAGS="$CXX_WFLAGS -Woverloaded-virtual"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 116 117AX_CHECK_COMPILE_FLAG([-Wweak-vtables], [CXX_WFLAGS="$CXX_WFLAGS -Wweak-vtables"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 118AX_CHECK_COMPILE_FLAG([-Wdeprecated], [CXX_WFLAGS="$CXX_WFLAGS -Wdeprecated"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 119AX_CHECK_COMPILE_FLAG([-Wabstract-vbase-init], [CXX_WFLAGS="$CXX_WFLAGS -Wabstract-vbase-init"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 120AX_CHECK_COMPILE_FLAG([-Winconsistent-missing-destructor-override], [CXX_WFLAGS="$CXX_WFLAGS -Winconsistent-missing-destructor-override"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 121 122HAVE_GCC_WARNING_ZERO_AS_NULL_POINTER_CONSTANT=no 123AX_CHECK_COMPILE_FLAG([-Wzero-as-null-pointer-constant], [CXX_WFLAGS="$CXX_WFLAGS -Wzero-as-null-pointer-constant" HAVE_GCC_WARNING_ZERO_AS_NULL_POINTER_CONSTANT=yes NO_ZERO_AS_NULL_POINTER_CONSTANT_FLAG="-Wno-zero-as-null-pointer-constant"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 124if test "$HAVE_GCC_WARNING_ZERO_AS_NULL_POINTER_CONSTANT" = "yes"; then 125AC_DEFINE_UNQUOTED(HAVE_GCC_WARNING_ZERO_AS_NULL_POINTER_CONSTANT, 1, 126 [Define to 1 if the compiler supports -Wzero-as-null-pointer-constant]) 127fi 128AC_LANG_POP([C++]) 129 130dnl --------------------------------------------------------------------------- 131dnl Check for --enable-lto 132dnl --------------------------------------------------------------------------- 133 134AC_MSG_CHECKING([to enable LTO (link time optimization) build]) 135 136AC_ARG_ENABLE(lto, 137 AS_HELP_STRING([--enable-lto], 138 [enable LTO(link time optimization) (disabled by default)])) 139 140FLTO_FLAG="" 141if test "x$enable_lto" = "xyes"; then 142 AC_LANG_PUSH([C++]) 143 AX_CHECK_COMPILE_FLAG([-flto], [FLTO_FLAG="-flto"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 144 if test "$FLTO_FLAG" != ""; then 145 SAVED_CXXFLAGS=$CXXFLAGS 146 CXXFLAGS="$CXXFLAGS $FLTO_FLAG -Werror" 147 AC_MSG_CHECKING([if -flto is available at link time]) 148 AC_LINK_IFELSE([AC_LANG_PROGRAM( 149 [[]])], 150 [AC_MSG_RESULT([yes])], 151 [FLTO_FLAG=""] 152 [AC_MSG_RESULT([no])]) 153 CXXFLAGS="$SAVED_CXXFLAGS" 154 fi 155 AC_LANG_POP([C++]) 156 AX_CHECK_COMPILE_FLAG([-Wodr], [CXX_WFLAGS="$CXX_WFLAGS -Wodr"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 157else 158 AC_MSG_RESULT([no]) 159fi 160AC_SUBST(FLTO_FLAG,$FLTO_FLAG) 161 162dnl Result in better inlining, but larger file 163dnl AX_CHECK_COMPILE_FLAG([-fno-semantic-interposition], [CFLAGS="$CFLAGS -fno-semantic-interposition" CXXFLAGS="$CXXFLAGS -fno-semantic-interposition"],,[$ERROR_ON_UNKNOWN_OPTIONS]) 164 165AC_SUBST(C_WFLAGS,$C_WFLAGS) 166AC_SUBST(CXX_WFLAGS,$CXX_WFLAGS) 167AC_SUBST(NO_ZERO_AS_NULL_POINTER_CONSTANT_FLAG,$NO_ZERO_AS_NULL_POINTER_CONSTANT_FLAG) 168 169CFLAGS="${CFLAGS} -fvisibility=hidden" 170CXXFLAGS="${CXXFLAGS} -fvisibility=hidden" 171 172case "${host_os}" in 173 cygwin* | mingw32* | pw32* | beos* | darwin*) 174 CFLAGS="${CFLAGS} -DNOMINMAX" 175 CXXFLAGS="${CXXFLAGS} -DNOMINMAX" 176 ;; 177 *) 178 ;; 179esac 180 181dnl Checks for libraries. 182save_CFLAGS="$CFLAGS" 183CFLAGS=`echo "$CFLAGS" | sed "s/-Werror/ /"` 184AC_CHECK_LIB(m,exp,,,) 185CFLAGS="$save_CFLAGS" 186 187dnl We check for headers 188AC_HEADER_STDC 189 190dnl Check flag for accurate arithmetic with Intel compiler. This is 191dnl needed to stop the compiler from ignoring parentheses in expressions 192dnl like (a + b) + c and from simplifying 0.0 + x to x (which is wrong if 193dnl x = -0.0). 194AX_CHECK_COMPILE_FLAG([-fp-model precise], 195 [CFLAGS="$CFLAGS -fp-model precise"],,[-Werror]) 196 197AC_SEARCH_LIBS([sqrt], [m]) 198 199AC_CHECK_FUNC(localeconv, [AC_DEFINE(HAVE_LOCALECONV,1,[Define to 1 if you have localeconv])]) 200AC_CHECK_FUNCS([strerror]) 201AC_CHECK_LIB(dl,dladdr,,,) 202 203dnl --------------------------------------------------------------------------- 204dnl Provide a mechanism to disable real mutex support (if lacking win32 or 205dnl posix mutexes for instance). 206dnl --------------------------------------------------------------------------- 207 208AC_ARG_WITH([mutex], 209 AS_HELP_STRING([--without-mutex], 210 [Disable real mutex locks (lacking pthreads)]),,) 211 212AC_MSG_CHECKING([for mutexes]) 213THREAD_LIB="" 214if test "$with_mutex" = yes -o x"$with_mutex" = x ; then 215 MUTEX_SETTING=pthread 216 AC_CHECK_LIB(pthread,pthread_create,PTHREAD_EXISTS=YES,,,) 217 if test -n "$PTHREAD_EXISTS" ; then 218 THREAD_LIB="-lpthread" 219 fi 220 AC_CHECK_LIB(pthread,pthread_mutexattr_settype,,,) 221 AC_CHECK_DECL(PTHREAD_MUTEX_RECURSIVE, 222 AC_DEFINE(HAVE_PTHREAD_MUTEX_RECURSIVE, [], [Define if your pthreads implementation have PTHREAD_MUTEX_RECURSIVE]), 223 , 224 [#include <pthread.h>]) 225 AC_MSG_RESULT([enabled, pthread]) 226else 227 MUTEX_SETTING=stub 228 AC_MSG_RESULT([disabled by user]) 229fi 230 231AC_SUBST(MUTEX_SETTING,$MUTEX_SETTING) 232AC_SUBST(THREAD_LIB,$THREAD_LIB) 233 234dnl --------------------------------------------------------------------------- 235dnl Check for sqlite3 library and binary 236dnl --------------------------------------------------------------------------- 237 238if test "x$SQLITE3_CFLAGS$SQLITE3_LIBS" = "x" ; then 239 240 dnl Would build and run with older versions, but with horrible performance 241 dnl See https://github.com/OSGeo/PROJ/issues/1718 242 243 PKG_CHECK_MODULES([SQLITE3], [sqlite3 >= 3.11]) 244fi 245AC_SUBST(SQLITE3_CFLAGS,$SQLITE3_CFLAGS) 246AC_SUBST(SQLITE3_LIBS,$SQLITE3_LIBS) 247 248AC_CHECK_PROG(SQLITE3_CHECK,sqlite3,yes) 249if test x"$SQLITE3_CHECK" != x"yes" ; then 250 AC_MSG_ERROR([Please install sqlite3 binary.]) 251fi 252 253dnl --------------------------------------------------------------------------- 254dnl Check for libtiff 255dnl --------------------------------------------------------------------------- 256 257AC_ARG_ENABLE([tiff], 258 AS_HELP_STRING([--enable-tiff], 259 [Enable TIFF support; strongly encouraged to read some grids [default=yes]])) 260 261if test "x$enable_tiff" != "xno" -o "x$enable_tiff" = ""; then 262 if test "x$TIFF_CFLAGS$TIFF_LIBS" = "x" ; then 263 if $PKG_CONFIG libtiff; then 264 PKG_CHECK_MODULES([TIFF], [libtiff]) 265 else 266 PKG_CHECK_MODULES([TIFF], [libtiff-4]) 267 fi 268 fi 269 TIFF_ENABLED_FLAGS=-DTIFF_ENABLED 270fi 271AC_SUBST(TIFF_CFLAGS,$TIFF_CFLAGS) 272AC_SUBST(TIFF_LIBS,$TIFF_LIBS) 273AC_SUBST(TIFF_ENABLED_FLAGS,$TIFF_ENABLED_FLAGS) 274 275dnl --------------------------------------------------------------------------- 276dnl Check for curl 277dnl --------------------------------------------------------------------------- 278 279FOUND_CURL=no 280CURL_CFLAGS= 281CURL_LIB= 282 283AC_ARG_WITH(curl, 284 [ --with-curl[=ARG] Enable curl support (ARG=path to curl-config.)],,,) 285 286dnl Clear some cache variables 287unset ac_cv_path_LIBCURL 288 289if test "`basename xx/$with_curl`" = "curl-config" ; then 290 LIBCURL_CONFIG="$with_curl" 291elif test "$with_curl" = "no" ; then 292 LIBCURL_CONFIG=no 293else 294 AC_PATH_PROG(LIBCURL_CONFIG, curl-config, not-found) 295fi 296 297if test "$LIBCURL_CONFIG" = "not-found" ; then 298 AC_MSG_ERROR([curl not found. If wanting to do a build without curl support (and thus without built-in networking capability), explictly disable it with --without-curl]) 299elif test "$LIBCURL_CONFIG" != "no" ; then 300 301 CURL_VERNUM=`$LIBCURL_CONFIG --vernum` 302 CURL_VER=`$LIBCURL_CONFIG --version | awk '{print $2}'` 303 304 AC_MSG_RESULT([ found libcurl version $CURL_VER]) 305 306 AC_CHECK_LIB(curl,curl_global_init,FOUND_CURL=yes,FOUND_CURL=no,`$LIBCURL_CONFIG --libs`) 307 308 if test "$FOUND_CURL" = "no" ; then 309 AC_MSG_ERROR([curl not found. If wanting to do a build without curl support (and thus without built-in networking capability), explictly disable it with --without-curl]) 310 fi 311 CURL_ENABLED_FLAGS=-DCURL_ENABLED 312fi 313 314if test "$FOUND_CURL" = "yes" ; then 315 CURL_CFLAGS=`$LIBCURL_CONFIG --cflags` 316 CURL_LIBS=`$LIBCURL_CONFIG --libs` 317fi 318 319AC_SUBST(CURL_CFLAGS,$CURL_CFLAGS) 320AC_SUBST(CURL_LIBS,$CURL_LIBS) 321AC_SUBST(CURL_ENABLED_FLAGS,$CURL_ENABLED_FLAGS) 322AM_CONDITIONAL(HAVE_CURL, [test "x$FOUND_CURL" = "xyes"]) 323 324dnl --------------------------------------------------------------------------- 325dnl Check for external Google Test 326dnl --------------------------------------------------------------------------- 327 328AC_ARG_WITH(external-gtest, 329 AS_HELP_STRING([--with-external-gtest], 330 [Whether to use external Google Test]),,) 331 332if test "x$with_external_gtest" = "xyes" ; then 333 AC_MSG_RESULT([using external GTest.]) 334 PKG_CHECK_MODULES([GTEST], [gtest >= 1.8.0]) 335else 336 AC_MSG_RESULT([using internal GTest.]) 337 GTEST_CFLAGS="-I\$(top_srcdir)/test/googletest/include" 338 GTEST_LIBS="\$(top_builddir)/test/googletest/libgtest.la" 339fi 340AM_CONDITIONAL(USE_EXTERNAL_GTEST, [test "x$with_external_gtest" = "xyes"]) 341AC_SUBST(GTEST_CFLAGS,$GTEST_CFLAGS) 342AC_SUBST(GTEST_LIBS,$GTEST_LIBS) 343 344dnl --------------------------------------------------------------------------- 345dnl Generate files 346dnl --------------------------------------------------------------------------- 347 348AC_CONFIG_FILES([Makefile cmake/Makefile src/Makefile include/Makefile include/proj/Makefile include/proj/internal/Makefile 349 include/proj/internal/nlohmann/Makefile 350 test/Makefile test/cli/Makefile test/gie/Makefile test/gigs/Makefile test/unit/Makefile 351 man/Makefile man/man1/Makefile data/Makefile]) 352if ! test "x$with_external_gtest" = "xyes" ; then 353 AC_CONFIG_FILES([test/googletest/Makefile test/googletest/include/Makefile 354 test/googletest/include/gtest/Makefile 355 test/googletest/include/gtest/internal/Makefile 356 test/googletest/include/gtest/internal/custom/Makefile 357 test/googletest/src/Makefile]) 358fi 359 360AC_CONFIG_FILES([proj.pc]) 361 362AC_OUTPUT 363