[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] Patch for JPilotPluginProxy/configure.in.in -- Bug found?
From:       Hartmut Goebel <h.goebel () goebel-consult ! de>
Date:       2003-04-29 15:00:22
[Download RAW message or body]

Hi,

I just reworked JPilotPluginProxy/configure.in.in so that the alternate 
includes are defined at a single place now. Patch is includes.

Thereby I discovered the parts "GTK" and "GDK" are absolutly identical. 
In the un-pathced version they differ only in the pathes to be checked, 
but not in the libraries which are checked. Is this indented or a bug?

Patch description:
- define alternate includes at a single place
- when searching for *.h files stop testing when found

Regards
Hartmut Goebel
-- 
| Hartmut Goebel             | strategisch-technische IT-Beratung |
| h.goebel@goebel-consult.de | www.goebel-consult.de              |

["JPilotPluginProxy_configure_in_in.patch" (text/plain)]

32,33d31
< 
< 
39d36
< 
47a45,52
> ALTERNATE_KPILOT_JPILOT_INCLUDES="/usr/local/include"
> ALTERNATE_KPILOT_JPILOT_INCLUDES="$ALTERNATE_KPILOT_JPILOT_INCLUDES \
> /usr/include/glib-2.0 /usr/include/glib-1.2" \
> ALTERNATE_KPILOT_JPILOT_INCLUDES="$ALTERNATE_KPILOT_JPILOT_INCLUDES \
> /usr/include/gtk-2.0 /usr/include/gtk-1.2" \
> ALTERNATE_KPILOT_JPILOT_INCLUDES="$ALTERNATE_KPILOT_JPILOT_INCLUDES \
> /usr/include/glib /vol/gnome/support/include" 
> ALTERNATE_KPILOT_JPILOT_LIBS=
> ALTERNATE_KPILOT_JPILOT_LIBS="$ALTERNATE_KPILOT_JPILOT_LIBS /usr/local/glib \
> /usr/local/lib /usr/lib /vol/kde/support/lib" 
58,60c63,67
< 	for i in /usr/local/include /usr/include/glib-2.0 /usr/include/glib-1.2 \
/vol/gnome/support/include /usr/include/glib  ; do < 		test -f $i/glib.h && \
HAVE_GLIB=1 < 		test -f $i/glib.h && GLIB_INCLUDE="-I$i"
---
> 	for i in $ALTERNATE_KPILOT_JPILOT_INCLUDES ; do
> 		if test "$HAVE_GLIB" = "0" ; then
> 			test -f $i/glib.h && HAVE_GLIB=1
> 			test -f $i/glib.h && GLIB_INCLUDE="-I$i"
> 		fi
63d69
< 
83c89
< 	for i in /usr/local/glib /usr/local/lib /usr/local/lib /vol/kde/support/lib ; do
---
> 	for i in $ALTERNATE_KPILOT_JPILOT_LIBS ; do
123,125c129,133
< 	for i in /usr/local/include  /vol/gnome/support/include  ; do
< 		test -f $i/gtk/gtk.h && HAVE_GTK=1
< 		test -f $i/gtk/gtk.h && GTK_INCLUDE="-I$i"
---
> 	for i in $ALTERNATE_KPILOT_JPILOT_INCLUDES ; do
> 		if test "$HAVE_GTK" = "0" ; then
> 			test -f $i/gtk/gtk.h && HAVE_GTK=1
> 			test -f $i/gtk/gtk.h && GTK_INCLUDE="-I$i"
> 		fi
147c155
< 	for i in /usr/local/glib /usr/local/lib /usr/lib /vol/kde/support/lib ; do
---
> 	for i in $ALTERNATE_KPILOT_JPILOT_LIBS ; do
187c195
< 	for i in /usr/local/include  /vol/gnome/support/include  ; do
---
> 	for i in $ALTERNATE_KPILOT_JPILOT_INCLUDES ; do
211c219
< 	for i in /usr/local/glib /usr/local/lib /usr/lib /vol/kde/support/lib ; do
---
> 	for i in  $ALTERNATE_KPILOT_JPILOT_LIBS ; do
215d222
< 
233,238d239
< 
< 
< 
< 
< 
< 



_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic