1# This file must be sourced inside (ba)sh using: . 2# 3# @configure_input@ 4# 5# Sets up the GNUstep filesystem paths for shell scripts 6# 7# Copyright (C) 2007 Free Software Foundation, Inc. 8# 9# Author: Nicola Pero <nicola.pero@meta-innovation.com>, 10# 11# Date: February 2007 12# 13# This file is part of the GNUstep Makefile Package. 14# 15# This library is free software; you can redistribute it and/or 16# modify it under the terms of the GNU General Public License 17# as published by the Free Software Foundation; either version 3 18# of the License, or (at your option) any later version. 19# 20# You should have received a copy of the GNU General Public 21# License along with this library; see the file COPYING. 22# If not, write to the Free Software Foundation, 23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 24 25# 26# This does the same that filesystem.make does, but for GNUstep.sh. 27# Include this file after reading your config to make sure that all 28# the paths are available. 29# 30# PS: If you change this list, make sure that top update the list of 31# paths used in all other filesystem.*, and in common.make when 32# GNUSTEP_INSTALLATION_DIR is set. 33# 34 35# 36# Location of Users directories ... never used by gnustep-make. 37# 38if [ -z "$GNUSTEP_SYSTEM_USERS_DIR" ]; 39 then GNUSTEP_SYSTEM_USERS_DIR="@GNUSTEP_SYSTEM_USERS_DIR@" 40fi 41if [ -z "$GNUSTEP_NETWORK_USERS_DIR" ]; 42 then GNUSTEP_NETWORK_USERS_DIR="@GNUSTEP_NETWORK_USERS_DIR@" 43fi 44if [ -z "$GNUSTEP_LOCAL_USERS_DIR" ]; 45 then GNUSTEP_LOCAL_USERS_DIR="@GNUSTEP_LOCAL_USERS_DIR@" 46fi 47 48 49# PS: We don't want to define these variables to avoid extreme 50# environment pollution. :-) They are fixed subdirs of LIBRARY if you 51# need them. 52#GNUSTEP_SYSTEM_APPLICATION_SUPPORT = $GNUSTEP_SYSTEM_LIBRARY/ApplicationSupport 53#GNUSTEP_SYSTEM_BUNDLES = $GNUSTEP_SYSTEM_LIBRARY/Bundles 54#GNUSTEP_SYSTEM_FRAMEWORKS = $GNUSTEP_SYSTEM_LIBRARY/Frameworks 55#GNUSTEP_SYSTEM_PALETTES = $GNUSTEP_SYSTEM_LIBRARY/ApplicationSupport/Palettes 56#GNUSTEP_SYSTEM_SERVICES = $GNUSTEP_SYSTEM_LIBRARY/Services 57#GNUSTEP_SYSTEM_RESOURCES = $GNUSTEP_SYSTEM_LIBRARY/Libraries/Resources 58#GNUSTEP_SYSTEM_JAVA = $GNUSTEP_SYSTEM_LIBRARY/Libraries/Java 59 60# 61# SYSTEM domain 62# 63if [ -z "$GNUSTEP_SYSTEM_APPS" ]; 64 then GNUSTEP_SYSTEM_APPS="@GNUSTEP_SYSTEM_APPS@" 65fi 66if [ -z "$GNUSTEP_SYSTEM_ADMIN_APPS" ]; 67 then GNUSTEP_SYSTEM_ADMIN_APPS="@GNUSTEP_SYSTEM_ADMIN_APPS@" 68fi 69if [ -z "$GNUSTEP_SYSTEM_WEB_APPS" ]; 70 then GNUSTEP_SYSTEM_WEB_APPS="@GNUSTEP_SYSTEM_WEB_APPS@" 71fi 72if [ -z "$GNUSTEP_SYSTEM_TOOLS" ]; 73 then GNUSTEP_SYSTEM_TOOLS="@GNUSTEP_SYSTEM_TOOLS@" 74fi 75if [ -z "$GNUSTEP_SYSTEM_ADMIN_TOOLS" ]; 76 then GNUSTEP_SYSTEM_ADMIN_TOOLS="@GNUSTEP_SYSTEM_ADMIN_TOOLS@" 77fi 78if [ -z "$GNUSTEP_SYSTEM_LIBRARY" ]; 79 then GNUSTEP_SYSTEM_LIBRARY="@GNUSTEP_SYSTEM_LIBRARY@" 80fi 81if [ -z "$GNUSTEP_SYSTEM_HEADERS" ]; 82 then GNUSTEP_SYSTEM_HEADERS="@GNUSTEP_SYSTEM_HEADERS@" 83fi 84if [ -z "$GNUSTEP_SYSTEM_LIBRARIES" ]; 85 then GNUSTEP_SYSTEM_LIBRARIES="@GNUSTEP_SYSTEM_LIBRARIES@" 86fi 87if [ -z "$GNUSTEP_SYSTEM_DOC" ]; 88 then GNUSTEP_SYSTEM_DOC="@GNUSTEP_SYSTEM_DOC@" 89fi 90if [ -z "$GNUSTEP_SYSTEM_DOC_MAN" ]; 91 then GNUSTEP_SYSTEM_DOC_MAN="@GNUSTEP_SYSTEM_DOC_MAN@" 92fi 93if [ -z "$GNUSTEP_SYSTEM_DOC_INFO" ]; 94 then GNUSTEP_SYSTEM_DOC_INFO="@GNUSTEP_SYSTEM_DOC_INFO@" 95fi 96 97# 98# NETWORK domain 99# 100if [ -z "$GNUSTEP_NETWORK_APPS" ]; 101 then GNUSTEP_NETWORK_APPS="@GNUSTEP_NETWORK_APPS@" 102fi 103if [ -z "$GNUSTEP_NETWORK_ADMIN_APPS" ]; 104 then GNUSTEP_NETWORK_ADMIN_APPS="@GNUSTEP_NETWORK_ADMIN_APPS@" 105fi 106if [ -z "$GNUSTEP_NETWORK_WEB_APPS" ]; 107 then GNUSTEP_NETWORK_WEB_APPS="@GNUSTEP_NETWORK_WEB_APPS@" 108fi 109if [ -z "$GNUSTEP_NETWORK_TOOLS" ]; 110 then GNUSTEP_NETWORK_TOOLS="@GNUSTEP_NETWORK_TOOLS@" 111fi 112if [ -z "$GNUSTEP_NETWORK_ADMIN_TOOLS" ]; 113 then GNUSTEP_NETWORK_ADMIN_TOOLS="@GNUSTEP_NETWORK_ADMIN_TOOLS@" 114fi 115if [ -z "$GNUSTEP_NETWORK_LIBRARY" ]; 116 then GNUSTEP_NETWORK_LIBRARY="@GNUSTEP_NETWORK_LIBRARY@" 117fi 118if [ -z "$GNUSTEP_NETWORK_HEADERS" ]; 119 then GNUSTEP_NETWORK_HEADERS="@GNUSTEP_NETWORK_HEADERS@" 120fi 121if [ -z "$GNUSTEP_NETWORK_LIBRARIES" ]; 122 then GNUSTEP_NETWORK_LIBRARIES="@GNUSTEP_NETWORK_LIBRARIES@" 123fi 124if [ -z "$GNUSTEP_NETWORK_DOC" ]; 125 then GNUSTEP_NETWORK_DOC="@GNUSTEP_NETWORK_DOC@" 126fi 127if [ -z "$GNUSTEP_NETWORK_DOC_MAN" ]; 128 then GNUSTEP_NETWORK_DOC_MAN="@GNUSTEP_NETWORK_DOC_MAN@" 129fi 130if [ -z "$GNUSTEP_NETWORK_DOC_INFO" ]; 131 then GNUSTEP_NETWORK_DOC_INFO="@GNUSTEP_NETWORK_DOC_INFO@" 132fi 133 134# 135# LOCAL domain 136# 137if [ -z "$GNUSTEP_LOCAL_APPS" ]; 138 then GNUSTEP_LOCAL_APPS="@GNUSTEP_LOCAL_APPS@" 139fi 140if [ -z "$GNUSTEP_LOCAL_ADMIN_APPS" ]; 141 then GNUSTEP_LOCAL_ADMIN_APPS="@GNUSTEP_LOCAL_ADMIN_APPS@" 142fi 143if [ -z "$GNUSTEP_LOCAL_WEB_APPS" ]; 144 then GNUSTEP_LOCAL_WEB_APPS="@GNUSTEP_LOCAL_WEB_APPS@" 145fi 146if [ -z "$GNUSTEP_LOCAL_TOOLS" ]; 147 then GNUSTEP_LOCAL_TOOLS="@GNUSTEP_LOCAL_TOOLS@" 148fi 149if [ -z "$GNUSTEP_LOCAL_ADMIN_TOOLS" ]; 150 then GNUSTEP_LOCAL_ADMIN_TOOLS="@GNUSTEP_LOCAL_ADMIN_TOOLS@" 151fi 152if [ -z "$GNUSTEP_LOCAL_LIBRARY" ]; 153 then GNUSTEP_LOCAL_LIBRARY="@GNUSTEP_LOCAL_LIBRARY@" 154fi 155if [ -z "$GNUSTEP_LOCAL_HEADERS" ]; 156 then GNUSTEP_LOCAL_HEADERS="@GNUSTEP_LOCAL_HEADERS@" 157fi 158if [ -z "$GNUSTEP_LOCAL_LIBRARIES" ]; 159 then GNUSTEP_LOCAL_LIBRARIES="@GNUSTEP_LOCAL_LIBRARIES@" 160fi 161if [ -z "$GNUSTEP_LOCAL_DOC" ]; 162 then GNUSTEP_LOCAL_DOC="@GNUSTEP_LOCAL_DOC@" 163fi 164if [ -z "$GNUSTEP_LOCAL_DOC_MAN" ]; 165 then GNUSTEP_LOCAL_DOC_MAN="@GNUSTEP_LOCAL_DOC_MAN@" 166fi 167if [ -z "$GNUSTEP_LOCAL_DOC_INFO" ]; 168 then GNUSTEP_LOCAL_DOC_INFO="@GNUSTEP_LOCAL_DOC_INFO@" 169fi 170 171# 172# USER domain 173# 174if [ -z "$GNUSTEP_USER_DIR_APPS" ]; 175 then GNUSTEP_USER_DIR_APPS="@GNUSTEP_USER_DIR_APPS@" 176fi 177if [ -z "$GNUSTEP_USER_DIR_ADMIN_APPS" ]; 178 then GNUSTEP_USER_DIR_ADMIN_APPS="@GNUSTEP_USER_DIR_ADMIN_APPS@" 179fi 180if [ -z "$GNUSTEP_USER_DIR_WEB_APPS" ]; 181 then GNUSTEP_USER_DIR_WEB_APPS="@GNUSTEP_USER_DIR_WEB_APPS@" 182fi 183if [ -z "$GNUSTEP_USER_DIR_TOOLS" ]; 184 then GNUSTEP_USER_DIR_TOOLS="@GNUSTEP_USER_DIR_TOOLS@" 185fi 186if [ -z "$GNUSTEP_USER_DIR_ADMIN_TOOLS" ]; 187 then GNUSTEP_USER_DIR_ADMIN_TOOLS="@GNUSTEP_USER_DIR_ADMIN_TOOLS@" 188fi 189if [ -z "$GNUSTEP_USER_DIR_LIBRARY" ]; 190 then GNUSTEP_USER_DIR_LIBRARY="@GNUSTEP_USER_DIR_LIBRARY@" 191fi 192if [ -z "$GNUSTEP_USER_DIR_HEADERS" ]; 193 then GNUSTEP_USER_DIR_HEADERS="@GNUSTEP_USER_DIR_HEADERS@" 194fi 195if [ -z "$GNUSTEP_USER_DIR_LIBRARIES" ]; 196 then GNUSTEP_USER_DIR_LIBRARIES="@GNUSTEP_USER_DIR_LIBRARIES@" 197fi 198if [ -z "$GNUSTEP_USER_DIR_DOC" ]; 199 then GNUSTEP_USER_DIR_DOC="@GNUSTEP_USER_DIR_DOC@" 200fi 201if [ -z "$GNUSTEP_USER_DIR_DOC_MAN" ]; 202 then GNUSTEP_USER_DIR_DOC_MAN="@GNUSTEP_USER_DIR_DOC_MAN@" 203fi 204if [ -z "$GNUSTEP_USER_DIR_DOC_INFO" ]; 205 then GNUSTEP_USER_DIR_DOC_INFO="@GNUSTEP_USER_DIR_DOC_INFO@" 206fi 207 208# 209# Now, for all the GNUSTEP_USER_DIR_xxx variables above, replace: 210# 211# %i with the userid 212# %u with the username 213# %% with % 214# 215# This allows you to, for example, specify the GNUSTEP_USER_TOOLS 216# should be /GNUstep/Users/%u/bin/, and that would mean 217# /GNUstep/Users/nicola/bin for user 'nicola' and 218# /GNUstep/Users/richard/bin for user 'richard'. 219# 220 221# Check if any of the strings contain %i ... 222case "${GNUSTEP_USER_DIR_APPS}\ 223 ${GNUSTEP_USER_DIR_ADMIN_APPS}\ 224 ${GNUSTEP_USER_DIR_WEB_APPS}\ 225 ${GNUSTEP_USER_DIR_TOOLS}\ 226 ${GNUSTEP_USER_DIR_ADMIN_TOOLS}\ 227 ${GNUSTEP_USER_DIR_LIBRARY}\ 228 ${GNUSTEP_USER_DIR_HEADERS}\ 229 ${GNUSTEP_USER_DIR_LIBRARIES}\ 230 ${GNUSTEP_USER_DIR_DOC}\ 231 ${GNUSTEP_USER_DIR_DOC_MAN}\ 232 ${GNUSTEP_USER_DIR_DOC_INFO}" in 233 *%i*) 234 # ... and if so, do the replacement. 235 GNUSTEP__USERID=`id -u` 236 GNUSTEP_USER_DIR_APPS=`echo ${GNUSTEP_USER_DIR_APPS} | sed -e "s/%i/${GNUSTEP__USERID}/g"` 237 GNUSTEP_USER_DIR_ADMIN_APPS=`echo ${GNUSTEP_USER_DIR_ADMIN_APPS} | sed -e "s/%i/${GNUSTEP__USERID}/g"` 238 GNUSTEP_USER_DIR_WEB_APPS=`echo ${GNUSTEP_USER_DIR_WEB_APPS} | sed -e "s/%i/${GNUSTEP__USERID}/g"` 239 GNUSTEP_USER_DIR_TOOLS=`echo ${GNUSTEP_USER_DIR_TOOLS} | sed -e "s/%i/${GNUSTEP__USERID}/g"` 240 GNUSTEP_USER_DIR_ADMIN_TOOLS=`echo ${GNUSTEP_USER_DIR_ADMIN_TOOLS} | sed -e "s/%i/${GNUSTEP__USERID}/g"` 241 GNUSTEP_USER_DIR_LIBRARY=`echo ${GNUSTEP_USER_DIR_LIBRARY} | sed -e "s/%i/${GNUSTEP__USERID}/g"` 242 GNUSTEP_USER_DIR_HEADERS=`echo ${GNUSTEP_USER_DIR_HEADERS} | sed -e "s/%i/${GNUSTEP__USERID}/g"` 243 GNUSTEP_USER_DIR_LIBRARIES=`echo ${GNUSTEP_USER_DIR_LIBRARIES} | sed -e "s/%i/${GNUSTEP__USERID}/g"` 244 GNUSTEP_USER_DIR_DOC=`echo ${GNUSTEP_USER_DIR_DOC} | sed -e "s/%i/${GNUSTEP__USERID}/g"` 245 GNUSTEP_USER_DIR_DOC_MAN=`echo ${GNUSTEP_USER_DIR_DOC_MAN} | sed -e "s/%i/${GNUSTEP__USERID}/g"` 246 GNUSTEP_USER_DIR_DOC_INFO=`echo ${GNUSTEP_USER_DIR_DOC_INFO} | sed -e "s/%i/${GNUSTEP__USERID}/g"` 247 unset GNUSTEP__USERID;; 248esac 249 250# Check if any of the strings contain %u ... 251case "${GNUSTEP_USER_DIR_APPS}\ 252 ${GNUSTEP_USER_DIR_ADMIN_APPS}\ 253 ${GNUSTEP_USER_DIR_WEB_APPS}\ 254 ${GNUSTEP_USER_DIR_TOOLS}\ 255 ${GNUSTEP_USER_DIR_ADMIN_TOOLS}\ 256 ${GNUSTEP_USER_DIR_LIBRARY}\ 257 ${GNUSTEP_USER_DIR_HEADERS}\ 258 ${GNUSTEP_USER_DIR_LIBRARIES}\ 259 ${GNUSTEP_USER_DIR_DOC}\ 260 ${GNUSTEP_USER_DIR_DOC_MAN}\ 261 ${GNUSTEP_USER_DIR_DOC_INFO}" in 262 *%u*) 263 # ... and if so, do the replacement. 264 GNUSTEP__USERNAME=`id -u -n` 265 GNUSTEP_USER_DIR_APPS=`echo ${GNUSTEP_USER_DIR_APPS} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"` 266 GNUSTEP_USER_DIR_ADMIN_APPS=`echo ${GNUSTEP_USER_DIR_ADMIN_APPS} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"` 267 GNUSTEP_USER_DIR_WEB_APPS=`echo ${GNUSTEP_USER_DIR_WEB_APPS} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"` 268 GNUSTEP_USER_DIR_TOOLS=`echo ${GNUSTEP_USER_DIR_TOOLS} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"` 269 GNUSTEP_USER_DIR_ADMIN_TOOLS=`echo ${GNUSTEP_USER_DIR_ADMIN_TOOLS} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"` 270 GNUSTEP_USER_DIR_LIBRARY=`echo ${GNUSTEP_USER_DIR_LIBRARY} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"` 271 GNUSTEP_USER_DIR_HEADERS=`echo ${GNUSTEP_USER_DIR_HEADERS} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"` 272 GNUSTEP_USER_DIR_LIBRARIES=`echo ${GNUSTEP_USER_DIR_LIBRARIES} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"` 273 GNUSTEP_USER_DIR_DOC=`echo ${GNUSTEP_USER_DIR_DOC} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"` 274 GNUSTEP_USER_DIR_DOC_MAN=`echo ${GNUSTEP_USER_DIR_DOC_MAN} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"` 275 GNUSTEP_USER_DIR_DOC_INFO=`echo ${GNUSTEP_USER_DIR_DOC_INFO} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"` 276 unset GNUSTEP__USERNAME;; 277esac 278 279# Check if any of the strings contain %% ... 280case "${GNUSTEP_USER_DIR_APPS}\ 281 ${GNUSTEP_USER_DIR_ADMIN_APPS}\ 282 ${GNUSTEP_USER_DIR_WEB_APPS}\ 283 ${GNUSTEP_USER_DIR_TOOLS}\ 284 ${GNUSTEP_USER_DIR_ADMIN_TOOLS}\ 285 ${GNUSTEP_USER_DIR_LIBRARY}\ 286 ${GNUSTEP_USER_DIR_HEADERS}\ 287 ${GNUSTEP_USER_DIR_LIBRARIES}\ 288 ${GNUSTEP_USER_DIR_DOC}\ 289 ${GNUSTEP_USER_DIR_DOC_MAN}\ 290 ${GNUSTEP_USER_DIR_DOC_INFO}" in 291 *%%*) 292 # ... and if so, replace %% with % 293 GNUSTEP_USER_DIR_APPS=`echo ${GNUSTEP_USER_DIR_APPS} | sed -e 's/%%/%/g'` 294 GNUSTEP_USER_DIR_ADMIN_APPS=`echo ${GNUSTEP_USER_DIR_ADMIN_APPS} | sed -e 's/%%/%/g'` 295 GNUSTEP_USER_DIR_WEB_APPS=`echo ${GNUSTEP_USER_DIR_WEB_APPS} | sed -e 's/%%/%/g'` 296 GNUSTEP_USER_DIR_TOOLS=`echo ${GNUSTEP_USER_DIR_TOOLS} | sed -e 's/%%/%/g'` 297 GNUSTEP_USER_DIR_ADMIN_TOOLS=`echo ${GNUSTEP_USER_DIR_ADMIN_TOOLS} | sed -e 's/%%/%/g'` 298 GNUSTEP_USER_DIR_LIBRARY=`echo ${GNUSTEP_USER_DIR_LIBRARY} | sed -e 's/%%/%/g'` 299 GNUSTEP_USER_DIR_HEADERS=`echo ${GNUSTEP_USER_DIR_HEADERS} | sed -e 's/%%/%/g'` 300 GNUSTEP_USER_DIR_LIBRARIES=`echo ${GNUSTEP_USER_DIR_LIBRARIES} | sed -e 's/%%/%/g'` 301 GNUSTEP_USER_DIR_DOC=`echo ${GNUSTEP_USER_DIR_DOC} | sed -e 's/%%/%/g'` 302 GNUSTEP_USER_DIR_DOC_MAN=`echo ${GNUSTEP_USER_DIR_DOC_MAN} | sed -e 's/%%/%/g'` 303 GNUSTEP_USER_DIR_DOC_INFO=`echo ${GNUSTEP_USER_DIR_DOC_INFO} | sed -e 's/%%/%/g'` 304 ;; 305esac 306 307# 308# Now for all directories in the USER domain, check if they are 309# relative; if so, consider them as subdirs of GNUSTEP_HOME. 310# 311case "$GNUSTEP_USER_DIR_APPS" in 312 /*) # An absolute path 313 GNUSTEP_USER_APPS="$GNUSTEP_USER_DIR_APPS";; 314 *) # Something else 315 GNUSTEP_USER_APPS="$GNUSTEP_HOME/$GNUSTEP_USER_DIR_APPS";; 316esac 317unset GNUSTEP_USER_DIR_APPS 318 319case "$GNUSTEP_USER_DIR_ADMIN_APPS" in 320 /*) # An absolute path 321 GNUSTEP_USER_ADMIN_APPS="$GNUSTEP_USER_DIR_ADMIN_APPS";; 322 *) # Something else 323 GNUSTEP_USER_ADMIN_APPS="$GNUSTEP_HOME/$GNUSTEP_USER_DIR_ADMIN_APPS";; 324esac 325unset GNUSTEP_USER_DIR_ADMIN_APPS 326 327case "$GNUSTEP_USER_DIR_WEB_APPS" in 328 /*) # An absolute path 329 GNUSTEP_USER_WEB_APPS="$GNUSTEP_USER_DIR_WEB_APPS";; 330 *) # Something else 331 GNUSTEP_USER_WEB_APPS="$GNUSTEP_HOME/$GNUSTEP_USER_DIR_WEB_APPS";; 332esac 333unset GNUSTEP_USER_DIR_WEB_APPS 334 335case "$GNUSTEP_USER_DIR_TOOLS" in 336 /*) GNUSTEP_USER_TOOLS="$GNUSTEP_USER_DIR_TOOLS";; 337 *) GNUSTEP_USER_TOOLS="$GNUSTEP_HOME/$GNUSTEP_USER_DIR_TOOLS";; 338esac 339unset GNUSTEP_USER_DIR_TOOLS 340 341case "$GNUSTEP_USER_DIR_ADMIN_TOOLS" in 342 /*) GNUSTEP_USER_ADMIN_TOOLS="$GNUSTEP_USER_DIR_ADMIN_TOOLS";; 343 *) GNUSTEP_USER_ADMIN_TOOLS="$GNUSTEP_HOME/$GNUSTEP_USER_DIR_ADMIN_TOOLS";; 344esac 345unset GNUSTEP_USER_DIR_ADMIN_TOOLS 346 347case "$GNUSTEP_USER_DIR_LIBRARY" in 348 /*) GNUSTEP_USER_LIBRARY="$GNUSTEP_USER_DIR_LIBRARY";; 349 *) GNUSTEP_USER_LIBRARY="$GNUSTEP_HOME/$GNUSTEP_USER_DIR_LIBRARY";; 350esac 351unset GNUSTEP_USER_DIR_LIBRARY 352 353case "$GNUSTEP_USER_DIR_HEADERS" in 354 /*) GNUSTEP_USER_HEADERS="$GNUSTEP_USER_DIR_HEADERS";; 355 *) GNUSTEP_USER_HEADERS="$GNUSTEP_HOME/$GNUSTEP_USER_DIR_HEADERS";; 356esac 357unset GNUSTEP_USER_DIR_HEADERS 358 359case "$GNUSTEP_USER_DIR_LIBRARIES" in 360 /*) GNUSTEP_USER_LIBRARIES="$GNUSTEP_USER_DIR_LIBRARIES";; 361 *) GNUSTEP_USER_LIBRARIES="$GNUSTEP_HOME/$GNUSTEP_USER_DIR_LIBRARIES";; 362esac 363unset GNUSTEP_USER_DIR_LIBRARIES 364 365case "$GNUSTEP_USER_DIR_DOC" in 366 /*) GNUSTEP_USER_DOC="$GNUSTEP_USER_DIR_DOC";; 367 *) GNUSTEP_USER_DOC="$GNUSTEP_HOME/$GNUSTEP_USER_DIR_DOC";; 368esac 369unset GNUSTEP_USER_DIR_DOC 370 371case "$GNUSTEP_USER_DIR_DOC_MAN" in 372 /*) GNUSTEP_USER_DOC_MAN="$GNUSTEP_USER_DIR_DOC_MAN";; 373 *) GNUSTEP_USER_DOC_MAN="$GNUSTEP_HOME/$GNUSTEP_USER_DIR_DOC_MAN";; 374esac 375unset GNUSTEP_USER_DIR_DOC_MAN 376 377case "$GNUSTEP_USER_DIR_DOC_INFO" in 378 /*) GNUSTEP_USER_DOC_INFO="$GNUSTEP_USER_DIR_DOC_INFO";; 379 *) GNUSTEP_USER_DOC_INFO="$GNUSTEP_HOME/$GNUSTEP_USER_DIR_DOC_INFO";; 380esac 381unset GNUSTEP_USER_DIR_DOC_INFO 382