# No user-level customization should be required beyond this point.
################################################################################
+####
+# Set up paths, including PATH for finding amanda executables
+
+PATH="$PATH:@sbindir@:@libexecdir@"
prefix="@prefix@"
exec_prefix="@exec_prefix@"
sbindir="@sbindir@"
libexecdir="@libexecdir@"
-amlibexecdir="@amlibexecdir@"
-. "${amlibexecdir}/amanda-sh-lib.sh"
+
+####
+# Gettext
+
+#+
+# Function to:
+# Simplify gettext usage by allowing printf format
+# strings for translators, use _() identifier for
+# xgettext extraction similar to "C" usage and
+# collapsing "printf `gettext fmt` ...", which is
+# used everywhere, into one function.
+#-
+_() {
+ fmt=`gettext -d amanda "$1"`
+ shift
+ printf "$fmt" $*
+}
####
# Eponymous functions to access various amanda apps