[ghemical-devel] configure script(s) should	call	PKG_PROG_PKG_CONFIG
    Daniel Leidert 
    daniel.leidert.spam at gmx.net
       
    Sat Oct  4 18:14:31 EDT 2008
    
    
  
Am Sonntag, den 05.10.2008, 00:07 +0200 schrieb Daniel Leidert:
[configure files]
> Attached to this are updated ones for libghemical and ghemical
> (liboglappth will follow soon).
Attached too.
Regards, Daniel
-------------- next part --------------
# Configuration for liboglappth.
# Copyright (C) 2006- Tommi Hassinen.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1, or (at your option)
# any later version.
# Process this file with aclocal/autoconf to produce a configure script.
AC_INIT([liboglappth], [0.98])
##################################################################
## also see src/Makefile.am when you change the version number!!!
##################################################################
AC_PREREQ([2.48])
AC_CONFIG_SRCDIR([src/base_app.cpp])
AM_INIT_AUTOMAKE([-Wall])
AC_CANONICAL_HOST
top_builddir_=`pwd`
AC_SUBST(top_builddir_)
# Get any build/host and enable/disable flags now.
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# if a mingw32 host is specified, then ???
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
##case $host in
##	*-*-mingw32*)
##		CPPFLAGS="-Dmno-cygwin -Dmms_bitfields $CPPFLAGS"
##		LIBS="$LIBS -mwindows"
##		;;
##esac
# Checks for programs.
# ^^^^^^^^^^^^^^^^^^^^
AC_PROG_CC
AC_PROG_CXX
AC_PROG_CPP
AC_PROG_CXXCPP
AC_PROG_INSTALL
AC_PROG_LIBTOOL
AC_PATH_PROG([AR], [ar], [ar])
AC_PATH_PROG([SHELL], [sh], [/bin/sh])
AC_PROG_MAKE_SET
AM_SANITY_CHECK
# Checks for libraries.
# ^^^^^^^^^^^^^^^^^^^^^
AC_CHECK_LIB([m], [acos],, AC_MSG_ERROR([math library missing]))
LIBS="$LIBS -L/usr/X11R6/lib"
## the GL/GLU library checks won't work at mingw environment...
## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#AC_CHECK_LIB([GL], [glRenderMode],, AC_MSG_ERROR([GL library missing]))
#AC_CHECK_LIB([GLU], [gluCylinder],, AC_MSG_ERROR([GLU library missing]))
# Checks for header files.
# ^^^^^^^^^^^^^^^^^^^^^^^^
AC_CHECK_HEADERS([GL/gl.h])
AC_CHECK_HEADERS([GL/glu.h])
# Checks for typedefs, structures, and compiler characteristics.
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AC_PROG_CC_STDC
AC_C_INLINE
AC_C_CONST
AC_SUBST([CXXFLAGS])
AC_SUBST([LDFLAGS])
# Checks for library functions.
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AC_HEADER_STDC
AC_CONFIG_FILES([
	liboglappth.pc
	Makefile
	src/Makefile
])
AC_MSG_NOTICE([
build options:
^^^^^^^^^^^^^^
])
AC_CONFIG_COMMANDS([stamp.h], [echo timestamp > stamp.h])
    
    
More information about the ghemical-devel
mailing list