Changeset 38:d68450d100a8 in xplcommon for configure.ac
- Timestamp:
- 01/03/13 08:51:38 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r4 r38 21 21 fi 22 22 23 AC_MSG_CHECKING([where to find the X-Plane Plugin SDK]) 24 AC_ARG_WITH(xpsdk, 25 AC_HELP_STRING([--with-xpsdk=DIR], 26 [use the X-Plane Plugin SDK in DIR]), 27 [ 28 if test -r $withval/CHeaders/XPLM/XPLMPlugin.h; then 29 AC_MSG_RESULT([$withval]) 30 XPSDK_INCLUDES="-I$withval/CHeaders/XPLM -I$withval/CHeaders/Wrappers -I$withval/CHeaders/Widgets" 31 if test $_target_win32 -eq 0; then 32 XPSDK_LDFLAGS="-L$withval/Libraries/Win" 33 else 34 XPSDK_LDFLAGS="" 35 fi 36 else 37 AC_MSG_FAILURE([not found in $withval]) 38 fi 39 ], 40 [ 41 AC_MSG_FAILURE([please, specify]) 42 ]) 43 44 AC_SUBST(XPSDK_INCLUDES) 45 AC_SUBST(XPSDK_LDFLAGS) 46 23 47 AC_CONFIG_FILES([ 24 48 Makefile
Note:
See TracChangeset
for help on using the changeset viewer.