diff options
author | jbj <devnull@localhost> | 2000-02-27 18:52:30 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-02-27 18:52:30 +0000 |
commit | 742a513e5f4eeb92648bb29247793735dfe88ac7 (patch) | |
tree | ea50b48868004446f18fe132abf1cf50834d909d /rpm.c | |
parent | 79940584c97aa8f3f7c8ff027ad79ed8fc7c3ff5 (diff) | |
download | librpm-tizen-742a513e5f4eeb92648bb29247793735dfe88ac7.tar.gz librpm-tizen-742a513e5f4eeb92648bb29247793735dfe88ac7.tar.bz2 librpm-tizen-742a513e5f4eeb92648bb29247793735dfe88ac7.zip |
Solaris2.6 portability.
CVS patchset: 3591
CVS date: 2000/02/27 18:52:30
Diffstat (limited to 'rpm.c')
-rwxr-xr-x | rpm.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -142,7 +142,9 @@ static struct poptOption optionsTable[] = { { "nodeps", '\0', 0, &noDeps, 0, NULL, NULL}, { "nodirtokens", '\0', POPT_ARG_VAL, &_noDirTokens, 1, NULL, NULL}, { "nogpg", '\0', 0, &noGpg, 0, NULL, NULL}, - { "nolibio", '\0', 0, &noLibio, 0, NULL, NULL}, +#if HAVE_LIBIO_H + { "nolibio", '\0', POPT_ARG_VAL, &noLibio, 1, NULL, NULL}, +#endif { "nomd5", '\0', 0, &noMd5, 0, NULL, NULL}, { "noorder", '\0', 0, &noOrder, 0, NULL, NULL}, { "nopgp", '\0', 0, &noPgp, 0, NULL, NULL}, @@ -595,7 +597,11 @@ int main(int argc, const char ** argv) justdb = 0; noDeps = 0; noGpg = 0; +#if HAVE_LIBIO_H noLibio = 0; +#else + noLibio = 1; +#endif noMd5 = 0; noOrder = 0; noPgp = 0; |