mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Depending on the bos level, AIX 6.1 may or may not include
getline/getdelim and AIX 7.1 may or may not include memset_s. Since we need to build packages that will work on all AIX 6.1 and 7.1 machines, use our getline() and memset_s emulation.
This commit is contained in:
12
configure
vendored
12
configure
vendored
@@ -15452,6 +15452,18 @@ fi
|
||||
ac_cv_func_strnlen=no
|
||||
fi
|
||||
|
||||
# getline() may or may ont be present on AIX <= 6.1.
|
||||
# bos610 is missing getline/getdelim but bos61J has it.
|
||||
if test $OSMAJOR -le 6; then
|
||||
ac_cv_func_getline=no
|
||||
fi
|
||||
|
||||
# memset_s() may or may ont be present on AIX <= 7.1.
|
||||
# bos710 is missing memset_s but bos71L has it.
|
||||
if test $OSMAJOR -le 7; then
|
||||
ac_cv_func_memset_s=no
|
||||
fi
|
||||
|
||||
# Remove timedir on boot, AIX does not have /var/run
|
||||
INIT_SCRIPT=aix.sh
|
||||
INIT_DIR=/etc/rc.d/init.d
|
||||
|
12
configure.ac
12
configure.ac
@@ -1818,6 +1818,18 @@ case "$host" in
|
||||
ac_cv_func_strnlen=no
|
||||
fi
|
||||
|
||||
# getline() may or may ont be present on AIX <= 6.1.
|
||||
# bos610 is missing getline/getdelim but bos61J has it.
|
||||
if test $OSMAJOR -le 6; then
|
||||
ac_cv_func_getline=no
|
||||
fi
|
||||
|
||||
# memset_s() may or may ont be present on AIX <= 7.1.
|
||||
# bos710 is missing memset_s but bos71L has it.
|
||||
if test $OSMAJOR -le 7; then
|
||||
ac_cv_func_memset_s=no
|
||||
fi
|
||||
|
||||
# Remove timedir on boot, AIX does not have /var/run
|
||||
INIT_SCRIPT=aix.sh
|
||||
INIT_DIR=/etc/rc.d/init.d
|
||||
|
Reference in New Issue
Block a user