summaryrefslogtreecommitdiffstats
path: root/acconfig.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-13 08:27:33 +1100
committerDamien Miller <djm@mindrot.org>1999-12-13 08:27:33 +1100
commitc6b3bbe2b991f4f87ca1f8214f43c13a5a73f385 (patch)
tree5eadc1e35464be6ec748793060d92b12fa637052 /acconfig.h
parent4e0dbd07cf1021897210c11a16fd05f207d95b8e (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.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index 811c00d4..324f45db 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -73,6 +73,9 @@
/* Define if you have /dev/ptc */
#undef HAVE_DEV_PTS_AND_PTC
+/* Path to xauth binary */
+#undef XAUTH_PATH
+
@BOTTOM@
/* ******************* Shouldn't need to edit below this line ************** */
@@ -258,3 +261,14 @@ enum
# define __P(x) x
#endif
+#ifdef __GNUC__
+# if __GNUC__ < 2
+# define INLINE inline
+# define __attribute__(x)
+# else
+# define INLINE __inline__
+# endif /* __GNUC__ < 2 */
+#else
+# define __attribute__(x)
+# define INLINE
+#endif /* __GNUC__ */