Permalink
Browse files

add a spice subdir detection for naif dir

  • Loading branch information...
1 parent 1aaa4e9 commit feee829eb05377f513e653938ec4b084894686da @novas0x2a novas0x2a committed Apr 27, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 configure.ac
View
@@ -174,7 +174,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 feee829

Please sign in to comment.