summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 549019d)
raw | patch | inline | side by side (parent: 549019d)
author | rwst <rwst@users.sourceforge.net> | |
Tue, 17 Jan 2006 10:30:34 +0000 (10:30 +0000) | ||
committer | rwst <rwst@users.sourceforge.net> | |
Tue, 17 Jan 2006 10:30:34 +0000 (10:30 +0000) |
configure.ac | patch | blob | history | |
src/Makefile_insert | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index dd3981c60d0dba5b3b147ea70fc213b12700e309..b0ce823c14b8175a900424049ac0ec01d2ec2e28 100644 (file)
--- a/configure.ac
+++ b/configure.ac
dnl ******************************
dnl Win32
dnl ******************************
-AC_MSG_CHECKING([for Win32 platform])
+AC_MSG_CHECKING([for native Win32])
case "$host" in
*-*-mingw*)
- platform_win32=yes
+ os_win32=yes
INKSCAPE_CFLAGS="$INKSCAPE_CFLAGS -mms-bitfields -DLIBXML_STATIC"
;;
*)
- platform_win32=no
+ os_win32=no
;;
esac
-AC_MSG_RESULT([$platform_win32])
-AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes")
+AC_MSG_RESULT([$os_win32])
+AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes")
dnl ******************************
dnl Xft checking
if test "$?" -gt "0"; then
with_perl="no"
else
- checkPERL_LDFLAGS=`perl -MExtUtils::Embed -e ldopts 2>/dev/null`
+ checkPERL_LIBS=`perl -MExtUtils::Embed -e ldopts 2>/dev/null`
if test "$?" -gt "0"; then
with_perl="no"
else
if test "x$with_perl" = "xyes"; then
# Test that we actually have the perl libraries installed
oldCFLAGS="$CFLAGS"
- oldLDFLAGS="$LDFLAGS"
+ oldLIBS="$LIBS"
CFLAGS="$CFLAGS $checkPERL_CFLAGS"
- LDFLAGS="$LDFLAGS $checkPERL_LDFLAGS"
+ LIBS="$LIBS $checkPERL_LIBS"
AC_CHECK_FUNC([perl_parse],[
PERL_CFLAGS="$checkPERL_CFLAGS"
- PERL_LDFLAGS="$checkPERL_LDFLAGS"
+ PERL_LIBS="$checkPERL_LIBS"
AC_DEFINE(WITH_PERL, 1, [use Perl for embedded scripting])
],[
with_perl="no"
])
CFLAGS="$oldCFLAGS"
- LDFLAGS="$oldLDFLAGS"
+ LIBS="$oldLIBS"
fi
AM_CONDITIONAL(WITH_PERL, test "x$with_perl" = "xyes")
AC_SUBST(PERL_CFLAGS)
-AC_SUBST(PERL_LDFLAGS)
+AC_SUBST(PERL_LIBS)
dnl ******************************
dnl Python checking
if test "$?" -gt "0"; then
with_python="no"
else
- checkPYTHON_LIBS=`python -c "import distutils.sysconfig ; print '%s/%s %s' % (distutils.sysconfig.get_config_var('LIBPL'),distutils.sysconfig.get_config_var('LIBRARY'),distutils.sysconfig.get_config_var('LIBS'))" 2>/dev/null`
+ checkPYTHON_LIBS=`python -c "import distutils.sysconfig ; print '%s/%s %s' % (distutils.sysconfig.get_config_var('LIBPL'),distutils.sysconfig.get_config_var('LDLIBRARY'),distutils.sysconfig.get_config_var('LIBS'))" 2>/dev/null`
if test "$?" -gt "0"; then
with_python="no"
else
diff --git a/src/Makefile_insert b/src/Makefile_insert
index 44439f16442bc27fa48ad71d666289e19a39d562..3c7d827c834fcdfae0598b88f2973e020618ddca 100644 (file)
--- a/src/Makefile_insert
+++ b/src/Makefile_insert
#
# ################################################
-if PLATFORM_WIN32
+if OS_WIN32
win32_sources = winmain.cpp
win32ldflags = -lcomdlg32
endif
$(FREETYPE_LIBS) \
$(kdeldadd) \
$(win32ldflags) \
- $(PERL_LDFLAGS) \
+ $(PERL_LIBS) \
$(PYTHON_LIBS) \
$(LIBLOUDMOUTH_LIBS)