* Hong Li wrote on Sat, Dec 18, 2004 at 12:25:45AM CET:
> 
> I am pretty new for Automake, autoconf..

Your question is an Autoconf one, actually.

> I have a project and I already have both linux and
> Unix verions. Now I wish to have a distribution using
> configure tools. 
> 
> it is pretty easy to go through the sample for using
> automake, hello-bla-bla..

The manuals of both packages are quite well-written,
not short.  Looking at other packages using the autotools
can help, too.

> My question is, how the autoconf or automake can
> determine the machine type. In my program, the
> compiler needs to know "little-endian" or "big-endian"
> of the machine. Can autoconf, automake check on this
> and automaticaly give a -DLITTLE_ENDIAN/or
> -DBIG_ENDIAN for configure file?

Search for AC_C_BIGENDIAN in
  info Autoconf

Regards,
Ralf


Reply via email to