diff options
author | dos-reis <gdr@axiomatics.org> | 2009-04-14 04:22:57 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-04-14 04:22:57 +0000 |
commit | 4d429676e2332f7dd8e6da16c72d1bf653c646d1 (patch) | |
tree | 86ac0a06f07a7365f7257c1bb7e05193f0063232 /config | |
parent | 87ab9ee004e7f92ef7d3c79110ac4c124cea0616 (diff) | |
download | open-axiom-4d429676e2332f7dd8e6da16c72d1bf653c646d1.tar.gz |
Fix SF/2760560
* driver/utils.h (openaxiom_driver): Add openaxiom_null_driver.
Document all of them.
* driver/utils.c (print_line): New.
(print_version): Print version information.
(print_usage): Print option documentation.
(openaxiom_preprocess_arguments): Handle --help and --version.
* driver/main.c (main): Do nothing for the null driver.
* sman/sman.c (process_arguments): Accept long form of options.
Diffstat (limited to 'config')
-rw-r--r-- | config/openaxiom-c-macros.h.in | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/config/openaxiom-c-macros.h.in b/config/openaxiom-c-macros.h.in index d96918ce..a7cd9255 100644 --- a/config/openaxiom-c-macros.h.in +++ b/config/openaxiom-c-macros.h.in @@ -1,5 +1,8 @@ /* config/openaxiom-c-macros.h.in. Generated from configure.ac by autoheader. */ +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + /* BSD flavour */ #undef BSDplatform @@ -144,15 +147,23 @@ /* SunOS flavour */ #undef SUNplatform -/* Define to 1 if your processor stores words with the most significant byte - first (like Motorola and SPARC, unlike Intel and VAX). */ -#undef WORDS_BIGENDIAN +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif +#endif /* Define to 1 if the X Window System is missing or not being used. */ #undef X_DISPLAY_MISSING /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, - <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the + <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the #define below would cause a syntax error. */ #undef _UINT8_T |