1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-26 08:22:37 +01:00

- fixed compilation problem for systems that require -lintl for building WINGs

- removed redundant include/lib paths from the get-*-flags scripts
This commit is contained in:
dan
2001-10-10 01:02:34 +00:00
parent 75f790160b
commit 4be9abcdbc
8 changed files with 34 additions and 44 deletions

View File

@@ -840,11 +840,8 @@ dnl parsed by m4
cat <<EOF >get-wraster-flags
#!/bin/sh
prefix="$prefix"
exec_prefix=\$prefix
WCFLAGS="-I\$prefix/include $inc_search_path"
WLFLAGS="-L\$exec_prefix/lib $lib_search_path"
WCFLAGS="$inc_search_path"
WLFLAGS="$lib_search_path"
WLIBS="-lwraster $GFXLIBS $XLIBS -lm"
usage="Usage: get-wraster-flags #lp#--cflags#rp# #lp#--ldflags#rp# #lp#--libs#rp#"
@@ -879,12 +876,9 @@ EOF
cat <<EOF >get-wings-flags
#!/bin/sh
prefix="$prefix"
exec_prefix=\$prefix
WCFLAGS="-I\$prefix/include $inc_search_path"
WLFLAGS="-L\$exec_prefix/lib $lib_search_path"
WLIBS="-lWINGs -lwraster $GFXLIBS $XLIBS -lm $NETLIBS"
WCFLAGS="$inc_search_path"
WLFLAGS="$lib_search_path"
WLIBS="-lWINGs -lwraster $GFXLIBS $XLIBS -lm $NETLIBS $INTLIBS"
usage="Usage: get-wings-flags #lp#--cflags#rp# #lp#--ldflags#rp# #lp#--libs#rp#"
@@ -918,12 +912,9 @@ EOF
cat <<EOF >get-wutil-flags
#!/bin/sh
prefix="$prefix"
exec_prefix=\$prefix
WCFLAGS="-I\$prefix/include $inc_search_path"
WLFLAGS="-L\$exec_prefix/lib $lib_search_path"
WLIBS="-lWUtil $NETLIBS"
WCFLAGS="-I`eval echo ${includedir}`"
WLFLAGS="-L${_libdir}"
WLIBS="-lWUtil $NETLIBS $INTLIBS"
usage="Usage: get-wutil-flags #lp#--cflags#rp# #lp#--ldflags#rp# #lp#--libs#rp#"