Changeset 4510 for trunk/base
- Timestamp:
- Jan 7, 2004, 6:12:10 PM (20 years ago)
- Location:
- trunk/base
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/aclocal.m4
r3937 r4510 40 40 41 41 42 # OD_PATH_PORTCONFIGDIR( DEFAULT_PORTCONFIGDIR,PREFIX)42 # OD_PATH_PORTCONFIGDIR(PREFIX) 43 43 #--------------------------------------- 44 44 AC_DEFUN([OD_PATH_PORTCONFIGDIR],[ … … 49 49 AC_MSG_CHECKING([for ports config directory]) 50 50 51 if test "$ 2" != "NONE" ; then51 if test "$1" != "NONE" ; then 52 52 dnl user gave --prefix 53 53 portconfigdir='${sysconfdir}/ports' 54 54 else 55 dnl just use the default /etc/ports 55 case $host_os in 56 darwin*) 57 portconfigdir='/private/etc/ports' 58 ;; 59 *) 56 60 portconfigdir='/etc/ports' 61 ;; 62 esac 57 63 fi 58 64 -
trunk/base/configure
r4096 r4510 3408 3408 portconfigdir='${sysconfdir}/ports' 3409 3409 else 3410 portconfigdir='/etc/ports' 3410 case $host_os in 3411 darwin*) 3412 portconfigdir='/private/etc/ports' 3413 ;; 3414 *) 3415 portconfigdir='/etc/ports' 3416 ;; 3417 esac 3411 3418 fi 3412 3419 -
trunk/base/configure.ac
r3937 r4510 24 24 AC_PREFIX_DEFAULT(/opt/local) 25 25 OD_PATH_DPORTSDIR([$DPORTS_DIR_DEFAULT]) 26 OD_PATH_PORTCONFIGDIR([ /etc/ports], [$prefix])26 OD_PATH_PORTCONFIGDIR([$prefix]) 27 27 28 28 # Check for install ownership -
trunk/base/src/config.h.in
r3314 r4510 1 /* src/config.h.in. Generated automaticallyfrom configure.ac by autoheader. */1 /* src/config.h.in. Generated from configure.ac by autoheader. */ 2 2 3 /* Define if the `closedir' function returns void instead of `int'. */3 /* Define to 1 if the `closedir' function returns void instead of `int'. */ 4 4 #undef CLOSEDIR_VOID 5 5 6 /* Define if you have the `bzero' function. */6 /* Define to 1 if you have the `bzero' function. */ 7 7 #undef HAVE_BZERO 8 8 9 /* Define if you have the <crt_externs.h> header file. */9 /* Define to 1 if you have the <crt_externs.h> header file. */ 10 10 #undef HAVE_CRT_EXTERNS_H 11 11 … … 14 14 #undef HAVE_DECL_STRERROR_R 15 15 16 /* Define if you have the <dirent.h> header file, and it defines `DIR'. */ 16 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 17 */ 17 18 #undef HAVE_DIRENT_H 18 19 19 /* Define if you have the `dup2' function. */20 /* Define to 1 if you have the `dup2' function. */ 20 21 #undef HAVE_DUP2 21 22 22 /* Define if you have the <fcntl.h> header file. */23 /* Define to 1 if you have the <fcntl.h> header file. */ 23 24 #undef HAVE_FCNTL_H 24 25 25 /* Define if you have the `fgetln' function. */26 /* Define to 1 if you have the `fgetln' function. */ 26 27 #undef HAVE_FGETLN 27 28 28 /* Define if you have the `flock' function. */29 /* Define to 1 if you have the `flock' function. */ 29 30 #undef HAVE_FLOCK 30 31 31 /* Define if you have the `fork' function. */32 /* Define to 1 if you have the `fork' function. */ 32 33 #undef HAVE_FORK 33 34 34 /* Define if you have the <inttypes.h> header file. */35 /* Define to 1 if you have the <inttypes.h> header file. */ 35 36 #undef HAVE_INTTYPES_H 36 37 … … 41 42 #undef HAVE_LIBMD 42 43 43 /* Define if you have the <limits.h> header file. */44 /* Define to 1 if you have the <limits.h> header file. */ 44 45 #undef HAVE_LIMITS_H 45 46 46 /* Define if you have the `lockf' function. */47 /* Define to 1 if you have the `lockf' function. */ 47 48 #undef HAVE_LOCKF 48 49 49 /* Define if you have the <md5.h> header file. */50 /* Define to 1 if you have the <md5.h> header file. */ 50 51 #undef HAVE_MD5_H 51 52 52 /* Define if you have the <memory.h> header file. */53 /* Define to 1 if you have the <memory.h> header file. */ 53 54 #undef HAVE_MEMORY_H 54 55 55 /* Define if you have the `memset' function. */56 /* Define to 1 if you have the `memset' function. */ 56 57 #undef HAVE_MEMSET 57 58 58 /* Define if you have the <ndir.h> header file, and it defines `DIR'. */59 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ 59 60 #undef HAVE_NDIR_H 60 61 61 /* Define if you have the <openssl/md5.h> header file. */62 /* Define to 1 if you have the <openssl/md5.h> header file. */ 62 63 #undef HAVE_OPENSSL_MD5_H 63 64 64 /* Define if you have the <paths.h> header file. */65 /* Define to 1 if you have the <paths.h> header file. */ 65 66 #undef HAVE_PATHS_H 66 67 67 /* Define if you have the `regcomp' function. */68 /* Define to 1 if you have the `regcomp' function. */ 68 69 #undef HAVE_REGCOMP 69 70 70 /* Define if you have the <stdint.h> header file. */71 /* Define to 1 if you have the <stdint.h> header file. */ 71 72 #undef HAVE_STDINT_H 72 73 73 /* Define if you have the <stdlib.h> header file. */74 /* Define to 1 if you have the <stdlib.h> header file. */ 74 75 #undef HAVE_STDLIB_H 75 76 76 /* Define if you have the `strdup' function. */77 /* Define to 1 if you have the `strdup' function. */ 77 78 #undef HAVE_STRDUP 78 79 79 /* Define if you have the `strerror' function. */80 /* Define to 1 if you have the `strerror' function. */ 80 81 #undef HAVE_STRERROR 81 82 82 /* Define if you have the `strerror_r' function. */83 /* Define to 1 if you have the `strerror_r' function. */ 83 84 #undef HAVE_STRERROR_R 84 85 85 /* Define if you have the <strings.h> header file. */86 /* Define to 1 if you have the <strings.h> header file. */ 86 87 #undef HAVE_STRINGS_H 87 88 88 /* Define if you have the <string.h> header file. */89 /* Define to 1 if you have the <string.h> header file. */ 89 90 #undef HAVE_STRING_H 90 91 91 /* Define if you have the `strtol' function. */92 /* Define to 1 if you have the `strtol' function. */ 92 93 #undef HAVE_STRTOL 93 94 94 /* Define if you have the <sys/dir.h> header file, and it defines `DIR'. */ 95 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 96 */ 95 97 #undef HAVE_SYS_DIR_H 96 98 97 /* Define if you have the <sys/fcntl.h> header file. */99 /* Define to 1 if you have the <sys/fcntl.h> header file. */ 98 100 #undef HAVE_SYS_FCNTL_H 99 101 100 /* Define if you have the <sys/file.h> header file. */102 /* Define to 1 if you have the <sys/file.h> header file. */ 101 103 #undef HAVE_SYS_FILE_H 102 104 103 /* Define if you have the <sys/ndir.h> header file, and it defines `DIR'. */ 105 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 106 */ 104 107 #undef HAVE_SYS_NDIR_H 105 108 106 /* Define if you have the <sys/stat.h> header file. */109 /* Define to 1 if you have the <sys/stat.h> header file. */ 107 110 #undef HAVE_SYS_STAT_H 108 111 109 /* Define if you have the <sys/types.h> header file. */112 /* Define to 1 if you have the <sys/types.h> header file. */ 110 113 #undef HAVE_SYS_TYPES_H 111 114 112 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */115 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ 113 116 #undef HAVE_SYS_WAIT_H 114 117 115 /* Define if you have the <unistd.h> header file. */118 /* Define to 1 if you have the <unistd.h> header file. */ 116 119 #undef HAVE_UNISTD_H 117 120 118 /* Define if you have the `vfork' function. */121 /* Define to 1 if you have the `vfork' function. */ 119 122 #undef HAVE_VFORK 120 123 121 /* Define if you have the <vfork.h> header file. */124 /* Define to 1 if you have the <vfork.h> header file. */ 122 125 #undef HAVE_VFORK_H 123 126 124 /* Define if `fork' works. */127 /* Define to 1 if `fork' works. */ 125 128 #undef HAVE_WORKING_FORK 126 129 127 /* Define to 1 if ` strerror_r' returns a string. */128 #undef HAVE_WORKING_ STRERROR_R130 /* Define to 1 if `vfork' works. */ 131 #undef HAVE_WORKING_VFORK 129 132 130 /* Define if `vfork' works. */ 131 #undef HAVE_WORKING_VFORK 133 /* Define to the address where bug reports for this package should be sent. */ 134 #undef PACKAGE_BUGREPORT 135 136 /* Define to the full name of this package. */ 137 #undef PACKAGE_NAME 138 139 /* Define to the full name and version of this package. */ 140 #undef PACKAGE_STRING 141 142 /* Define to the one symbol short name of this package. */ 143 #undef PACKAGE_TARNAME 144 145 /* Define to the version of this package. */ 146 #undef PACKAGE_VERSION 132 147 133 148 /* Define to 1 if static build is requested */ 134 149 #undef STATIC_BUILD 135 150 136 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */151 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 137 152 #undef STAT_MACROS_BROKEN 138 153 139 /* Define if you have the ANSI C header files. */154 /* Define to 1 if you have the ANSI C header files. */ 140 155 #undef STDC_HEADERS 156 157 /* Define to 1 if strerror_r returns char *. */ 158 #undef STRERROR_R_CHAR_P 141 159 142 160 /* Define to `int' if <sys/types.h> does not define. */
Note: See TracChangeset
for help on using the changeset viewer.