Changeset 2546


Ignore:
Timestamp:
Sep 21, 2011 2:30:22 PM (11 years ago)
Author:
gah
Message:

update from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/configure.in

    r2462 r2546  
    190190save_CPPFLAGS=$CPPFLAGS
    191191CPPFLAGS=$VTK_INC_SPEC
    192 AC_CHECK_HEADERS([vtkSmartPointer.h], [], [AC_MSG_WARN([cannot find vtkSmartPointer.h])])
     192AC_CHECK_HEADERS([vtkSmartPointer.h], [], [AC_MSG_ERROR([cannot find VTK includes])])
    193193CPPFLAGS=$save_CPPFLAGS
    194194
     
    200200AC_CHECK_HEADERS([stdio.h unistd.h stdlib.h string.h sys/types.h])
    201201AC_CHECK_HEADERS([sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h])
    202 
    203 AC_CHECK_FUNCS([accept4])
    204202
    205203AC_MSG_CHECKING([for OpenDX headers])
     
    216214done
    217215if test "x${DX_INC_DIR}" = "x" ; then
    218   AC_MSG_WARN([cannot find OpenDX include files])
    219   DX_INC_SPEC=""
    220 elif test "${DX_INC_DIR}" = "/usr/include" ; then
     216  AC_MSG_ERROR([cannot find OpenDX include files])
     217fi
     218
     219if test "${DX_INC_DIR}" = "/usr/include" ; then
    221220  DX_INC_SPEC=""
    222221else
     
    226225
    227226DX_LIB_DIR=""
     227found=no
    228228for dir in \
    229229 /usr/lib \
     
    244244  fi
    245245done
    246 if test "x${DX_LIB_DIR}" = "x" ; then
    247   AC_MSG_WARN([cannot find OpenDX libraries])
     246if test "x{$DX_LIB_DIR}" = "x" ; then
     247  AC_MSG_ERROR([cannot find OpenDX libraries])
    248248fi
    249249
    250250AC_MSG_CHECKING([for libDXcallm library])
    251 if test "x${DX_LIB_DIR}" = "x" -o "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then
     251if test "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then
    252252  DX_LIB_SPEC=""
    253253else
     
    257257
    258258AC_CHECK_HEADERS([opencv/cv.h opencv/highgui.h])
    259 AC_CHECK_LIB([highgui], [cvLoadImage])
     259AC_CHECK_LIB([cv], [cvLoadImage])
    260260
    261261save_CPPFLAGS=$CPPFLAGS
     
    307307save_CPPFLAGS=$CPPFLAGS
    308308CPPFLAGS="-I${CG_INC_DIR} $CPPFLAGS"
    309 AC_CHECK_HEADERS([Cg/cgGL.h], [], AC_MSG_WARN([cannot find nVidia Cg headers]))
     309AC_CHECK_HEADERS([Cg/cgGL.h], [], AC_MSG_ERROR([cannot find nVidia Cg headers]))
    310310CPPFLAGS=$save_CPPFLAGS
    311311
Note: See TracChangeset for help on using the changeset viewer.