

Libraries specified should have their full dependences in the proper order.
Duplicates are remove automatically.  First specified will be last in
output.   

Here is the documentation of available macros.

AF_ARG_DIR(directory_name,[default_value])
  Adds setable directory option.  This option can be set with
  --directory_name=DIR or printed with --directory_name.

  Example:
    AF_ARG_DIR(@prefix@)
     gives --prefix[=DIR] option with default of @prefix@ from autoconf


AF_ARG_MSG(message)
  Just adds a message to the options list


AF_ARG_SET_OPTION(name,usage_message,action)
  Adds a nonstandard setable (--name=blah) option with message and action.
  additional arguments are in $af_optarg.


AF_ARG_VERSION(version_string)
  Adds --version with the named string as output.


AF_COPY_DIR(dir1,dir2)
  Copies the directory setting of dir1 to the dir2,
  if one is set but not other.  

  Example:
     AF_COPY_DIR(prefix,exec_prefix)  
  Makes exec_prefix make prefix if prefix set, but not exec_prefix


AF_DECL(sh_statement)
  Adds a declaration above the main body.  


AF_DEF_CFLAGS(cflags)
  Defines cflags to be added.


AF_DEF_LIBS(libraries)
  Defines libaries to be added.


AF_INIT(name)
  Just names the script.


AF_LIBRARY(libname,set_action)
  Define a library option.

  Example:
    AF_LIBRARY(gtk,[dnl
      AF_DEF_CFLAGS($gtk_cflags)
      AF_DEF_LIBS($gtk_libs)
    ])


AF_LIB_DEFAULT(libname)
  Mark a library as the default if none are given.

