fix case for prefix blah (without =)
authorThomas Vander Stichele <thomas@apestaart.org>
Sat, 18 Jan 2003 23:47:50 +0000 (23:47 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sat, 18 Jan 2003 23:47:50 +0000 (23:47 +0000)
Original commit message from CVS:
fix case for prefix blah (without =)

gst-autogen.sh

index d43d059..f9f2ab5 100644 (file)
@@ -228,6 +228,14 @@ autogen_options ()
          echo "+ passing --prefix=$optarg to configure"
           shift
           ;;
+      --prefix)
+         shift
+         echo "DEBUG: $1"
+         CONFIGURE_EXT_OPT="$CONFIGURE_EXT_OPT --prefix=$1"
+         echo "+ passing --prefix=$1 to configure"
+          shift
+          ;;
+
       -h|--help)
           echo "autogen.sh (autogen options) -- (configure options)"
           echo "autogen.sh help options: "
@@ -255,7 +263,7 @@ autogen_options ()
           shift
           ;;
        --) shift ; break ;;
-      *) echo "- ignoring unknown autogen.sh arguments; run $0 --help"; shift ;;
+      *) echo "- ignoring unknown autogen.sh argument $1"; shift ;;
     esac
   done