diff options
author | unknown <kent@mysql.com/kent-amd64.(none)> | 2007-05-28 22:14:29 +0200 |
---|---|---|
committer | unknown <kent@mysql.com/kent-amd64.(none)> | 2007-05-28 22:14:29 +0200 |
commit | 2fd3e40a91c2786fc8e9b8292ed06949ce8945cf (patch) | |
tree | 2bda4b629e7dd2eb1857c03149f8426b1db3a5d2 /configure.in | |
parent | 0d3df46fe768c39f59a809c32bd5d9814f0a9594 (diff) | |
download | mariadb-git-2fd3e40a91c2786fc8e9b8292ed06949ce8945cf.tar.gz |
configure.in:
After merge changes, removed unneeded Netware specific sprintf case
configure.in:
After merge changes, removed unneeded Netware specific sprintf case
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/configure.in b/configure.in index 7c18aeb4fc6..8f4b847bb25 100644 --- a/configure.in +++ b/configure.in @@ -230,14 +230,8 @@ AC_CHECK_PROGS(YACC, ['bison -y -p MYSQL']) AC_CHECK_PROG(PDFMANUAL, pdftex, manual.pdf) AC_CHECK_PROG(DVIS, tex, manual.dvi) -AC_MSG_CHECKING("return type of sprintf") - #check the return type of sprintf -case $SYSTEM_TYPE in - *netware*) - AC_DEFINE(SPRINTF_RETURNS_INT, [1]) AC_MSG_RESULT("int") - ;; - *) +AC_MSG_CHECKING("return type of sprintf") AC_TRY_RUN([ int main() { @@ -263,13 +257,12 @@ AC_TRY_RUN([ [AC_DEFINE(SPRINTF_RETURNS_PTR, [1], [Broken sprintf]) AC_MSG_RESULT("ptr")], [AC_DEFINE(SPRINTF_RETURNS_GARBAGE, [1], [Broken sprintf]) - AC_MSG_RESULT("garbage")]) - ], + AC_MSG_RESULT("garbage")] + )], # Cross compile, assume POSIX [AC_DEFINE(SPRINTF_RETURNS_INT, [1], [POSIX sprintf]) - AC_MSG_RESULT("int (we assume)")]) - ;; -esac + AC_MSG_RESULT("int (we assume)")] +) AC_PATH_PROG(uname_prog, uname, no) |