Skip to content
Browse files

fix automake hocrgtk bug

git-svn-id: http://svn.berlios.de/svnroot/repos/hocr/trunk@427 49e73cb6-26fe-0310-acd5-9921f42b7f61
  • Loading branch information...
1 parent c192ec6 commit 14979214e15b7e3e83ae555c1af56cb7749ad243 kzamir committed May 27, 2008
Showing with 5 additions and 1 deletion.
  1. +1 −0 libhocr/ChangeLog
  2. +1 −0 libhocr/configure.ac
  3. +3 −1 libhocr/src/Makefile.am
View
1 libhocr/ChangeLog
@@ -4,6 +4,7 @@ libhocr (0.10.10)
* Fix hocr-gtk example show image filename in title
* hocr-gtk example requires python bindings
* add an ho_array object for arithmetic based operations
+ * Fix libhocrgtk build on none gtk systems (Bug report: Nadav Mavor)
-- Yaacov Zamir <kzamir_at_walla.co.il> Sunday, 10 May 2008 09:04
View
1 libhocr/configure.ac
@@ -316,6 +316,7 @@ echo build: $BUILD_STR
echo prefix: $prefix
echo compiler: ${CC}
echo have swig: ${have_swig}
+echo pkg-config path: ${PKG_CONFIG}
echo
echo with glib: ${build_glib}
echo with gtk: ${build_gtk}
View
4 libhocr/src/Makefile.am
@@ -7,7 +7,7 @@ INCLUDES = \
$(fftw_CFLAGS) \
-DBUILD=\"$(BUILD_STR)\"
-lib_LTLIBRARIES = libhocr.la libhocrgtk.la
+lib_LTLIBRARIES = libhocr.la
libhocr_la_SOURCES = \
hocr.c \
@@ -62,6 +62,8 @@ library_include_HEADERS = \
# libhocrgtk, helper functions to use hocr in gtk programs
if WITH_GTK
+lib_LTLIBRARIES += libhocrgtk.la
+
libhocrgtk_la_SOURCES = \
ho_gtk.c

0 comments on commit 1497921

Please sign in to comment.
Something went wrong with that request. Please try again.