summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-21 11:18:08 +1100
committerDamien Miller <djm@mindrot.org>1999-12-21 11:18:08 +1100
commit76112de73437ac3db04b45d4b7a9d1f1b74f83fd (patch)
treecbfb21a6bd6acc7c3a478b5c186ee49e0b0f9fbb /acconfig.h
parent368cf64d5c7cee6eb85d9240ea04ccf43273b5fc (diff)
- Integration of large HPUX patch from Andre Lucas
<andre.lucas@dial.pipex.com>. Integrating it had a few other benefits: - Ability to disable shadow passwords at configure time - Ability to disable lastlog support at configure time - Support for IP address in $DISPLAY
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h24
1 files changed, 22 insertions, 2 deletions
diff --git a/acconfig.h b/acconfig.h
index bbb992816..b02abbafe 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -3,6 +3,9 @@
3/* SSL directory. */ 3/* SSL directory. */
4#undef ssldir 4#undef ssldir
5 5
6/* Define if you want to disable lastlog support */
7#undef DISABLE_LASTLOG
8
6/* Location of lastlog file */ 9/* Location of lastlog file */
7#undef LASTLOG_LOCATION 10#undef LASTLOG_LOCATION
8 11
@@ -57,9 +60,18 @@
57/* Define if your libraries define daemon() */ 60/* Define if your libraries define daemon() */
58#undef HAVE_DAEMON 61#undef HAVE_DAEMON
59 62
63/* Define if xauth is found in your path */
64#undef XAUTH_PATH
65
60/* Define if you want to allow MD5 passwords */ 66/* Define if you want to allow MD5 passwords */
61#undef HAVE_MD5_PASSWORDS 67#undef HAVE_MD5_PASSWORDS
62 68
69/* Define if you want to disable shadow passwords */
70#undef DISABLE_SHADOW
71
72/* Define if you want have trusted HPUX */
73#undef HAVE_HPUX_TRUSTED_SYSTEM_PW
74
63/* Define if you have an old version of PAM which takes only one argument */ 75/* Define if you have an old version of PAM which takes only one argument */
64/* to pam_strerror */ 76/* to pam_strerror */
65#undef HAVE_OLD_PAM 77#undef HAVE_OLD_PAM
@@ -76,8 +88,8 @@
76/* Define if you have /dev/ptc */ 88/* Define if you have /dev/ptc */
77#undef HAVE_DEV_PTS_AND_PTC 89#undef HAVE_DEV_PTS_AND_PTC
78 90
79/* Path to xauth binary */ 91/* Define if you need to use IP address instead of hostname in $DISPLAY */
80#undef XAUTH_PATH 92#undef IPADDR_IN_DISPLAY
81 93
82@BOTTOM@ 94@BOTTOM@
83 95
@@ -233,6 +245,10 @@ enum
233#ifndef _PATH_MAILDIR 245#ifndef _PATH_MAILDIR
234# ifdef MAILDIR 246# ifdef MAILDIR
235# define _PATH_MAILDIR MAILDIR 247# define _PATH_MAILDIR MAILDIR
248# else
249# ifdef MAIL_DIRECTORY
250# define _PATH_MAILDIR MAIL_DIRECTORY
251# endif
236# endif 252# endif
237#endif 253#endif
238 254
@@ -267,3 +283,7 @@ enum
267#if !defined(__GNUC__) || (__GNUC__ < 2) 283#if !defined(__GNUC__) || (__GNUC__ < 2)
268# define __attribute__(x) 284# define __attribute__(x)
269#endif /* !defined(__GNUC__) || (__GNUC__ < 2) */ 285#endif /* !defined(__GNUC__) || (__GNUC__ < 2) */
286
287#if !defined(HAVE_SETEUID) && defined(HAVE_SETREUID)
288# define seteuid(a) setreuid(-1,a)
289#endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */