Permalink
Browse files

add a spice subdir detection for naif dir

  • Loading branch information...
1 parent 155d056 commit fd5a841b20d84e5eaf3dcf953768f0a4efbc0d61 @novas0x2a novas0x2a committed Apr 28, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 configure.ac
View
4 configure.ac
@@ -225,7 +225,9 @@ AX_PKG_ONE_OF(GL,
AX_PKG(OPENSCENEGRAPH, [GL], [-losg -losgDB -lOpenThreads -losgViewer -losgText -losgGA -losgFX -losgTerrain -losgUtil], [osg/ref_ptr])
-AX_PKG(SPICE, [], [-lcspice], [SpiceUsr.h SpiceZfc.h])
+AX_PKG_ONE_OF(SPICE,
+ SPICE_SUBDIR, [AX_PKG(SPICE_SUBDIR, [], [-lcspice], [SpiceUsr.h SpiceZfc.h], [naif])],
+ SPICE_TOP, [AX_PKG(SPICE_TOP, [], [-lcspice], [SpiceUsr.h SpiceZfc.h])])
if test "$HAVE_PKG_QT" = no; then
ENABLE_QT_QMAKE=no

0 comments on commit fd5a841

Please sign in to comment.