Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, March 28, 2024

File: [Platon] / libco / configure.ac (download)

Revision 1.6, Sat Apr 5 16:28:28 2003 UTC (20 years, 11 months ago) by yenar


Changes since 1.5: +1 -1 lines

bump up version to 0.2.4 [configure.ac]

###{{{###############################################################
# This file is part of libco - object library for C                 #
# Copyright (c) 2002                                                #
#     Peter Rockai (yenar) <yenar@host.sk>                          #
#                                                                   #
# This program is free software; you can redistribute it and/or     #
# modify it under the terms of the GNU General Public               #
# License as published by the Free Software Foundation; either      #
# version 2 of the License, or (at your option) any later version.  #
#                                                                   #
# This program is distributed in the hope that it will be useful,   #
# but WITHOUT ANY WARRANTY; without even the implied warranty of    #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU #
# General Public License for more details.                          #
#                                                                   #
# You should have received a copy of the GNU General Public License #
# along with this program; see the file COPYING.  If not, write to  #
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,  #
# Boston, MA 02111-1307, USA.                                       #
###############################################################}}}###

# Keep the folds below intact. If you want to know what are they good for,
# look at end of resulting configure script ;)

# Unfortunately, autoconf strips everything before AC_INIT, thus i cannot fold
# this one :(

AC_INIT(libco/co_object.c)
AC_PREREQ(2.50)

### configure.in begins here
# {{{ auxiliary files are in admin subdir
AC_CONFIG_AUX_DIR(admin)
# }}}
AC_PROG_CC
AC_PROG_LD
YAAD_INIT(libco, 0.2.4)
YAAD_INIT_C
# {{{ init libtool & libltdl
# {{{ AC_DISABLE_STATIC
AM_DISABLE_STATIC
# }}}
# {{{ check for libltdl installation
AC_CHECK_HEADER([ltdl.h],
    [AC_CHECK_LIB([ltdl], [lt_dlcaller_register],
        [LIBLTDL="-lltdl"],
        [LIBLTDL="./libltdl_co.la"])
    ],
    [LIBLTDL="./libltdl_co.la"]
)
AC_SUBST(LIBLTDL)
# }}}
# {{{ AC_LIB_LTDL
AC_LIB_LTDL
# }}}
# {{{ AC_LIBTOOL_DLOPEN
AC_LIBTOOL_DLOPEN
# }}}
# {{{ AC_PROG_LIBTOOL
AM_PROG_LIBTOOL
# }}}
# }}}
# {{{ initialize gettext
#ALL_LINGUAS="sk"
AM_GNU_GETTEXT_VERSION(0.11.5)
AM_GNU_GETTEXT([external])
LOCALEDIR="${datadir}/locale";
LOCALEDIR=`echo "$LOCALEDIR" | sed -e "s,\\\${prefix},${prefix},"`
AC_DEFINE_UNQUOTED(LOCALEDIR, "$LOCALEDIR")
# }}}
# {{{ export variables
AC_SUBST(CFLAGS)
AC_SUBST(LIBS)
AC_SUBST(TOPSUBDIRS)
AH_TEMPLATE(LOCALEDIR, directory with locale files)
AC_SUBST(LOCALEDIR)
# }}}
YAAD_CHECK_COMMON
YAAD_CHECK_PACKAGE(python, python2.2/Python.h, Py_Initialize, python2.2)
# {{{ create output files
AC_OUTPUT(
    Makefile \
    libco/Makefile \
    utils/Makefile \
    test/Makefile \
    po/Makefile.in \
    Doxyfile \
)
# }}}
### configure.in ends here

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top