Invocation: ./configure not using PKG_CONFIG_PATH not using PKG_CONFIG_LIBDIR Detecing awk... Trying: echo "a.c b.c c.c" | tr ' ' \n | awk ' { ORS = " " } /\.c$/ { gsub(".c$", ".o", $0); print $0; }' 2>/dev/null Result: 'a.o b.o c.o ' checking awk... awk detecting OS... UNIX checking build system type... CC/CXX not set (skipping) executing gcc -dumpmachine returned x86_64-linux-gnu exit code 0 checking build system type... x86_64-linux-gnu checking host system type... CC/CXX not set (skipping) executing gcc -dumpmachine returned x86_64-linux-gnu exit code 0 checking host system type... x86_64-linux-gnu checking universal build... no checking build cc... gcc checking host cc... gcc checking build c++... CC/CXX not set (skipping) executing g++ -dumpmachine returned x86_64-linux-gnu exit code 0 checking build c++... g++ checking host c++... CC/CXX not set (skipping) executing g++ -dumpmachine returned x86_64-linux-gnu exit code 0 checking host c++... g++ checking strip... disabled checking builtin depend... yes checking makedepend... disabled executing g++ tmp.64bit.cpp -o tmp.64bit -DTESTING 2>&1 returned exit code 0 detecting cpu-type... 64 bits executing g++ -msse4.1 tmp.sse.cpp -o tmp.sse 2>&1 returned exit code 0 detecting SSE... found checking static... no checking unicode... no using debug level... no using desync debug level... no using link time optimization... no checking OSX sysroot... not OSX, skipping detecting allegro executing pkg-config allegro --modversion returned exit code 1 checking allegro... not found detecting sdl2 executing pkg-config sdl2 --modversion returned 2.0.9 exit code 0 checking sdl2... found checking COCOA... not OSX, skipping checking GDI video driver... not Windows, skipping checking dedicated... not selected checking console application... not Windows, skipping checking squirrel... found checking translator... no checking assert... enabled detecting zlib executing pkg-config zlib --modversion returned 1.2.11 exit code 0 checking zlib... found detecting liblzma executing pkg-config liblzma --modversion returned 5.2.4 exit code 0 checking liblzma... found detecting lzo2 trying /usr/include/lzo/lzo1x.h... found checking lzo2... found checking Uniscribe text layout... not Windows, skipping detecting libxdg-basedir executing pkg-config libxdg-basedir --modversion returned exit code 1 checking libxdg-basedir... not found detecting libpng executing pkg-config libpng --modversion returned 1.6.36 exit code 0 checking libpng... found detecting freetype2 executing pkg-config freetype2 --modversion returned 22.1.16 exit code 0 checking freetype2... found detecting fontconfig executing pkg-config fontconfig --modversion returned 2.13.1 exit code 0 checking fontconfig... found detecting icu-lx executing pkg-config icu-lx --modversion returned exit code 1 checking icu-lx... not found detecting icu-i18n executing pkg-config icu-i18n --modversion returned 63.1 exit code 0 checking icu-i18n... found detecting fluidsynth trying /usr/include/fluidsynth.h... no trying /usr/local/include/fluidsynth.h... no trying /mingw/include/fluidsynth.h... no trying /mingw64/include/fluidsynth.h... no trying /opt/local/include/fluidsynth.h... no checking fluidsynth... not found checking direct-music... not Windows, skipping checking xaudio2... not Windows, skipping running echo | sort result was valid checking sort... sort suppress language errors... no checking stripping... skipped checking distcc... no (only used when forced) checking ccache... no (only used when forced) executing grfcodec -v returned exit code 0 checking grfcodec... not found executing nforenum -v returned exit code 0 checking nforenum... not found checking OSX application bundle... not OSX, skipping checking revision... source tarball checking iconv... not OSX, skipping personal home directory... .openttd shared data directory... none installation directory... / icon theme directory... share/icons/hicolor manual page directory... share/man/man6 menu item directory... share/applications Running configure with following options: ./configure --ignore-extra-parameters --build="" --host="" --cc-build="gcc" --cc-host="gcc" --cxx-build="g++" --cxx-host="g++" --windres="" --strip="" --lipo="" --awk="awk" --pkg-config="pkg-config" --os="UNIX" --cpu-type="64" --config-log="config.log" --prefix-dir="/usr/local" --binary-dir="games" --data-dir="share/games/openttd" --doc-dir="share/doc/openttd" --icon-dir="share/pixmaps" --icon-theme-dir="share/icons/hicolor" --man-dir="share/man/man6" --menu-dir="share/applications" --personal-dir=".openttd" --shared-dir="" --install-dir="/" --menu-group="Game;" --menu-name="OpenTTD" --binary-name="openttd" --enable-debug="0" --enable-desync-debug="0" --enable-profiling="0" --enable-lto="0" --enable-dedicated="0" --enable-static="0" --enable-translator="0" --enable-unicode="0" --enable-console="1" --enable-assert="1" --enable-strip="0" --enable-universal="0" --enable-osx-g5="0" --enable-cocoa-quartz="1" --enable-cocoa-quickdraw="1" --with-osx-sysroot="0" --with-application-bundle="0" --with-allegro="1" --with-sdl="1" --with-cocoa="0" --with-zlib="1" --with-lzma="1" --with-lzo2="1" --with-xdg-basedir="1" --with-png="1" --enable-builtin-depend="1" --with-makedepend="0" --with-direct-music="0" --with-xaudio2="0" --with-sort="1" --with-iconv="0" --with-midi="" --with-midi-arg="" --with-fluidsynth="0" --with-freetype="1" --with-fontconfig="1" --with-icu-layout="1" --with-icu-sort="1" --static-icu="0" --with-uniscribe="0" --with-threads="1" --with-distcc="0" --with-ccache="0" --with-grfcodec="1" --with-nforenum="1" --with-sse="1" --CC="" --CXX="" --CFLAGS="" --CXXFLAGS="" --LDFLAGS="" --CFLAGS-BUILD="" --CXXFLAGS-BUILD="" --LDFLAGS-BUILD="" --PKG-CONFIG-PATH="" --PKG-CONFIG-LIBDIR="" using CFLAGS_BUILD... -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DUNIX -D_FORTIFY_SOURCE=2 -O1 using CXXFLAGS_BUILD... -flifetime-dse=1 -std=c++11 using LDFLAGS_BUILD... -rdynamic using CFLAGS... -O2 -fomit-frame-pointer -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DUNIX -D_FORTIFY_SOURCE=2 -DWITH_SSE -DWITH_SDL2 -D_REENTRANT -I/usr/include/SDL2 -DWITH_ZLIB -DWITH_LIBLZMA -DWITH_LZO -D_SQ64 -I/home/pavels/Downloads/openttd-1.10.0-beta1/src/3rdparty/squirrel/include -DWITH_PNG -I/usr/include/libpng16 -DWITH_FONTCONFIG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_FREETYPE -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_ICU_I18N -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\".openttd\" -DGLOBAL_DATA_DIR=\"/usr/local/share/games/openttd\" using CXXFLAGS... -flifetime-dse=1 -std=c++11 using LDFLAGS... -lpthread -lc -lSDL2 -lz -llzma -llzo2 -lpng16 -lz -lfontconfig -lfreetype -lfreetype -licui18n -licuuc -licudata -rdynamic Generating Makefile... Generating menu item... Generating lang/Makefile... Generating setting/Makefile... Generating grf/Makefile... Generating objs/Makefile...