1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264
|
################################################################################
### Copyright 2007 VMware, Inc. All rights reserved.
###
### Configure script for building the VMware OSS Tools.
###
###
### This program is free software; you can redistribute it and/or modify
### it under the terms of version 2 of the GNU General Public License as
### published by the Free Software Foundation.
###
### 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; if not, write to the Free Software
### Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
################################################################################
################################################################################
# In addition to the usual environment variables and command line
# arguments that a configure script usually takes (CFLAGS, LDFLAGS,
# etc.), this script also accepts variables of the form:
#
# CUSTOM_LIB_CPPFLAGS: compile-time flags for LIB
# CUSTOM_LIB_LIBS: link-time flags for LIB
# RPCGENFLAGS: extra flags to pass to rpcgen
#
# The following libraries are currently tested: DNET, FUSE, GLIB2, GMODULE,
# GOBJECT, GTHREAD, GTK, GTKMM, ICU, LIBPNG, PROCPS, URIPARSER, ZLIB
#
# For the procps library: you can provide the name of the procps library on
# your system by defining CUSTOM_PROCPS_NAME. By default the configure script
# will try both "-lproc" and "-lproc-3.2.7".
################################################################################
###
### Initialization
###
TOOLS_VERSION="8.4.2"
AC_INIT(
[open-vm-tools],
[8.4.2],
[open-vm-tools-devel@lists.sourceforge.net])
# In order to make this configure script auto-detect situations where
# people have a 32-bit userland running with a 64-bit kernel, we try to ask
# the compiler (assumedly gcc) for its default Target:.
# We have to set up $TEST_CC manually, since AC_PROG_CC hasn't yet been run (and can't be until AC_CANONICAL_HOST & AC_CANONICAL_BUILD are run)
# The purpose of all this is to set up $host_alias/$build_alias in a more
# intelligent way than config.guess currently does.
TEST_CC="$CC_FOR_BUILD"
test -z "$TEST_CC" && TEST_CC="$HOST_CC"
test -z "$TEST_CC" && TEST_CC="$CC"
if test -n "$TEST_CC" -a -z "$host_alias"; then
host_alias="`$TEST_CC -dumpmachine`"
if test -z "$build_alias" -a -n "$host_alias"; then
build_alias="$host_alias"
fi
fi
unset TEST_CC
# checkvm/checkvm.c has no special significance - we just need to pass in a file that
# helps autoconf verify that it really has found the source tree.
AC_CONFIG_SRCDIR([checkvm/checkvm.c])
# Keep the top-level directory tidy by putting auxiliary build tools and local
# macros in separate subdirectories.
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_HOST
AC_CANONICAL_BUILD
# Quote the regular expressions
case "$host_cpu" in
[i[3456]86])
userSpaceBitness="32"
;;
[x86_64])
userSpaceBitness="64"
;;
[*])
AC_MSG_ERROR([Unknown architecture.])
;;
esac
# Operational arguments.
AC_ARG_WITH([root-privileges],
[AS_HELP_STRING([--without-root-privileges],
[does not perform any operations that require root privileges])],
[],
[with_root_privileges=yes])
# Kernel arguments.
# The kernel args have to go here otherwise the KERNEL_RELEASE won't be visible
# to getOsVersion()
AC_ARG_WITH([kernel-modules],
[AS_HELP_STRING([--without-kernel-modules],
[does not compile or install the kernel modules])],
[],
[with_kernel_modules=yes])
AC_ARG_WITH([kernel-release],
[AS_HELP_STRING([--with-kernel-release],
[specifies the kernel release you want to build against])],
[KERNEL_RELEASE="$withval"],
[KERNEL_RELEASE=`uname -r`])
AC_ARG_WITH([linuxdir],
[AS_HELP_STRING([--with-linuxdir],
[specifies the Linux directory you want to use])],
[LINUXDIR="$withval"],
[LINUXDIR=/lib/modules/$KERNEL_RELEASE])
# Turn the uname output into something we can run comparisons on.
getOsVersion() {
major_version="`echo $KERNEL_RELEASE | cut -f1 -d. | cut -f1 -d-`"
minor_version="`echo $KERNEL_RELEASE | cut -f2 -d. | cut -f1 -d-`"
micro_version="`echo $KERNEL_RELEASE | cut -f3 -d. | cut -f1 -d-`"
printf '%02d%02d%03d' $major_version $minor_version $micro_version
}
case "$host_os" in
[linux*])
os="linux"
;;
[freebsd*])
os="freebsd"
;;
[solaris*])
os="solaris"
;;
[*])
AC_MSG_WARN([This is an untested and unsupported Operating System. Proceed at your own peril.])
;;
esac
osVersion="`getOsVersion`"
if test "$with_kernel_modules" = "yes"; then
case "$os" in
linux)
if test ! -d "$LINUXDIR/kernel/"; then
AC_MSG_ERROR([$LINUXDIR/kernel does not exist])
fi
;;
freebsd)
freebsd_sysdir=/usr/src/sys
if test -n "$SYSDIR"; then
freebsd_sysdir="$SYSDIR"
fi
if test ! -f "$freebsd_sysdir/conf/kmod.mk"; then
AC_MSG_ERROR([FreeBSD kernel tree not found. Please install the kernel sources (or provide the location using SYSDIR) or configure using --without-kernel-modules.])
fi
;;
esac
fi
# Arguments for disabling individual open-vm-tools features or libraries.
AC_ARG_ENABLE(
multimon,
AS_HELP_STRING(
[--disable-multimon],
[disables multimon, enabled by default]),
[enable_multimon="$enableval"],
[enable_multimon="yes"])
AC_ARG_ENABLE(
unity,
AS_HELP_STRING(
[--disable-unity],
[disables Unity, enabled by default]),
[enable_unity="$enableval"],
[enable_unity="yes"])
AC_ARG_WITH(
gtk2,
AS_HELP_STRING(
[--without-gtk2],
[compiles without Gtk 2.0]),
[with_gtk2="$withval"],
[with_gtk2="yes"])
AC_ARG_WITH(
gtkmm,
AS_HELP_STRING(
[--without-gtkmm],
[compiles without Gtkmm, sigc++, and related libs]),
[with_gtkmm="$withval"],
[with_gtkmm="yes"])
AC_ARG_ENABLE(
docs,
AS_HELP_STRING(
[--disable-docs],
[disables generation of API documentation; by default, docs are built if doxygen is available.]),
[enable_docs="$enableval"],
[enable_docs="yes"])
# If we're not going to use Gtk 2.0, disable Unity.
if test "$with_gtk2" != "yes"; then
enable_unity="no"
fi
AM_INIT_AUTOMAKE
###
### Constants
###
# These need to be declared after initialization.
# Some of our macro call-sites require changes to
# CPPFLAGS/CFLAGS/LDFLAGS. In such places, we save the original value
# of CPPFLAGS/CFLAGS/LDFLAGS before the macro call and restore it when
# the call is done. We must perform this save at each macro site,
# because CPPFLAGS/CFLAGS/LDFLAGS may change over the course of
# configuration.
#
# CPPFLAGS is intended for preprocessor options (-D and -I mainly)
# CFLAGS is intended for compiler options (-O, -f, -W, and so forth)
CPPFLAGS="$CPPFLAGS -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS"
###
### Programs
###
# C preprocessor and compiler.
AC_PROG_CPP
AC_PROG_CC
# C++ compiler. Note that unlike AC_PROG_CC, this call does not trigger an
# error if no C++ compiler was found; it'll just set the variable CXX to 'g++'.
AC_PROG_CXX
# This allows features like per-target compiler flags. I.e., you can compile
# one copy of the same sources twice with different flags. (See lib/guestApp
# for an example.)
AM_PROG_CC_C_O
# Needed for the various install and uninstall hooks.
AC_PROG_INSTALL
AC_PROG_SED
AC_PROG_LN_S
AC_PROG_MKDIR_P
# Needed for creating the archives in lib/ and the shared libraries.
AC_PROG_LIBTOOL
if test "$ac_cv_prog_AR" = false; then
AC_MSG_ERROR([The 'ar' utility was not found. Please put ar on the path.])
fi
# We use pkg-config to set up the cflags and libs for gtk.
AC_CHECK_PROG(
[HAVE_PKG_CONFIG],
[pkg-config],
[yes],
[no])
if test "$GCC" != "yes"; then
AC_MSG_ERROR([Only GCC is currently supported. Please put gcc in the path.])
fi
###
### Libraries
###
AC_PATH_XTRA
#
# Check for libintl.h. When configuring using "--without-x", /usr/local/include
# may not be added to the include path, so code that use glib's i18n functions
# would fail to compile because it can't find libintl.h.
#
AC_CHECK_HEADER([libintl.h],
[],
[have_libintl=no],
[])
if test "$have_libintl" = "no"; then
unset ac_cv_header_libintl_h
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
AC_CHECK_HEADER([libintl.h],
[],
[AC_MSG_ERROR([libintl.h not found. Make sure you have the gettext headers installed.])],
[])
fi
#
# Check for glib 2.6.0 or greater.
#
AC_VMW_CHECK_LIB([glib-2.0],
[GLIB2],
[glib-2.0],
[],
[2.6.0],
[glib.h],
[g_key_file_new],
[],
[AC_MSG_ERROR([glib >= 2.6.0 is required.])])
AC_VMW_CHECK_LIB([gmodule-2.0],
[GMODULE],
[gmodule-2.0],
[],
[2.6.0],
[],
[],
[],
[AC_MSG_ERROR([gmodule >= 2.6.0 is required.])])
AC_VMW_CHECK_LIB([gobject-2.0],
[GOBJECT],
[gobject-2.0],
[],
[2.6.0],
[glib-object.h],
[],
[],
[AC_MSG_ERROR([gobject >= 2.6.0 is required.])])
AC_VMW_CHECK_LIB([gthread-2.0],
[GTHREAD],
[gthread-2.0],
[],
[2.6.0],
[],
[],
[],
[AC_MSG_ERROR([glib >= 2.6.0 is required.])])
AC_CHECK_PROG([have_genmarshal],
[glib-genmarshal],
[yes],
[no])
if test "$have_genmarshal" != "yes"; then
AC_MSG_ERROR([glib-genmarshal is required; make sure it's available in your path.])
fi
#
# Check for fuse.
#
AC_VMW_CHECK_LIB([fuse],
[FUSE],
[fuse],
[],
[],
[fuse.h],
[fuse_main],
[have_fuse=yes],
[have_fuse=no;
AC_MSG_WARN([Fuse is missing, vmblock-fuse will be disabled.])])
# If the user explicitly disables X11, then don't try to detect the X-related libraries
if test "$have_x" = "disabled"; then
enable_multimon="no"
enable_unity="no"
elif test "$have_x" != "yes"; then
AC_MSG_ERROR(
[The X11 libraries were not found. Please configure without X11 (using --without-x), or install the libX11 devel package(s).])
else
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
COMMON_XLIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
AC_CHECK_LIB(
[Xext],
[XeviQueryVersion],
[COMMON_XLIBS="-lXext $COMMON_XLIBS"],
[AC_MSG_ERROR(
[libXext not found. Please configure without X11 (using --without-x), or install the libXext devel package(s).])],
[$COMMON_XLIBS])
AC_CHECK_HEADER(
[X11/extensions/extutil.h],
[],
[AC_MSG_ERROR(
[X11/extensions/extutil.h header not found - you're probably on Solaris 10 or older. Please copy that header file onto your system manually, or configure without X11 (using --without-x).])],
[#include <X11/Xlib.h>
#include <X11/Xproto.h>])
if test "$enable_multimon" != "no"; then
AC_CHECK_LIB(
[Xinerama],
[XineramaQueryVersion],
[COMMON_XLIBS="-lXinerama $COMMON_XLIBS"],
[AC_MSG_ERROR(
[libXinerama not found. Please configure without multimon (using --disable-multimon), configure without X11 (using --without-x), or install the libXinerama devel package(s).])],
[$COMMON_XLIBS])
else
if test "$enable_unity" != "no"; then
AC_MSG_WARN([Disabling Unity due to --disable-multimon.])
enable_unity="no"
fi
fi
AC_CHECK_LIB(
[Xi],
[XOpenDevice],
[COMMON_XLIBS="-lXi $COMMON_XLIBS"],
[AC_MSG_ERROR(
[libXi not found. Please configure without X11 (using --without-x), or install the libXi devel package(s).])],
[$COMMON_XLIBS])
AC_CHECK_LIB(
[Xrender],
[XRenderQueryVersion],
[COMMON_XLIBS="-lXrender $COMMON_XLIBS"],
[AC_MSG_ERROR(
[libXrender not found. Please configure without X11 (using --without-x), or install the libXrender devel package(s).])],
[$COMMON_XLIBS])
AC_CHECK_LIB(
[Xrandr],
[XRRQueryVersion],
[COMMON_XLIBS="-lXrandr $COMMON_XLIBS"],
[AC_MSG_ERROR(
[libXrandr not found. Please configure without X11 (using --without-x) or install the libXrandr devel package(s).])],
[$COMMON_XLIBS])
AC_CHECK_LIB(
[Xtst],
[XTestQueryExtension],
[COMMON_XLIBS="-lXtst $COMMON_XLIBS"],
[AC_MSG_ERROR(
[libXtst not found. Please configure without X11 (using --without-x) or install the libXtst devel package(s).])],
[$COMMON_XLIBS])
# If we're building with support for Unity, we'll need a few additional
# libraries.
if test "$enable_unity" != "no"; then
# Unity needs the X11 Screen Saver extension library. It should be
# in the same place as the X11 libraries, so no need for any fancy
# path checking.
AC_VMW_CHECK_X11_LIB(
[Xss],
[X11/extensions/scrnsaver.h],
[XScreenSaverQueryExtension],
[AC_MSG_ERROR([libXss or headers not found. Please configure without Unity (using --disable-unity) or install the libXss devel package.])])
# Check for the uriparser library and headers. The upstream uriparser
# doesn't appear to ship with either a pkg-config file or a
# uriparser-config binary, so we'll look for it the old-fashioned
# way.
#
# Note that we look for uriFreeQueryListA because it's a relatively
# new symbol that our code needs (it isn't present in the uriparser
# that shipped with Ubuntu Hardy).
if test -z "$CUSTOM_URIPARSER_CPPFLAGS"; then
# XXX: No pkg-config and no uriparser-config means we need to
# hard-code a sensible default.
CUSTOM_URIPARSER_CPPFLAGS="-I/usr/include/uriparser"
fi
AC_VMW_CHECK_LIB([uriparser],
[URIPARSER],
[],
[],
[],
[Uri.h],
[uriFreeQueryListA],
[],
[AC_MSG_ERROR([uriparser library not found or is too old. Please configure without Unity (using --disable-unity) or install the liburiparser devel package.])])
# Check for libpng.
AC_VMW_CHECK_LIB([png12],
[LIBPNG],
[libpng12],
[libpng-config],
[],
[png.h],
[png_access_version_number],
[],
[AC_MSG_ERROR([libpng not found. Please configure without Unity (using --disable-unity) or install the libpng devel package])])
# Check for the zlib library and headers. Like uriparser, there
# isn't a pkg-config or zlib-config file.
if test -z "$CUSTOM_ZLIB_CPPFLAGS"; then
# XXX: No pkg-config and no zlib-config means we need to
# hard-code a sensible default.
CUSTOM_ZLIB_CPPFLAGS="-I/usr/include"
fi
AC_VMW_CHECK_LIB([z],
[ZLIB],
[],
[],
[],
[zlib.h],
[zlibVersion],
[],
[AC_MSG_ERROR([zlib library not found. Please configure without Unity (using --disable-unity) or install the zlib devel package.])])
fi # End of library checks for Unity.
# Check whether we have gtk+ 2.0.
if test "$with_gtk2" != "no"; then
# gdk_display_get_default_group (added in gtk+ 2.4.0) is function currently
# needed by vmware-user.
AC_VMW_CHECK_LIB([gtk-x11-2.0],
[GTK],
[gtk+-2.0],
[],
[2.4.0],
[gtk/gtk.h],
[gdk_display_get_default_group],
[GTK_CPPFLAGS="$GTK_CPPFLAGS -DGTK2"],
[AC_MSG_ERROR([Gtk+ 2.0 library not found or too old. Please configure without Gtk+ support (using --without-gtk2) or install the Gtk+ 2.0 devel package.])])
# Unity requires libgdk_pixbuf_xlib, which most systems don't seem to
# provide via "pkg-config --libs gtk+-2.0".
if test "$enable_unity" != "no"; then
AC_CHECK_LIB(
[gdk_pixbuf_xlib-2.0],
[gdk_pixbuf_xlib_init],
[GTK_LIBS="$GTK_LIBS -lgdk_pixbuf_xlib-2.0"],
[AC_MSG_ERROR([gdk_pixbuf_xlib-2.0 not found. Make sure your Gtk 2.0 installation is sane, or configure without Unity (using --disable-unity).])],
[$GTK_LIBS])
fi
fi
#
# Check for gtkmm 2.4.0 or greater.
#
if test "$with_gtkmm" != "no"; then
CUSTOM_GTKMM_CPPFLAGS="$CUSTOM_GTKMM_CPPFLAGS $GTK_CPPFLAGS"
AC_VMW_CHECK_LIBXX([gtkmm-2.4],
[GTKMM],
[gtkmm-2.4],
[],
[2.4.0],
[gtkmm.h],
[],
[GTKMM_CPPFLAGS="$GTKMM_CPPFLAGS -DHAVE_GTKMM"],
[AC_MSG_ERROR([gtkmm library not found. Please install the libgtkmm devel package(s), or re-configure using --without-gtkmm.])])
fi
fi # End of checks for X libraries
AC_CHECK_LIB(
[crypt],
[crypt],
[HAVE_CRYPT="yes"],
[AC_MSG_ERROR(
[libcrypt not found. Please install the libc/libcrypt devel package(s).])])
AC_CHECK_LIB(
[notify],
[notify_init],
[HAVE_NOTIFY="yes"
VMWARE_USER_LDADD="$VMWARE_USER_LDADD -lnotify"],
[AC_MSG_WARN([libnotify not found; notification disabled])])
AC_CHECK_FUNCS(
dlopen,
,
[AC_CHECK_LIB(
dl,
dlopen,
LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -ldl",
[AC_MSG_ERROR(
[dlopen was not found, but is required for open-vm-tools to function properly. Please contact your OS vendor.])])])
AC_CHECK_FUNCS([ecvt])
AC_CHECK_FUNCS([fcvt])
AC_CHECK_LIB(
[pthread],
[pthread_mutex_init],
[HAVE_PTHREAD=yes],
[AC_MSG_ERROR(
[libpthread not found. Please install the libc/libpthread devel package(s).])])
# PAM prefix
AC_ARG_WITH([pam-prefix],
[AS_HELP_STRING([--with-pam-prefix],
[specifies where pam files go. Default is $(sysconfdir)])],
[PAM_PREFIX="$withval"],
[PAM_PREFIX='$(sysconfdir)'])
if test "$os" = "linux"; then
AC_ARG_WITH([procps],
[AS_HELP_STRING([--without-procps],
[compiles without libproc (disables support for meminfo)])],
[],
[with_procps=yes])
else
with_procps="no"
fi
if test "$with_procps" = "yes"; then
if test -z "$CUSTOM_PROCPS_NAME"; then
CUSTOM_PROCPS_NAME=proc
fi
# XXX: no pkg-config and no procps-config means we need to
# hard-code a sensible default.
if test -z "$CUSTOM_PROCPS_LIBS"; then
CUSTOM_PROCPS_LIBS="-L/lib"
fi
# Some distros provide libproc-${version}.so only, others provide the
# libproc.so symlink. Try both to see what sticks (but only try the 3.2.7
# version - adding every possible version here would be a mess).
#
# Users can help by providing CUSTOM_PROCPS_NAME / CUSTOM_PROCPS_LIBS if
# necessary.
have_procps=no
AC_VMW_CHECK_LIB([$CUSTOM_PROCPS_NAME],
[PROCPS],
[],
[],
[],
[],
[getstat],
[
have_procps=yes;
VMWARE_USER_LDADD="$VMWARE_USER_LDADD $PROCPS_LIBS"
],
[])
if test "$have_procps" = "no"; then
AC_VMW_CHECK_LIB([proc-3.2.7],
[PROCPS],
[],
[],
[],
[],
[getstat],
[VMWARE_USER_LDADD="$VMWARE_USER_LDADD $PROCPS_LIBS"],
[AC_MSG_ERROR([libproc not found. Please configure without procps (using --without-procps) or install procps - http://procps.sourceforge.net])])
fi
fi
if test "$with_procps" != "yes"; then
AC_DEFINE([NO_PROCPS], 1, [Define to 1 if building without procps.])
fi
AC_ARG_WITH([dnet],
[AS_HELP_STRING([--without-dnet],
[compiles without libdnet (disables support for nicinfo)])],
[],
[with_dnet=yes])
if test "$with_dnet" = "yes"; then
have_dnet=0
# On Debian, dnet is installed via the libdumbnet package. We need to
# detect this so that our source files include dumbnet.h instead of
# dnet.h, which is part of a different package altogether.
AC_VMW_CHECK_LIB([dumbnet],
[DNET],
[],
[dumbnet-config],
[],
[dumbnet.h],
[intf_open],
[have_dnet=1;
AC_DEFINE([DNET_IS_DUMBNET], 1, [Define to 1 if substituting Debian's libdumbnet for libdnet.])],
[])
if test $have_dnet -eq 0; then
AC_VMW_CHECK_LIB([dnet],
[DNET],
[],
[dnet-config],
[],
[dnet.h],
[intf_open],
[have_dnet=1],
[])
fi
if test $have_dnet -eq 1; then
LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD $DNET_LIBS"
VMWARE_USER_LDADD="$VMWARE_USER_LDADD $DNET_LIBS"
else
AC_MSG_ERROR(
[dnet-config was not found on your PATH. Please configure without dnet (using --without-dnet) or install dnet - http://libdnet.sourceforge.net])
fi
fi
if test "$with_dnet" != "yes"; then
AC_DEFINE([NO_DNET], 1, [Define to 1 if building without libdnet.])
fi
AC_ARG_WITH([icu],
[AS_HELP_STRING([--without-icu],
[disables support for ICU])],
[],
[with_icu=yes])
if test "$have_x" = "yes" -o "$with_icu" = "yes"; then
AC_CHECK_TOOL([have_cxx], [$CXX], [no])
if test "$have_cxx" = "no"; then
AC_MSG_ERROR([C++ compiler not found. Make sure you have a C++ compiler installed or configure without X11 (using --without-x) and without ICU (using --without-icu).])
fi
fi
if test "$with_icu" = "yes"; then
AC_VMW_CHECK_LIBXX([icuuc],
[ICU],
[],
[icu-config],
[],
[unicode/utf.h],
[],
[ICU_CPPFLAGS="$ICU_CPPFLAGS -DUSE_ICU"],
[AC_MSG_ERROR([ICU library not found. Please configure without ICU (using --without-icu) or install ICU - http://www.icu-project.org])])
# Check whether we have ICU 3.8.
AC_LANG_PUSH([C++])
AC_CHECK_LIB([icuuc],
[ucasemap_utf8ToTitle_3_8],
[ICU_CPPFLAGS="$ICU_CPPFLAGS -DHAVE_ICU_38"],
[],
[$ICU_LIBS])
AC_LANG_POP([C++])
# Easier to give all modules the ICU defines/includes...
CPPFLAGS="$CPPFLAGS $ICU_CPPFLAGS"
fi
AC_PATH_PROG(
[RPCGEN],
[rpcgen],
[ AC_MSG_ERROR([rpcgen not found. Please install the libc devel package.]) ])
###
### Headers
###
AC_CHECK_HEADERS([crypt.h])
AC_CHECK_HEADERS([inttypes.h])
AC_CHECK_HEADERS([stdint.h])
AC_CHECK_HEADERS([stdlib.h])
AC_CHECK_HEADERS([wchar.h])
AC_CHECK_HEADERS([sys/inttypes.h])
AC_CHECK_HEADERS([sys/io.h])
AC_CHECK_HEADERS([sys/param.h]) # Required to make the sys/user.h check work correctly on FreeBSD
AC_CHECK_HEADERS([sys/sysinfo.h])
AC_CHECK_HEADERS([sys/types.h])
AC_CHECK_HEADERS([sys/user.h],
[],
[],
[
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
])
AC_CHECK_HEADERS([sys/vfs.h])
AC_CHECK_HEADERS([syslimits.h])
AC_CHECK_HEADERS([unwind.h])
AC_CHECK_HEADER(
[wchar.h],
[HAVE_WCHAR_H="yes"],
[HAVE_WCHAR_H="no"])
if test "$enable_multimon" != "no"; then
AC_CHECK_HEADER(
[X11/extensions/panoramiXproto.h],
[],
[AC_MSG_ERROR(
[panoramiXproto.h not found. Please configure without multimon (using --disable-multimon) or install the libXinerama devel package(s).])],
[#include <X11/X.h>
#include <X11/Xmd.h>])
fi
###
### Typdefs, structs, and compiler quarks.
###
AC_HEADER_STDBOOL
AC_C_CONST
AC_TYPE_UID_T
AC_C_INLINE
AC_TYPE_MODE_T
AC_TYPE_OFF_T
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_CHECK_MEMBERS([struct stat.st_rdev])
AC_HEADER_TIME
AC_STRUCT_TM
AC_C_VOLATILE
###
### Specific features and OS/arch flags / actions
###
# Check to see if SYS_setuid32 is defined. If SYS_setuid32 is unknown, we will
# certainly error out.
if test "$os$userSpaceBitness" = "linux32"; then
AC_MSG_CHECKING([for SYS_setuid32])
AC_TRY_COMPILE(
[#include <sys/syscall.h>
#include <unistd.h>],
[
syscall(SYS_setuid32, 1);
],
[HAVE_SYS_SETUID="yes"],
[HAVE_SYS_SETUID="no"])
AC_MSG_RESULT($HAVE_SYS_SETUID)
fi
# Newer iconv (from glibc 2.2 and later on Linux) takes a char ** as the second
# argument. Here, we test for the older form and expect a compiler warning/error
# if the newer form is defined (because, in that case, we would be attempting to
# remove const'ness without an explicit cast).
AC_MSG_CHECKING([for the new format of iconv])
ORIGINAL_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Werror"
AC_TRY_COMPILE(
[#include <iconv.h>],
[
iconv_t cd;
char const *inbuf;
size_t inbytesleft;
char *outbuf;
size_t outbytesleft;
iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
],
[HAVE_NEW_ICONV="no"],
[HAVE_NEW_ICONV="yes"])
CFLAGS="$ORIGINAL_CFLAGS"
AC_MSG_RESULT($HAVE_NEW_ICONV)
if test "$os" = "linux"; then
AC_CHECK_FUNCS(
[lseek],
[HAVE_LSEEK="yes"],
[HAVE_LSEEK="no"])
# setresuid() was wrapped beginning in glibc 2.3.2.
AC_MSG_CHECKING([for setresuid])
# Ensure an error is thrown if setresuid is unknown.
ORIGINAL_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Werror-implicit-function-declaration -Werror"
AC_TRY_COMPILE(
[#define _GNU_SOURCE
#include <unistd.h>],
[
setresuid(0, 0, 0);
],
[HAVE_SETRESUID="yes"],
[HAVE_SETRESUID="no"])
CFLAGS="$ORIGINAL_CFLAGS"
AC_MSG_RESULT($HAVE_SETRESUID)
fi
### General flags / actions
CFLAGS="$CFLAGS -Wall"
CFLAGS="$CFLAGS -Werror"
# -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident' in Xlib.h on OpenSolaris.
for TEST_CFLAG in -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing \
-Wno-unknown-pragmas -Wno-uninitialized; do
AC_MSG_CHECKING([for GCC flag $TEST_CFLAG])
ORIGINAL_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $TEST_CFLAG"
NEW_CFLAG=""
AC_TRY_COMPILE(
[],
[
return 0;
],
[NEW_CFLAG=" $TEST_CFLAG"
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)])
CFLAGS="$ORIGINAL_CFLAGS$NEW_CFLAG"
done
CPPFLAGS="$CPPFLAGS -DVMX86_TOOLS"
CPPFLAGS="$CPPFLAGS -DNO_CORE_ICU"
# -fvisibility is used by "core service" plugins, but not required.
ORIGINAL_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fvisibility=hidden"
AC_MSG_CHECKING([for GCC flag -fvisibility])
AC_TRY_COMPILE([],
[return 0;],
[PLUGIN_CPPFLAGS="-fvisibility=hidden -DGCC_EXPLICIT_EXPORT";
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)])
CFLAGS="$ORIGINAL_CFLAGS"
BUILDDIR="`pwd`"
INCLUDE_DIR="`cd $srcdir; pwd`/lib/include"
BLD_INCLUDE_DIR="$BUILDDIR/lib/include"
CPPFLAGS="-I$INCLUDE_DIR -I$BLD_INCLUDE_DIR $CPPFLAGS"
###
### Documentation.
###
if test "$enable_docs" = "yes"; then
AC_CHECK_PROG([have_doxygen],
[doxygen],
[yes],
[no])
if test "$have_doxygen" = "no"; then
AC_MSG_WARN([doxygen not found; API documentation will not be generated.])
else
AC_CHECK_PROG([HAVE_DOT],
[dot],
[yes],
[no])
if test "$HAVE_DOT" = "yes"; then
DOT=dot
else
DOT=
fi
AC_SUBST([DOT])
AC_PATH_PROG([MSCGEN],
[mscgen],
[no])
if test "$MSCGEN" != "no"; then
MSCGEN_DIR="`dirname $MSCGEN`"
else
MSCGEN_DIR=
fi
AC_SUBST([MSCGEN_DIR])
fi
fi
###
### OS/arch-specific flags / actions
###
MODULES=""
MODULES_OS="$os"
TARGET_OS="$os"
MODULES_DIR=""
buildHgfsmounter=no
if test "$os" = "linux"; then
MODULES_DIR="$LINUXDIR/kernel/"
CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500"
CPPFLAGS="$CPPFLAGS -D_BSD_SOURCE"
CPPFLAGS="$CPPFLAGS -D_SVID_SOURCE"
if test "$osVersion" -ge 202000; then
MODULES="$MODULES vmmemctl vmxnet"
fi
if test "$osVersion" -ge 204000; then
MODULES="$MODULES vmblock vmci vmhgfs vsock"
buildHgfsmounter=yes
fi
if test "$osVersion" -ge 206000; then
MODULES="$MODULES vmxnet3"
fi
if test "$osVersion" -ge 206006; then
MODULES="$MODULES vmsync"
fi
if test "$osVersion" -ge 206008; then
MODULES="$MODULES pvscsi"
fi
fi
if test "$os" = "freebsd"; then
MODULES_DIR="/boot/modules"
if test "$osVersion" -ge 302000; then
MODULES="$MODULES vmmemctl"
fi
if test "$osVersion" -ge 409000; then
MODULES="$MODULES vmxnet"
fi
if test "$osVersion" -ge 600000; then
MODULES="$MODULES vmblock vmhgfs"
buildHgfsmounter=yes
fi
if test "$with_kernel_modules" = "yes"; then
echo "****************************************************************"
echo " You are building FreeBSD kernel modules. Make sure you use "
echo " 'make' to build open-vm-tools, and not GNU make ('gmake'). "
echo "****************************************************************"
fi
fi
if test "$os" = "solaris"; then
LIB_IMPERSONATE_CPPFLAGS="$LIB_IMPERSONATE_CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
LIB_USER_CPPFLAGS="$LIB_USER_CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -lsocket"
LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -lnsl"
LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -lrpcsvc"
VMWARE_USER_CPPFLAGS="$VMWARE_USER_CPPFLAGS -I/usr/X11/include/"
VMWARE_USER_LDADD="$VMWARE_USER_LDADD -lXext"
VMWARE_USER_LDADD="$VMWARE_USER_LDADD -lX11"
VMWARE_USER_LDADD="$VMWARE_USER_LDADD -lsocket"
VMWARE_USER_LDADD="$VMWARE_USER_LDADD -lnsl"
VMWARE_USER_LDADD="$VMWARE_USER_LDADD -lrpcsvc"
# Setup defines to identify the OS version.
if test "$osVersion" -eq 509000; then
CPPFLAGS="$CPPFLAGS -DSOL9"
fi
if test "$osVersion" -eq 510000; then
CPPFLAGS="$CPPFLAGS -DSOL10"
fi
if test "$osVersion" -eq 511000; then
CPPFLAGS="$CPPFLAGS -DSOL11"
fi
# Choose which modules to compile
if test "$osVersion" -ge 510000; then
MODULES="$MODULES vmhgfs vmblock"
fi
# We build vmxnet and vmballoon on Solaris 9 and 10
if test "$osVersion" -lt 511000 -a "$osVersion" -ge 509000; then
MODULES="$MODULES vmxnet vmmemctl"
fi
# Vmxnet3 is built on Solaris 10 only and only if GLDv3 is installed
if test "$osVersion" -eq 510000; then
AC_CHECK_HEADER(
[sys/mac.h],
[MODULES="$MODULES vmxnet3"],
[AC_MSG_WARN([GLDv3 (sys/mac.h) is not installed, vmxnet3 will not be compiled.])])
fi
if test "$with_kernel_modules" = "yes"; then
echo "****************************************************************"
echo " You are building Solaris kernel modules. Make sure you use "
echo " GNU make to build open-vm-tools. "
echo "****************************************************************"
fi
fi
AM_CONDITIONAL(BUILD_HGFSMOUNTER, test "$buildHgfsmounter" = "yes")
AM_CONDITIONAL(LINUX, test "$os" = "linux")
AM_CONDITIONAL(SOLARIS, test "$os" = "solaris")
AM_CONDITIONAL(FREEBSD, test "$os" = "freebsd")
AM_CONDITIONAL(FREEBSD_CUSTOM_SYSDIR, test "$os" = "freebsd" -a -n "$SYSDIR")
AM_CONDITIONAL(THIRTY_TWO_BIT_USERSPACE, test "$userSpaceBitness" = "32")
AM_CONDITIONAL(HAVE_X11, test "$have_x" = "yes")
AM_CONDITIONAL(HAVE_ICU, test "$with_icu" = "yes")
AM_CONDITIONAL(WITH_KERNEL_MODULES, test "$with_kernel_modules" = "yes")
AM_CONDITIONAL(PAMD, test -d /etc/pam.d)
AM_CONDITIONAL(ENABLE_UNITY, test "$enable_unity" = "yes")
AM_CONDITIONAL(WITH_ROOT_PRIVILEGES, test "$with_root_privileges" = "yes")
AM_CONDITIONAL(HAVE_DOXYGEN, test "$have_doxygen" = "yes")
AM_CONDITIONAL(HAVE_FUSE, test "$have_fuse" = "yes")
AM_CONDITIONAL(HAVE_GNU_LD, test "$with_gnu_ld" = "yes")
AM_CONDITIONAL(HAVE_GTKMM, test "$have_x" = "yes" -a "$with_gtkmm" = "yes")
### Feature-specific flags / actions
# Combine where possible
# If control reaches this point and multimon is still enabled, then we know
# all of the tests for required components have passed and it's safe to allow
# multimon. Otherwise, it should be disabled.
if test "$enable_multimon" = "no"; then
# XXX: For consistency, change this to ENABLE_MULTIMON. This will require
# some additional code cleanup.
AC_DEFINE([NO_MULTIMON], 1, [Define to 1 if building without multimon support.])
fi
if test "$os$userSpaceBitness" = "linux64" || test "$HAVE_SYS_SETUID" = "yes"; then
LIB_MISC_CPPFLAGS="$LIB_MISC_CPPFLAGS -DGLIBC_VERSION_21"
fi
if test "$HAVE_NEW_ICONV" = "yes"; then
LIB_MISC_CPPFLAGS="$LIB_MISC_CPPFLAGS -DGLIBC_VERSION_22"
fi
if test "$HAVE_LSEEK" = "yes"; then
LIB_FILE_CPPFLAGS="$LIB_FILE_CPPFLAGS -DGLIBC_VERSION_21"
LIB_HGFS_SERVER_CPPFLAGS="$LIB_HGFS_SERVER_CPPFLAGS -DGLIBC_VERSION_21"
fi
if test "$HAVE_SETRESUID" = "yes"; then
LIB_PROC_MGR_CPPFLAGS="$LIB_PROC_MGR_CPPFLAGS -DGLIBC_VERSION_23"
fi
if test "$HAVE_CRYPT" = "yes"; then
LIB_AUTH_CPPFLAGS="$LIB_AUTH_CPPFLAGS -DGLIBC_VERSION_22"
LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -lcrypt"
VIX_LIBADD="$VIX_LIBADD -lcrypt"
fi
if test "$HAVE_WCHAR_H" = "yes"; then
LIB_STRING_CPPFLAGS="$LIB_STRING_CPPFLAGS -DGLIBC_VERSION_22"
fi
if test "$HAVE_PTHREAD" = "yes"; then
LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -lpthread"
VIX_LIBADD="$VIX_LIBADD -lpthread"
VMWARE_USER_LDADD="$VMWARE_USER_LDADD -lpthread"
fi
### Core Services definitions.
VMTOOLS_LIBS="$BUILDDIR/libvmtools/libvmtools.la $GLIB2_LIBS"
VMTOOLS_CPPFLAGS="-DVMTOOLS_USE_GLIB $GLIB2_CPPFLAGS"
PLUGIN_CPPFLAGS="$VMTOOLS_CPPFLAGS $PLUGIN_CPPFLAGS"
# For plugins, we'd like to build shared libraries but not install them in the
# usual shared library destination. Problem is, "noinst_LTLIBRARIES" does not
# create shared libraries by itself: the "rpath" flag seems to be needed to tell
# libtool it should create one. All I've found as far as documentation goes is
# this:
#
# http://lists.gnu.org/archive/html/libtool/2007-07/msg00065.html
#
# The other options are common options we use when building shared libraries.
PLUGIN_LDFLAGS="-rpath `pwd` -Wl,-z,defs -Wl,-lc"
# In Solaris, the XDR-related functions are not in libc like in Linux and
# FreeBSD, so binaries need to be linked to some extra libraries.
XDR_LIBS=
if test "$os" = "solaris"; then
XDR_LIBS="-lnsl -lrpcsvc"
fi
# Installation directories for core services plugins.
VMSVC_PLUGIN_INSTALLDIR=$libdir/open-vm-tools/plugins/vmsvc
VMUSR_PLUGIN_INSTALLDIR=$libdir/open-vm-tools/plugins/vmusr
### General substs
AC_SUBST([TOOLS_VERSION])
AC_SUBST([TARGET_OS])
AC_SUBST([KERNEL_RELEASE])
AC_SUBST([MODULES_OS])
AC_SUBST([MODULES_DIR])
AC_SUBST([MODULES])
AC_SUBST([COMMON_XLIBS])
AC_SUBST([PAM_PREFIX])
AC_SUBST([PLUGIN_CPPFLAGS])
AC_SUBST([PLUGIN_LDFLAGS])
AC_SUBST([VMTOOLS_CPPFLAGS])
AC_SUBST([VMTOOLS_LIBS])
AC_SUBST([RPCGENFLAGS])
AC_SUBST([XDR_LIBS])
AC_SUBST([VMSVC_PLUGIN_INSTALLDIR])
AC_SUBST([VMUSR_PLUGIN_INSTALLDIR])
if test "$os" = "freebsd" -a -n "$SYSDIR"; then
# If SYSDIR is not defined, AC_SUBST expands to nothing, so we need something
# inside this block.
true
AC_SUBST([SYSDIR])
fi
### Lib substs
AC_SUBST([LIB_AUTH_CPPFLAGS])
AC_SUBST([LIB_FILE_CPPFLAGS])
AC_SUBST([LIB_HGFS_SERVER_CPPFLAGS])
AC_SUBST([LIB_IMPERSONATE_CPPFLAGS])
AC_SUBST([LIB_MISC_CPPFLAGS])
AC_SUBST([LIB_PROC_MGR_CPPFLAGS])
AC_SUBST([LIB_STRING_CPPFLAGS])
AC_SUBST([LIB_USER_CPPFLAGS])
AC_SUBST([LIBVMTOOLS_LIBADD])
### Program substs
AC_SUBST([VIX_LIBADD])
AC_SUBST([VMWARE_USER_CPPFLAGS])
AC_SUBST([VMWARE_USER_LDADD])
###
### Create the Makefiles
###
AC_CONFIG_FILES([ \
Makefile \
lib/Makefile \
lib/appUtil/Makefile \
lib/auth/Makefile \
lib/backdoor/Makefile \
lib/conf/Makefile \
lib/dict/Makefile \
lib/dnd/Makefile \
lib/dndGuest/Makefile \
lib/dynxdr/Makefile \
lib/err/Makefile \
lib/eventManager/Makefile \
lib/file/Makefile \
lib/foundryMsg/Makefile \
lib/ghIntegration/Makefile \
lib/ghIntegrationStub/Makefile \
lib/guestApp/Makefile \
lib/guestInfo/Makefile \
lib/guestRpc/Makefile \
lib/hgfs/Makefile \
lib/hgfsBd/Makefile \
lib/hgfsHelper/Makefile \
lib/hgfsServer/Makefile \
lib/hgfsServerManagerGuest/Makefile \
lib/hgfsServerPolicyGuest/Makefile \
lib/deployPkg/Makefile \
lib/image/Makefile \
lib/impersonate/Makefile \
lib/message/Makefile \
lib/misc/Makefile \
lib/netUtil/Makefile \
lib/panic/Makefile \
lib/panicDefault/Makefile \
lib/printer/Makefile \
lib/procMgr/Makefile \
lib/raster/Makefile \
lib/region/Makefile \
lib/resolution/Makefile \
lib/rpcChannel/Makefile \
lib/rpcIn/Makefile \
lib/rpcOut/Makefile \
lib/rpcVmx/Makefile \
lib/SLPv2Parser/Makefile \
lib/socketMgr/Makefile \
lib/string/Makefile \
lib/stubs/Makefile \
lib/sync/Makefile \
lib/syncDriver/Makefile \
lib/system/Makefile \
lib/unicode/Makefile \
lib/unity/Makefile \
lib/unityStub/Makefile \
lib/unityWindowTracker/Makefile \
lib/user/Makefile \
lib/vixTools/Makefile \
lib/vmCheck/Makefile \
lib/vmSignal/Makefile \
lib/wiper/Makefile \
services/Makefile \
services/vmtoolsd/Makefile \
services/plugins/Makefile \
services/plugins/guestInfo/Makefile \
services/plugins/hgfsServer/Makefile \
services/plugins/powerOps/Makefile \
services/plugins/resolutionSet/Makefile \
services/plugins/timeSync/Makefile \
services/plugins/vix/Makefile \
services/plugins/vixUser/Makefile \
services/plugins/vmbackup/Makefile \
vmware-user/Makefile \
vmware-user-suid-wrapper/Makefile \
toolbox/Makefile \
hgfsclient/Makefile \
hgfsmounter/Makefile \
checkvm/Makefile \
rpctool/Makefile \
libguestlib/Makefile \
libvmtools/Makefile \
xferlogs/Makefile \
modules/Makefile \
vmblock-fuse/Makefile \
tests/Makefile \
tests/vmrpcdbg/Makefile \
tests/testDebug/Makefile \
tests/testPlugin/Makefile \
docs/Makefile \
docs/api/Makefile \
scripts/Makefile \
])
###
### Output
###
AC_OUTPUT
|