facil la compilacion. Ahora para compilar :
#> aclocal
#> autoconf
#> automake -a
Solo la primera vez. Luego :
#> ./configure
#> make
Done!
-include $(top_srcdir)/examples/Makefile.am_fragment
+## Process this file with automake to produce Makefile.in
+
+INCLUDES = \
+ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ @PACKAGE_CFLAGS@
+
+bin_PROGRAMS = drag_and_drop
+
+drag_and_drop_SOURCES = main.cc \
+ dndwindow.cc \
+ dndwindow.h
+
+drag_and_drop_LDADD = @PACKAGE_LIBS@
+
-#Build the executable, but don't install it.
-noinst_PROGRAMS = drag_and_drop
-drag_and_drop_SOURCES = dndwindow.h dndwindow.cc main.cc
--- /dev/null
+dnl Process this file with autoconf to produce a configure script.
+
+AC_INIT(configure.in)
+AM_INIT_AUTOMAKE(drag_and_drop, 0.1)
+AM_MAINTAINER_MODE
+
+GNOME_COMMON_INIT
+
+AC_ISC_POSIX
+AC_PROG_CXX
+AM_PROG_CC_STDC
+AC_HEADER_STDC
+
+pkg_modules="libgnomeui-2.0"
+PKG_CHECK_MODULES(PACKAGE,
+ gtkmm-2.0 >= 2.0.0 )
+AC_SUBST(PACKAGE_CFLAGS)
+AC_SUBST(PACKAGE_LIBS)
+
+AC_OUTPUT([
+Makefile
+])
+