apu_config.hnw 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* Licensed to the Apache Software Foundation (ASF) under one or more
  2. * contributor license agreements. See the NOTICE file distributed with
  3. * this work for additional information regarding copyright ownership.
  4. * The ASF licenses this file to You under the Apache License, Version 2.0
  5. * (the "License"); you may not use this file except in compliance with
  6. * the License. You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /*
  17. * Note: This is a NetWare specific version of apu_config.hnw. It is copied
  18. * as apu_config.h at the start of a NetWare build.
  19. */
  20. #ifdef NETWARE
  21. #ifndef APU_CONFIG_H
  22. #define APU_CONFIG_H
  23. /* Always compile Netware with DSO support for .nlm builds */
  24. #define APU_DSO_BUILD 0
  25. /*
  26. * NetWare does not have GDBM, and we always use the bundled (new) Expat
  27. */
  28. /* Define if you have the gdbm library (-lgdbm). */
  29. /* #undef HAVE_LIBGDBM */
  30. /* define if Expat 1.0 or 1.1 was found */
  31. /* #undef APR_HAVE_OLD_EXPAT */
  32. /* NetWare uses its own ICONV implementation. */
  33. #define HAVE_ICONV_H 1
  34. /*
  35. * check for newer NDKs which use now correctly 'const char*' with iconv.
  36. */
  37. #include <ndkvers.h>
  38. #if (CURRENT_NDK_THRESHOLD >= 705110000)
  39. #define APU_ICONV_INBUF_CONST
  40. #endif
  41. #endif /* APU_CONFIG_H */
  42. #endif /* NETWARE */