aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-05-13 11:59:00 +0200
committerKim Alvefur <zash@zash.se>2019-05-13 11:59:00 +0200
commit371260638d19941a80979052d0fac875927659e0 (patch)
treef200e0054d1e382b03b975d8660f5383d4ffe089 /configure
parente65093b5dee9d09e23ac6d651b76648cce91214e (diff)
downloadprosody-371260638d19941a80979052d0fac875927659e0.tar.gz
prosody-371260638d19941a80979052d0fac875927659e0.zip
configure: Remove preset settings that are autodiscovered
These are likely wrong if other flags have been given.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 0 insertions, 14 deletions
diff --git a/configure b/configure
index 33d86909..c9737ae6 100755
--- a/configure
+++ b/configure
@@ -256,16 +256,6 @@ done
if [ "$OSPRESET_SET" = "yes" ]; then
# TODO make this a switch?
if [ "$OSPRESET" = "debian" ]; then
- if [ "$LUA_SUFFIX_SET" != "yes" ]; then
- LUA_SUFFIX="5.1";
- LUA_SUFFIX_SET=yes
- fi
- if [ "$RUNWITH_SET" != "yes" ]; then
- RUNWITH="lua$LUA_SUFFIX";
- RUNWITH_SET=yes
- fi
- LUA_INCDIR="/usr/include/lua$LUA_SUFFIX"
- LUA_INCDIR_SET=yes
CFLAGS="$CFLAGS -ggdb"
fi
if [ "$OSPRESET" = "macosx" ]; then
@@ -277,10 +267,6 @@ if [ "$OSPRESET_SET" = "yes" ]; then
LDFLAGS="-bundle -undefined dynamic_lookup"
fi
if [ "$OSPRESET" = "linux" ]; then
- LUA_INCDIR=/usr/local/include;
- LUA_INCDIR_SET=yes
- LUA_LIBDIR=/usr/local/lib
- LUA_LIBDIR_SET=yes
CFLAGS="$CFLAGS -ggdb"
fi
if [ "$OSPRESET" = "freebsd" ] || [ "$OSPRESET" = "openbsd" ]; then