Menu

basic autoconf project which uses CommonC++

Help
2000-07-09
2000-07-14
  • Michal Stekrt

    Michal Stekrt - 2000-07-09

    A would like to use CommonC++ library in my project. I want to have it build with help of autoconf, automake etc.
    The problem is that I can't crate simple basic project.
    Is somewhere an example simple application with correct
    configure.in etc. I've read overview.txt where is how make
    CommonC++ application  based on autoconf, but it seems to me not to be very clear to understand. So I would like to get some example.

    When I try to run autoheader then i get messages like:
    /usr/bin/autoheader: Symbol `HAVE_ASM_ATOMIC_H' is not covered by /usr/share/autoconf/acconfig.h ./acconfig.h
    /usr/bin/autoheader: Symbol `HAVE_BOOL_TYPE' is not covered by /usr/share/autoconf/acconfig.h ./acconfig.h
    /usr/bin/autoheader: Symbol `HAVE_ENDIAN_H' is not covered by /usr/share/autoconf/acconfig.h ./acconfig.h
    /usr/bin/autoheader: Symbol `HAVE_EXCEPTION_HANDLING' is not covered by /usr/share/autoconf/acconfig.h ./accon
    fig.h  

    Also I'm confused by reconfig script in the base directory.
    This script runs acconfig which is not in my system. How can I get it ? I can't find any reference how to produce this file in autoconf docs.

    Thanks in advance for your reply.

     
    • David Sugar

      David Sugar - 2000-07-14

      If you look in "ccscript", the configure.in for a seperate package that uses Common C++ is very simple.  The "config.h" from CommonC++ (cc++/config.h) can often be used directly.  You also need the ost_common.m4 macros.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.