Ticket #17: routing_cgal.patch
File routing_cgal.patch, 0.8 KB (added by djay, 3 years ago) |
---|
-
work/routing/configure.in
old new 68 68 AC_MSG_ERROR(** $CGAL_DIR/include/CGAL can not be found **) 69 69 else 70 70 71 CGAL_MKF=`find /usr/share/CGAL -name makefile_* -print` 72 if test -z $CGAL_MKF; then 73 CGAL_MKF=`find $CGAL_DIR/make -name makefile_* -print` 74 fi 71 CGAL_PATH="${CGAL_DIR}/share/CGAL ${CGAL_DIR}/share/cgal $CGAL_DIR/make" 72 CGAL_MKF_NAME="cgal.mk makefile" 73 for i in ${CGAL_MKF_NAME}; do 74 for j in ${CGAL_PATH}; do 75 CGAL_MKF=$(find ${j} -name ${i}* -print 2> /dev/null) 76 if test -n "$CGAL_MKF"; then 77 break 78 fi 79 done 80 if test -n "$CGAL_MKF"; then 81 break 82 fi 83 done 75 84 76 85 AC_SUBST(CGAL_MKF, $CGAL_MKF) 77 86