[libdispatch-dev] [PATCH 01/17] add .gitignore files

Kevin Van Vechten kvv at apple.com
Mon Oct 19 00:12:02 PDT 2009


We need to keep the generated config/config.h for building on Mac OS X.  Mac OS X builds use the Xcode project and do not run configure as part of the build process.

Kevin

On Oct 18, 2009, at 8:04 AM, Paolo Bonzini wrote:

> No brainer, should be. :-)  Except if your main repo is svn and you rely
> on svn:ignore, in which case I still suggest removing config/config.h.
> ---
> .gitignore        |   10 ++++
> config/.gitignore |    9 ++++
> config/config.h   |  137 -----------------------------------------------------
> m4/.gitignore     |    5 ++
> 4 files changed, 24 insertions(+), 137 deletions(-)
> create mode 100644 .gitignore
> create mode 100644 config/.gitignore
> delete mode 100644 config/config.h
> create mode 100644 m4/.gitignore
> 
> diff --git a/.gitignore b/.gitignore
> new file mode 100644
> index 0000000..8af258a
> --- /dev/null
> +++ b/.gitignore
> @@ -0,0 +1,10 @@
> +/aclocal.m4
> +/autom4te.cache
> +/configure
> +/config.status
> +/config.log
> +/libtool
> +Makefile.in
> +Makefile
> +.deps
> +.libs
> diff --git a/config/.gitignore b/config/.gitignore
> new file mode 100644
> index 0000000..2253ae1
> --- /dev/null
> +++ b/config/.gitignore
> @@ -0,0 +1,9 @@
> +/config.h
> +/config.guess
> +/config.sub
> +/depcomp
> +/install-sh
> +/ltmain.sh
> +/config.h.in
> +/missing
> +/stamp-h*
> diff --git a/config/config.h b/config/config.h
> deleted file mode 100644
> index 5c2d400..0000000
> --- a/config/config.h
> +++ /dev/null
> @@ -1,137 +0,0 @@
> -/* config/config.h.  Generated from config.h.in by configure.  */
> -/* config/config.h.in.  Generated from configure.ac by autoheader.  */
> -
> -/* Define to compile out legacy API */
> -/* #undef DISPATCH_NO_LEGACY */
> -
> -/* Define to 1 if you have the <Availability.h> header file. */
> -#define HAVE_AVAILABILITY_H 1
> -
> -/* Define to 1 if you have the declaration of `EVFILT_SESSION', and to 0 if
> -   you don't. */
> -#define HAVE_DECL_EVFILT_SESSION 1
> -
> -/* Define to 1 if you have the declaration of `NOTE_NONE', and to 0 if you
> -   don't. */
> -#define HAVE_DECL_NOTE_NONE 1
> -
> -/* Define to 1 if you have the declaration of `NOTE_REAP', and to 0 if you
> -   don't. */
> -#define HAVE_DECL_NOTE_REAP 1
> -
> -/* Define to 1 if you have the declaration of `NOTE_SIGNAL', and to 0 if you
> -   don't. */
> -#define HAVE_DECL_NOTE_SIGNAL 1
> -
> -/* Define to 1 if you have the declaration of `VQ_UPDATE', and to 0 if you
> -   don't. */
> -#define HAVE_DECL_VQ_UPDATE 1
> -
> -/* Define to 1 if you have the declaration of `VQ_VERYLOWDISK', and to 0 if
> -   you don't. */
> -#define HAVE_DECL_VQ_VERYLOWDISK 1
> -
> -/* Define to 1 if you have the <dlfcn.h> header file. */
> -#define HAVE_DLFCN_H 1
> -
> -/* Define to 1 if you have the <inttypes.h> header file. */
> -#define HAVE_INTTYPES_H 1
> -
> -/* Define to 1 if you have the <libkern/OSAtomic.h> header file. */
> -#define HAVE_LIBKERN_OSATOMIC_H 1
> -
> -/* Define to 1 if you have the <libkern/OSCrossEndian.h> header file. */
> -#define HAVE_LIBKERN_OSCROSSENDIAN_H 1
> -
> -/* Define if mach is present */
> -#define HAVE_MACH /**/
> -
> -/* Define to 1 if you have the `mach_absolute_time' function. */
> -#define HAVE_MACH_ABSOLUTE_TIME 1
> -
> -/* Define to 1 if you have the `malloc_create_zone' function. */
> -#define HAVE_MALLOC_CREATE_ZONE 1
> -
> -/* Define to 1 if you have the <malloc/malloc.h> header file. */
> -#define HAVE_MALLOC_MALLOC_H 1
> -
> -/* Define to 1 if you have the <memory.h> header file. */
> -#define HAVE_MEMORY_H 1
> -
> -/* Define if __builtin_trap marked noreturn */
> -#define HAVE_NORETURN_BUILTIN_TRAP /**/
> -
> -/* Define if __private_extern__ present */
> -#define HAVE_PRIVATE_EXTERN /**/
> -
> -/* Define to 1 if you have the `pthread_key_init_np' function. */
> -#define HAVE_PTHREAD_KEY_INIT_NP 1
> -
> -/* Define to 1 if you have the <pthread_machdep.h> header file. */
> -#define HAVE_PTHREAD_MACHDEP_H 1
> -
> -/* Define to 1 if you have the <pthread_np.h> header file. */
> -/* #undef HAVE_PTHREAD_NP_H */
> -
> -/* Define if pthread work queues are present */
> -#define HAVE_PTHREAD_WORKQUEUES /**/
> -
> -/* Define to 1 if you have the `sem_init' function. */
> -#define HAVE_SEM_INIT 1
> -
> -/* Define to 1 if you have the <stdint.h> header file. */
> -#define HAVE_STDINT_H 1
> -
> -/* Define to 1 if you have the <stdlib.h> header file. */
> -#define HAVE_STDLIB_H 1
> -
> -/* Define to 1 if you have the <strings.h> header file. */
> -#define HAVE_STRINGS_H 1
> -
> -/* Define to 1 if you have the <string.h> header file. */
> -#define HAVE_STRING_H 1
> -
> -/* Define to 1 if you have the <sys/stat.h> header file. */
> -#define HAVE_SYS_STAT_H 1
> -
> -/* Define to 1 if you have the <sys/types.h> header file. */
> -#define HAVE_SYS_TYPES_H 1
> -
> -/* Define to 1 if you have the <unistd.h> header file. */
> -#define HAVE_UNISTD_H 1
> -
> -/* Name of package */
> -#define PACKAGE "libdispatch"
> -
> -/* Define to the address where bug reports for this package should be sent. */
> -#define PACKAGE_BUGREPORT "libdispatch at macosforge.org"
> -
> -/* Define to the full name of this package. */
> -#define PACKAGE_NAME "libdispatch"
> -
> -/* Define to the full name and version of this package. */
> -#define PACKAGE_STRING "libdispatch 1.0"
> -
> -/* Define to the one symbol short name of this package. */
> -#define PACKAGE_TARNAME "libdispatch"
> -
> -/* Define to the version of this package. */
> -#define PACKAGE_VERSION "1.0"
> -
> -/* Define to 1 if you have the ANSI C header files. */
> -#define STDC_HEADERS 1
> -
> -/* Define to use Mac OS X crashreporter info */
> -#define USE_APPLE_CRASHREPORTER_INFO /**/
> -
> -/* Define to use non-portablesemaphore optimizations for Mac OS X */
> -#define USE_APPLE_SEMAPHORE_OPTIMIZATIONS /**/
> -
> -/* Define to use non-portable pthread TSD optimizations for Mac OS X) */
> -#define USE_APPLE_TSD_OPTIMIZATIONS /**/
> -
> -/* Define to tag libdispatch_init as a constructor */
> -/* #undef USE_LIBDISPATCH_INIT_CONSTRUCTOR */
> -
> -/* Version number of package */
> -#define VERSION "1.0"
> diff --git a/m4/.gitignore b/m4/.gitignore
> new file mode 100644
> index 0000000..94e6f26
> --- /dev/null
> +++ b/m4/.gitignore
> @@ -0,0 +1,5 @@
> +/libtool.m4
> +/ltoptions.m4
> +/ltsugar.m4
> +/ltversion.m4
> +/lt~obsolete.m4
> -- 
> 1.6.2.5
> 
> 
> _______________________________________________
> libdispatch-dev mailing list
> libdispatch-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/libdispatch-dev




More information about the libdispatch-dev mailing list