Changeset 4479:495cc2d85ef2 in roaraudio
Legend:
- Unmodified
- Added
- Removed
-
configure
r4456 r4479 54 54 PROC_NET_DECNET="/proc/net/decnet" 55 55 TTY_DEV="" 56 57 ROOT_UID='' 56 58 57 59 VORBIS_BITS=32 … … 190 192 echo ' (ignore this on non-Linux)' 191 193 echo '--audio-group GROUP - Sets group of audio permitted users' 194 echo '--root-uid UID - Sets User ID (UID) of the root user/superuser' 192 195 echo 193 196 echo '--no-LIB - disable library LIB' … … 300 303 shift; 301 304 ;; 305 '--root-uid') 306 ROOT_UID="$2" 307 shift; 308 ;; 302 309 '--no-'*) 303 310 lib=$(echo "$1" | sed 's/^--no-//') … … 1993 2000 fi 1994 2001 2002 echo -n 'checking for user id of root/superuser... ' 2003 if [ "$ROOT_UID" = '(none)' ] 2004 then 2005 echo "none (disabled by user)" 2006 elif [ "$ROOT_UID" = '' ] 2007 then 2008 ROOT_USER='root' 2009 ROOT_UID=`id -u $ROOT_USER` 2010 if [ "$ROOT_UID" = '' ] 2011 then 2012 echo "none (please report this)" 2013 else 2014 echo "$ROOT_UID($ROOT_USER)" 2015 echo '#define ROAR_ROOT_UID '"$ROOT_UID" >&3 2016 fi 2017 else 2018 echo "$ROOT_UID" 2019 echo '#define ROAR_ROOT_UID '"$ROOT_UID" >&3 2020 fi 1995 2021 1996 2022 $NEED_GNU_SOURCE && echo '#define ROAR_NEED_GNU_SOURCE' >&3
Note: See TracChangeset
for help on using the changeset viewer.