Hi,
I was trying Eterm and got a problem when building the libast from
other directory than the source one. When I run make after the
configure, the header file libast/sysdefs.h isn't found. It seems that
this file is generated during the build, thus it isn't in the source
dir but in the build dir.
Attached is a patch to fix the problem.
I hope this can be useful.
Regards,
--
Rafael Antognolli
ProFUSION embedded systems
http://profusion.mobi
Index: libast/include/libast/Makefile.am
===================================================================
--- libast/include/libast/Makefile.am (revision 38482)
+++ libast/include/libast/Makefile.am (working copy)
@@ -3,13 +3,18 @@
EXTRA_HEADERS = array.h avl_tree.h condition_if.h dlinked_list.h \
iterator_if.h linked_list.h list_if.h map_if.h mbuff.h module.h \
mutex_if.h obj.h objpair.h pthreads.h regexp.h socket.h str.h \
-sysdefs.h thread_if.h tok.h types.h url.h ustr.h vector_if.h
+thread_if.h tok.h url.h ustr.h vector_if.h
+OTHERS = sysdefs.h types.h
+
install-exec-hook:
$(mkinstalldirs) $(DESTDIR)$(includedir)/$(PACKAGE)
for i in $(EXTRA_HEADERS) ; do \
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/$(PACKAGE)/ ; \
done
+ for i in $(OTHERS) ; do \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(includedir)/$(PACKAGE)/ ; \
+ done
uninstall-hook:
rm -rf $(DESTDIR)$(includedir)/$(PACKAGE)
Index: libast/src/Makefile.am
===================================================================
--- libast/src/Makefile.am (revision 38482)
+++ libast/src/Makefile.am (working copy)
@@ -2,7 +2,8 @@
lib_LTLIBRARIES = libast.la
-INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/include/$(PACKAGE)
+INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/include/$(PACKAGE) \
+ -I$(top_builddir)/include
AM_CFLAGS = $(PTHREAD_CFLAGS)
AM_LDFLAGS = $(PTHREAD_LIBS)
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel