Changeset 11:215163a309ee in xplra for configure.ac


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

Updated to the new, separated VSCPL and XPLCOMMON libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r1 r11  
    77AC_PROG_CC
    88AC_PROG_CXX
     9AC_CONFIG_MACRO_DIR([m4])
    910
    1011PKG_PROG_PKG_CONFIG
    1112
    12 AC_CHECK_HEADERS([windows.h winsock2.h])
    13 
    14 test "$ac_cv_header_windows_h" = "yes" -a "$ac_cv_header_winsock2_h" = "yes"
    15 _target_win32=$?
    16 
    17 AM_CONDITIONAL([TARGET_API_WIN32], test $_target_win32 -eq 0)
    18 AM_CONDITIONAL([TARGET_API_WIN64], test $_target_win32 -eq 0 -a "$host_cpu" = "x86_64")
    19 AM_CONDITIONAL([TARGET_API_POSIX], test $_target_win32 -ne 0)
    20 if test $_target_win32 -eq 0; then
    21    if test "$host_cpu" = "x86_64"; then
    22        AC_DEFINE([TARGET_API_WIN64], [1], [Define if the target is the 64-bit Win32 API.])
    23    fi
    24    AC_DEFINE([TARGET_API_WIN32], [1], [Define if the target is the Win32 API.])
    25 else
    26    AC_DEFINE([TARGET_API_POSIX], [1], [Define if the target is the POSIX API.])
    27 fi
     13AM_VSCPL_TARGET_API
    2814
    2915AC_MSG_CHECKING([where to find the X-Plane Plugin SDK])
     
    5137AC_SUBST(XPSDK_LDFLAGS)
    5238
     39AM_VSCPL
    5340PKG_CHECK_MODULES([LIBXPLCOMMON], [libxplcommon >= 0.1])
    5441
Note: See TracChangeset for help on using the changeset viewer.