+# -------------------------------------------
+# static-fd (default off)
+# -------------------------------------------
+# Check whether --enable-static-fd or --disable-static-fd was given.
+if test "${enable_static_fd+set}" = set; then
+ enableval="$enable_static_fd"
+ if test x$enableval = xyes; then
+ support_static_fd=yes
+ fi
+fi;
+
+STATIC_FD=
+if test x$support_static_fd = xyes; then
+ STATIC_FD="static-bacula-fd"
+fi
+
+
+where=
+# ------------------------------------------
+# Where to get iso
+# ------------------------------------------
+
+# Check whether --with-iso or --without-iso was given.
+if test "${with_iso+set}" = set; then
+ withval="$with_iso"
+
+ if test "x$withval" != "xno" ; then
+ where=$withval
+ type=iso
+ fi
+
+
+fi;
+
+
+# ------------------------------------------
+# Where to get cdrom
+# ------------------------------------------
+
+# Check whether --with-cdrom or --without-cdrom was given.
+if test "${with_cdrom+set}" = set; then
+ withval="$with_cdrom"
+
+ if test "x$withval" != "xno" ; then
+ where=$withval
+ type=cdrom
+ fi
+
+
+fi;
+
+
+
+
+# ------------------------------------------
+# Where to get Bacula source
+# ------------------------------------------
+
+# Check whether --with-bacula or --without-bacula was given.
+if test "${with_bacula+set}" = set; then
+ withval="$with_bacula"
+
+ if test "x$withval" != "xno" ; then
+ bacula=$withval
+ fi
+
+
+fi;
+
+if test x${bacula} = x; then
+ { { echo "$as_me:$LINENO: error: Missing --with-bacula=PATH" >&5
+echo "$as_me: error: Missing --with-bacula=PATH" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+