aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSUZUKI, Shinsuke <suz@kame.net>2007-02-12 08:32:37 +0000
committerBjørn Mork <bjorn@mork.no>2010-08-06 15:37:36 +0200
commitfcdc0798bb2be5fa00427240afda6bdfd3d0a392 (patch)
tree91bfba6e79327c9d092cc45e2d3fc2d1888990eb /configure
parented914217eab56d7f17b1ff868aa61def00011a7e (diff)
configure.in, Makefile.in: allows a user to specify the owner/group for the installed files. (suggested by Tsuyoshi MOMOSE and Tomofumi Hayashi)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure34
1 files changed, 33 insertions, 1 deletions
diff --git a/configure b/configure
index 2a39af4..7ba6697 100755
--- a/configure
+++ b/configure
@@ -309,7 +309,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP YACC LEX LEXLIB LEX_OUTPUT_ROOT EGREP LIBOBJS localdbdir LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP YACC LEX LEXLIB LEX_OUTPUT_ROOT EGREP LIBOBJS localdbdir user group LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
@@ -846,6 +846,8 @@ Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-localdbdir=VALUE where to put local DB files
+ --with-user=USER set the owner of the programs
+ --with-group=GROUP set the group owner of the programs
Some influential environment variables:
CC C compiler command
@@ -5465,6 +5467,34 @@ _ACEOF
fi
+echo "$as_me:$LINENO: checking the owner of the programs" >&5
+echo $ECHO_N "checking the owner of the programs... $ECHO_C" >&6
+
+# Check whether --with-user or --without-user was given.
+if test "${with_user+set}" = set; then
+ withval="$with_user"
+ user="$withval"
+else
+ user="bin"
+fi;
+echo "$as_me:$LINENO: result: $user" >&5
+echo "${ECHO_T}$user" >&6
+
+
+echo "$as_me:$LINENO: checking the group owner of the programs" >&5
+echo $ECHO_N "checking the group owner of the programs... $ECHO_C" >&6
+
+# Check whether --with-group or --without-group was given.
+if test "${with_group+set}" = set; then
+ withval="$with_group"
+ group="$withval"
+else
+ group="bin"
+fi;
+echo "$as_me:$LINENO: result: $group" >&5
+echo "${ECHO_T}$group" >&6
+
+
for ac_header in stdarg.h
do
@@ -6271,6 +6301,8 @@ s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
s,@EGREP@,$EGREP,;t t
s,@LIBOBJS@,$LIBOBJS,;t t
s,@localdbdir@,$localdbdir,;t t
+s,@user@,$user,;t t
+s,@group@,$group,;t t
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
CEOF