< prev index next >

common/autoconf/lib-freetype.m4

Print this page




 341             fi
 342           fi
 343         else
 344           FREETYPE_BASE_DIR="$SYSROOT/usr"
 345           LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
 346 
 347           if test "x$FOUND_FREETYPE" != xyes; then
 348             FREETYPE_BASE_DIR="$SYSROOT/usr/X11"
 349             LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
 350           fi
 351 
 352           if test "x$OPENJDK_TARGET_OS" = xmacosx; then
 353             if test "x$FOUND_FREETYPE" != xyes; then
 354               # Due to changes in OSX 10.11 XQuartz now installs to /opt/X11
 355               FREETYPE_BASE_DIR="$SYSROOT/opt/X11"
 356               LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
 357             fi
 358           fi
 359 
 360           if test "x$FOUND_FREETYPE" != xyes; then
 361             FREETYPE_BASE_DIR="$SYSROOT/usr/sfw"
 362             LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
 363           fi
 364 
 365           if test "x$FOUND_FREETYPE" != xyes; then
 366             FREETYPE_BASE_DIR="$SYSROOT/usr"
 367             if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
 368               LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/x86_64-linux-gnu], [well-known location])
 369             else
 370               LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/i386-linux-gnu], [well-known location])
 371               if test "x$FOUND_FREETYPE" != xyes; then
 372                 LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib32], [well-known location])
 373               fi
 374             fi
 375           fi
 376         fi
 377       fi # end check in well-known locations
 378 
 379       if test "x$FOUND_FREETYPE" != xyes; then
 380         HELP_MSG_MISSING_DEPENDENCY([freetype])
 381         AC_MSG_ERROR([Could not find freetype! $HELP_MSG ])
 382       fi
 383     fi # end user specified settings
 384 
 385     # Set FREETYPE_CFLAGS, _LIBS and _LIB_PATH from include and lib dir.




 341             fi
 342           fi
 343         else
 344           FREETYPE_BASE_DIR="$SYSROOT/usr"
 345           LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
 346 
 347           if test "x$FOUND_FREETYPE" != xyes; then
 348             FREETYPE_BASE_DIR="$SYSROOT/usr/X11"
 349             LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
 350           fi
 351 
 352           if test "x$OPENJDK_TARGET_OS" = xmacosx; then
 353             if test "x$FOUND_FREETYPE" != xyes; then
 354               # Due to changes in OSX 10.11 XQuartz now installs to /opt/X11
 355               FREETYPE_BASE_DIR="$SYSROOT/opt/X11"
 356               LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
 357             fi
 358           fi
 359 
 360           if test "x$FOUND_FREETYPE" != xyes; then





 361             FREETYPE_BASE_DIR="$SYSROOT/usr"
 362             if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
 363               LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/x86_64-linux-gnu], [well-known location])
 364             else
 365               LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/i386-linux-gnu], [well-known location])
 366               if test "x$FOUND_FREETYPE" != xyes; then
 367                 LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib32], [well-known location])
 368               fi
 369             fi
 370           fi
 371         fi
 372       fi # end check in well-known locations
 373 
 374       if test "x$FOUND_FREETYPE" != xyes; then
 375         HELP_MSG_MISSING_DEPENDENCY([freetype])
 376         AC_MSG_ERROR([Could not find freetype! $HELP_MSG ])
 377       fi
 378     fi # end user specified settings
 379 
 380     # Set FREETYPE_CFLAGS, _LIBS and _LIB_PATH from include and lib dir.


< prev index next >