Changeset 13:42fd631176b7 in xplra for configure.ac


Ignore:
Timestamp:
01/27/13 08:21:24 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 3 'hg:/home/ivaradi/xplane/hg/xplra' '/'>, 'public')
Message:

Reorganized code to be able to handle the client library as a normal libtool library

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r12 r13  
    11AC_INIT(xplra, 0.1, ivaradi@gmail.com)
    22AM_INIT_AUTOMAKE([foreign no-exeext])
     3
     4LT_INIT
     5AC_CONFIG_MACRO_DIR([m4])
    36
    47AC_PROG_CC
     
    912AM_VSCPL_TARGET_API
    1013
    11 AC_MSG_CHECKING([where to find the X-Plane Plugin SDK])
    12 AC_ARG_WITH(xpsdk,
    13             AC_HELP_STRING([--with-xpsdk=DIR],
    14                            [use the X-Plane Plugin SDK in DIR]),
    15             [
    16                 if test -r $withval/CHeaders/XPLM/XPLMPlugin.h; then
    17                     AC_MSG_RESULT([$withval])
    18                     XPSDK_INCLUDES="-I$withval/CHeaders/XPLM -I$withval/CHeaders/Wrappers -I$withval/CHeaders/Widgets"
    19                     if test $_target_win32 -eq 0; then
    20                         XPSDK_LDFLAGS="-L$withval/Libraries/Win"
    21                     else
    22                         XPSDK_LDFLAGS=""
    23                     fi
    24                 else
    25                     AC_MSG_FAILURE([not found in $withval])
    26                 fi
    27             ],
    28             [
    29                  AC_MSG_FAILURE([please, specify])
    30             ])
    31 
    3214AC_SUBST(XPSDK_INCLUDES)
    3315AC_SUBST(XPSDK_LDFLAGS)
    3416
    3517AM_VSCPL
    36 PKG_CHECK_MODULES([LIBXPLCOMMON], [libxplcommon >= 0.1])
    3718
    3819AC_CONFIG_FILES([
    3920        Makefile
    4021        src/Makefile
    41         src/xplra/Makefile
     22        src/client/Makefile
     23        src/client/c/Makefile
     24        src/client/c/hu/Makefile
     25        src/client/c/hu/varadiistvan/Makefile
     26        src/client/c/hu/varadiistvan/xplra/Makefile
    4227])
    4328
     29AC_CONFIG_SUBDIRS([src/plugin])
     30
    4431AC_OUTPUT()
Note: See TracChangeset for help on using the changeset viewer.