Skip to content

Commit

Permalink
Ignore some usual configure parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 12, 2008
1 parent 4b98896 commit 19a8dc1
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ while [ "$#" -gt 0 ] ; do
help
;;
--prefix=*)
CMAKE_PREFIX="-DCMAKE_INSTALL_PREFIX=`echo $1|sed 's/^--prefix=//'`"
CMAKE_PREFIX="-DCMAKE_INSTALL_PREFIX=${1##--prefix=}"
;;
--enable-backup)
CMAKE_BACKUP="-DWITH_BACKUP=ON"
Expand Down Expand Up @@ -90,6 +90,24 @@ while [ "$#" -gt 0 ] ; do
--disable-debug)
CMAKE_DEBUG=
;;
--build=*)
;;
--disable-dependency-tracking)
;;
--disable-maintainer-mode)
;;
--includedir=*)
;;
--mandir=*)
;;
--infodir=*)
;;
--sysconfdir=*)
;;
--localstatedir=*)
;;
--libexecdir=*)
;;
*)
echo "Unknown parameter: $1"
echo
Expand Down

0 comments on commit 19a8dc1

Please sign in to comment.