aboutsummaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)AuthorFilesLines
2016-04-24build: run configure before building dependenciesChristian Hesse1-18/+37
We need some basic configuration before building dependencies. For example useful CFLAGS have to be in place to prevent linker errors. The configure script is run again later with some extra parameters.
2016-04-22build: disable pie build for now, it breaks local/standalone buildsMarc André Tanner1-1/+1
There seems to be something wrong with the libtermkey build, which uses libtool and somehow does not get build correctly for PIE.
2016-04-22build: clean up make local/standalone implementationMarc André Tanner1-3/+3
Run configure script for all targets instead of fiddling with Makefile variables directly.
2016-04-11build: also probe for lua as lua-{5.2,5.3}Marc André Tanner1-1/+1
This should let configure pick up the lua libraries on FreeBSD 10.
2016-03-26fix linker flagsChristian Hesse1-1/+1
fixes #214
2016-03-25configure: fix probing of hardening flagsMarc André Tanner1-3/+3
2016-03-23configure: use capital letters for variable namesChristian Hesse1-26/+26
2016-03-23configure: default to cc instead of c99Marc André Tanner1-1/+1
Using -std=c99 in combination with c99 does not make sense. Some versions of Mac OS seem to have a broken wrapper implementing the c99 utility which always generates 32-bit code instead of targeting the native architecture. http://stackoverflow.com/questions/4182413 Also add clang to the list of compilers to try.
2016-03-23configure: fix detection of libtermkeyMarc André Tanner1-1/+1
On Cygwin the configure check for libtermkey fails due to unresolved symbols from libcurses. The pkg-config file of libtermkey lacks a reference to its dependencies (either curses or unibilium). Since we depend on curses anyway we can fix this by adding $LDFLAGS_CURSES to the configure check.
2016-03-23configure: use temporary file instead of /dev/null for compiler outputMarc André Tanner1-12/+13
This should fix configure checks on Cygwin whereas before gcc would attempt (and fail) to write to /dev/null.exe
2016-03-22configure: clear ${C,LD}FLAGS_LUA in error caseMarc André Tanner1-0/+2
2016-03-22configure: exchange _{BSD,DARWIN_C}_SOURCE definesMarc André Tanner1-2/+2
2016-03-21Remove bashisms from configure script.Richard Burke1-4/+7
2016-03-21configure: probe for hardening flagsMarc André Tanner1-1/+8
2016-03-21configure: probe for size optimizing flags (disabled for now)Marc André Tanner1-0/+3
2016-03-21build: reorder some variablesMarc André Tanner1-5/+7
2016-03-21configure: make man and share directories configurableChristian Hesse1-2/+8
2016-03-21configure: fix install prefix for man and share directoriesChristian Hesse1-0/+2
2016-03-21configure: fix condition for libselinuxChristian Hesse1-2/+2
2016-03-21configure: fix condition for libaclChristian Hesse1-2/+2
2016-03-21configure: fix condition for libluaChristian Hesse1-4/+4
2016-03-21configure: fix condition for libtermkeyChristian Hesse1-2/+2
2016-03-21configure: fix condition for ncursesChristian Hesse1-4/+4
2016-03-21build: overhaul build system auto detect stuff using a configure scriptMarc André Tanner1-0/+449
The new build instructions are: $ ./configure && make && sudo make install The configure script tries to auto detect support for various libraries and compiler options. These choices can be overwritten by explicitly specifing --{en,dis}able-{lua,selinux,acl}. See ./configure --help for all supported options. The configure script generates config.mk which should allow portable (among GNU and BSD make) Makefiles. Manually editing config.mk is still supported.