Skip to contentSkip to conversation

A Simple question

DISCUSSION Jad Saklawi 3 participants 3 messages Jun 27, 2003

lore
Share & tools
lore
#0 lore raw

Hello guys,
I am new to UNIX programing, i know how to write make files
any how i would like to write dynamic make files depending on the libraries the user has, iv seen in many programs using the "./configure" and would like to ask if any one has a tutorial on how to write Makefile.in files for my programs so that they could be dynamically configured by ./configure

Thanks for your help, Greets Jad

#1 lore raw
Quoted 5 lines · Jad Saklawi

I am new to UNIX programing, i know how to write make files
any how i would like to write dynamic make files depending on the libraries the user has, iv seen in many programs using the "./configure" and would like to ask if any one has a tutorial on how to write Makefile.in files for my programs so that they could be dynamically configured by ./configure

I don't know about a tutorial, but autoconf (the tool which generates configure scripts) has documentation in Info format ("info autoconf", or "C-h C-i autoconf" in XEmacs).

Signature · 1 line
Glynn Clements <[email protected]>
#2 lore raw
In reply to Jad Saklawi

Jad,

Try this document. It is a nice intro into how the gnu configure system
works. With a few examples. It will get you started, and as you get a feel for how it all works, you can delve into the autoconf/automake/libtool info documents.

Chuck

Quoted 12 lines · Jad Saklawi

Hello guys,
I am new to UNIX programing, i know how to write make files
any how i would like to write dynamic make files depending on the libraries the user has, iv seen in many programs using the "./configure" and would like to ask if any one has a tutorial on how to write Makefile.in files for my programs so that they could be dynamically configured by ./configure

Thanks for your help, Greets Jad
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html