Changeset 1382


Ignore:
Timestamp:
07/27/09 11:02:54 (16 years ago)
Author:
seroussi
Message:

Added graphics library

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/m4/issm_options.m4

    r1378 r1382  
    472472        AC_MSG_RESULT(done)
    473473
     474        dnl graphics library  option
     475        AC_MSG_CHECKING(for graphics library...)
     476        AC_ARG_WITH([graphics-lib],
     477                          AS_HELP_STRING([--with-graphics-lib = options],
     478                                                         [graphics options, for ex: "/usr/X11/lib/libX11.a]),
     479                          [GRAPHICS_LIB=$withval],[GRAPHICS_LIB=""])
     480
     481        dnl check that --with-graphics-lib may have been provided
     482        if test -n "$GRAPHICS_LIB" ; then
     483                HAVE_GRAPHICS=yes
     484                GRAPHICSLIB="$GRAPHICS_LIB"
     485
     486                AC_DEFINE([_HAVE_GRAPHICS_],[1],[with GRAPHICS in ISSM src])
     487                AC_SUBST([GRAPHICSLIB])
     488        fi
     489        AC_MSG_RESULT(done)
     490
    474491])
Note: See TracChangeset for help on using the changeset viewer.