diff options
author | SUZUKI, Shinsuke <suz@kame.net> | 2007-02-12 08:32:37 +0000 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2010-08-06 15:37:36 +0200 |
commit | fcdc0798bb2be5fa00427240afda6bdfd3d0a392 (patch) | |
tree | 91bfba6e79327c9d092cc45e2d3fc2d1888990eb /configure | |
parent | ed914217eab56d7f17b1ff868aa61def00011a7e (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-x | configure | 34 |
1 files changed, 33 insertions, 1 deletions
@@ -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 |