Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 411173 | Differences between
and this patch

Collapse All | Expand All

(-)orangefs-2.8.5/configure.in.orig (-23 / +42 lines)
Lines 1082-1111 Link Here
1082
1082
1083
dnl --
1083
dnl --
1084
dnl Check for SDL
1084
dnl Check for SDL
1085
AC_MSG_CHECKING([for SDL])
1085
test_for_sdl()
1086
SDL_CONFIG=`which sdl-config 2> /dev/null`
1086
{
1087
if ! test -z "$SDL_CONFIG" && test -x "$SDL_CONFIG"; then
1087
  AC_MSG_CHECKING([for SDL])
1088
   AC_MSG_RESULT(yes)
1088
  SDL_CONFIG=`which sdl-config 2> /dev/null`
1089
   SDL_VERSION=`sdl-config --version`
1089
  if ! test -z "$SDL_CONFIG" && test -x "$SDL_CONFIG"; then
1090
   VISCFLAGS=`sdl-config --cflags`
1090
     AC_MSG_RESULT(yes)
1091
   VISCLIBS=`sdl-config --libs`
1091
     SDL_VERSION=`sdl-config --version`
1092
1092
     VISCFLAGS=`sdl-config --cflags`
1093
   dnl We also need SDL ttf support
1093
     VISCLIBS=`sdl-config --libs`
1094
   dnl only define BUILD_VIS if we have all required parts
1094
1095
   AC_CHECK_HEADERS(SDL_ttf.h,
1095
     dnl We also need SDL ttf support
1096
       [BUILD_VIS="1"
1096
     dnl only define BUILD_VIS if we have all required parts
1097
        CPPFLAGS="$CPPFLAGS $VISCFLAGS"],
1097
     AC_CHECK_HEADERS(SDL_ttf.h,
1098
        [AC_CHECK_HEADERS(SDL/SDL_ttf.h,
1098
         [BUILD_VIS="1"
1099
            [BUILD_VIS="1"
1099
          CPPFLAGS="$CPPFLAGS $VISCFLAGS"],
1100
            CPPFLAGS="$CPPFLAGS $VISCFLAGS"],)],
1100
          [AC_CHECK_HEADERS(SDL/SDL_ttf.h,
1101
)
1101
              [BUILD_VIS="1"
1102
1102
              CPPFLAGS="$CPPFLAGS $VISCFLAGS"],)],
1103
   AC_SUBST(BUILD_VIS)
1103
  )
1104
   AC_SUBST(VISCFLAGS)
1104
1105
   AC_SUBST(VISLIBS)
1105
     AC_SUBST(BUILD_VIS)
1106
else
1106
     AC_SUBST(VISCFLAGS)
1107
   AC_MSG_RESULT(no)
1107
     AC_SUBST(VISLIBS)
1108
  else
1109
     AC_MSG_RESULT(no)
1110
  fi
1111
}
1112
1113
dnl optionally disable building visualisation tools
1114
AC_ARG_ENABLE(visual,
1115
[  --enable-visual         Enable visualisation tools. (Disabled by default, requires SDL)],
1116
[
1117
if test "x$enableval" = "xyes" ; then
1118
   test_for_sdl
1108
fi
1119
fi
1120
],
1121
)
1109
1122
1110
dnl Which form of strerror?
1123
dnl Which form of strerror?
1111
AC_MSG_CHECKING([for GNU-style strerror_r])
1124
AC_MSG_CHECKING([for GNU-style strerror_r])
Lines 1209-1214 Link Here
1209
   AC_MSG_RESULT([PVFS2 configured to build karma gui               :  no])
1222
   AC_MSG_RESULT([PVFS2 configured to build karma gui               :  no])
1210
fi
1223
fi
1211
1224
1225
if test "x$BUILD_VIS" = "x1" ; then
1226
   AC_MSG_RESULT([PVFS2 configured to build visualization tools     : yes])
1227
else
1228
   AC_MSG_RESULT([PVFS2 configured to build visualization tools     :  no])
1229
fi
1230
1212
if test "x$ENABLE_COVERAGE" = "x1" -a "x$BUILD_BMI_ONLY" != "x1"; then
1231
if test "x$ENABLE_COVERAGE" = "x1" -a "x$BUILD_BMI_ONLY" != "x1"; then
1213
   AC_MSG_RESULT([PVFS2 configured to perform coverage analysis     : yes])
1232
   AC_MSG_RESULT([PVFS2 configured to perform coverage analysis     : yes])
1214
else
1233
else

Return to bug 411173