[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui configure.in,1.13,1.14
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui configure.in,1.13,1.14 |
Date: |
Wed, 26 Jun 2002 04:53:30 -0400 |
Update of /cvsroot/paragui/paragui
In directory subversions:/tmp/cvs-serv7526
Modified Files:
configure.in
Log Message:
added pkg-config check
Index: configure.in
===================================================================
RCS file: /cvsroot/paragui/paragui/configure.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** configure.in 26 Jun 2002 08:32:34 -0000 1.13
--- configure.in 26 Jun 2002 08:53:28 -0000 1.14
***************
*** 11,14 ****
--- 11,16 ----
SIGC_VERSION=1.1.10
+ PKG_SIGC="sigc++-1.2"
+
dnl Set various version strings - taken gratefully from the GTk sources
***************
*** 68,81 ****
LIBS="-L$prefix/lib $LIBS"
- dnl Check for zip (needed to pack themes and VC++ workspace)
- dnl I deactivated this because it isn't needed for compiling
- dnl It's just needed for packaging (that won't do a user)
-
- dnl AC_CHECK_PROG(have_zip, zip, yes, no)
- dnl if test x$have_zip = xno; then
- dnl AC_MSG_ERROR([*** Unable to find zip tool !])
- dnl fi
-
-
dnl Add verbose warnings by default, and allow ANSI compliance checking
AC_ARG_ENABLE(strict-ansi,
--- 70,73 ----
***************
*** 90,93 ****
--- 82,92 ----
+ dnl Check for pkg-config
+
+ AC_CHECK_PROG(have_pkg_config, pkg-config, yes, no)
+ if test x$have_pkg_config = xno; then
+ AC_MSG_ERROR([*** Unable to find pkg-config tool !!!])
+ fi
+
dnl enable mpatrol mem profiler
mpatrol=yes
***************
*** 236,239 ****
--- 235,245 ----
dnl )
+ SIGC_CFLAGS=`pkg-config $PKG_SIGC --cflags`
+ AC_SUBST(SIGC_CFLAGS)
+
+ SIGC_LIBS=`pkg-config $PKG_SIGC --libs`
+ AC_SUBST(SIGC_LIBS)
+
+
dnl Check for SDL
***************
*** 519,528 ****
AC_CHECK_FUNCS(vsnprintf)
AC_CHECK_FUNCS(strsep)
-
- SIGC_CFLAGS="-I$prefix/include/sigc++-1.2 -I$prefix/lib/sigc++-1.2/include"
- AC_SUBST(SIGC_CFLAGS)
-
- SIGC_LIBS="-lsigc-1.1"
- AC_SUBST(SIGC_LIBS)
PARAGUI_CFLAGS="$STL_CFLAGS $SIGC_CFLAGS $FREETYPE_CFLAGS $SDL_CFLAGS
$RTTI_FLAGS $EXTRA_FLAGS"
--- 525,528 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui configure.in,1.13,1.14,
Alexander Pipelka <address@hidden> <=