blob: c24f35395f27afa3420bb3efc795cb89ee116ceb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
--- a/unix/configure 2018-02-26 12:31:40.000000000 +0100
+++ b/unix/configure 2024-07-21 23:53:11.110000044 +0200
@@ -1467,10 +1467,10 @@
exec_prefix=$prefix
fi
-#SNACK_INSTALL_PATH=${exec_prefix}/lib
+SNACK_INSTALL_PATH=${exec_prefix}/lib
#SNACK_HINSTALL_PATH=${exec_prefix}/inc
#SNACK_LIB_SPEC="-L${exec_prefix}/lib -lsnack"
-SNACK_INSTALL_PATH=${libdir}
+#SNACK_INSTALL_PATH=${libdir}
SNACK_HINSTALL_PATH=${includedir}
SNACK_LIB_SPEC="-L${libdir} -lsnack"
@@ -1487,7 +1487,7 @@
echo "$as_me: error: Tcl and Tk must be configured with the --enable-shared flag" >&2;}
{ (echo 1); echo 1; }; }
fi
-CFLAGS=$TCL_SHLIB_CFLAGS
+CFLAGS="$CFLAGS $TCL_SHLIB_CFLAGS"
LD_SEARCH_FLAGS=$TCL_LD_SEARCH_FLAGS
SHLIB_LD=$TCL_SHLIB_LD
SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX
@@ -1637,7 +1637,9 @@
else
OGG_LIB_DIR=""
fi;
-OGGINC="-I$OGG_INC_DIR"
+if test ! "$OGG_INC_DIR" = ""; then
+ OGGINC="-I$OGG_INC_DIR"
+fi
OGGLIBS="-L$OGG_LIB_DIR -lvorbisenc -lvorbis -logg"
if test ! "$OGG_LIB_DIR" = ""; then
LIBOGG="libsnackogg${SHLIB_SUFFIX}"
|