Re: [gtk-list] Re: The Programmer's FAQ ? (was : Re: alignment oddity)




   4. A simple autoconf+automake example for GTK programs (been there, done
	  that, have the T-shirt).

Here's a contribution (actually for Gtk--).  I figure FAQ answers
should be of the ``do this'' variety, and if they want to know what
any of the commands do they should look at the docs.

% autoscan
% cp configure.scan configure.in

add macroes to configure.in:
AM_INIT_AUTOMAKE(xdl, 0.1)
AC_PROG_CXX

% aclocal
% autoconf
% automake --foreign --add-missing Makefile
% ./configure
% make

-- 
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]