diff options
author | Damien Miller <djm@mindrot.org> | 1999-12-13 08:27:33 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-12-13 08:27:33 +1100 |
commit | c6b3bbe2b991f4f87ca1f8214f43c13a5a73f385 (patch) | |
tree | 5eadc1e35464be6ec748793060d92b12fa637052 /acconfig.h | |
parent | 4e0dbd07cf1021897210c11a16fd05f207d95b8e (diff) |
- Fix compilation on systems with AFS. Reported by
aloomis@glue.umd.edu
- Fix installation on Solaris. Reported by
Gordon Rowell <gordonr@gormand.com.au>
- Fix gccisms (__attribute__ and inline). Report by edgy@us.ibm.com,
patch from Markus Friedl <markus.friedl@informatik.uni-erlangen.de>
- Auto-locate xauth. Patch from David Agraz <dagraz@jahoopa.com>
- Compile fix from David Agraz <dagraz@jahoopa.com>
- Avoid compiler warning in bsd-snprintf.c
- Added pam_limits.so to default PAM config. Suggested by
Jim Knoble <jmknoble@pobox.com>
Diffstat (limited to 'acconfig.h')
-rw-r--r-- | acconfig.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h index 811c00d47..324f45dbe 100644 --- a/acconfig.h +++ b/acconfig.h | |||
@@ -73,6 +73,9 @@ | |||
73 | /* Define if you have /dev/ptc */ | 73 | /* Define if you have /dev/ptc */ |
74 | #undef HAVE_DEV_PTS_AND_PTC | 74 | #undef HAVE_DEV_PTS_AND_PTC |
75 | 75 | ||
76 | /* Path to xauth binary */ | ||
77 | #undef XAUTH_PATH | ||
78 | |||
76 | @BOTTOM@ | 79 | @BOTTOM@ |
77 | 80 | ||
78 | /* ******************* Shouldn't need to edit below this line ************** */ | 81 | /* ******************* Shouldn't need to edit below this line ************** */ |
@@ -258,3 +261,14 @@ enum | |||
258 | # define __P(x) x | 261 | # define __P(x) x |
259 | #endif | 262 | #endif |
260 | 263 | ||
264 | #ifdef __GNUC__ | ||
265 | # if __GNUC__ < 2 | ||
266 | # define INLINE inline | ||
267 | # define __attribute__(x) | ||
268 | # else | ||
269 | # define INLINE __inline__ | ||
270 | # endif /* __GNUC__ < 2 */ | ||
271 | #else | ||
272 | # define __attribute__(x) | ||
273 | # define INLINE | ||
274 | #endif /* __GNUC__ */ | ||