Subject: Avoid regenerating rfb/{rfbconfig,rfbint}.h.
Author: Prach Pongpanich <prachpub@gmail.com>
Forwarded: not-needed

Index: libvncserver/configure.ac
===================================================================
--- libvncserver.orig/configure.ac	2014-01-02 12:01:38.390793913 +0100
+++ libvncserver/configure.ac	2014-01-02 12:01:38.386793913 +0100
@@ -3,7 +3,6 @@
 AM_INIT_AUTOMAKE(LibVNCServer, 0.9.9)
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 AM_CONFIG_HEADER(rfbconfig.h)
-AX_PREFIX_CONFIG_H([rfb/rfbconfig.h])
 
 # Checks for programs.
 AC_PROG_CC
@@ -621,7 +620,6 @@
 	echo "creating subdir ./rfb for rfbint.h"
 	mkdir ./rfb 
 fi
-AC_CREATE_STDINT_H(rfb/rfbint.h)
 AC_CACHE_CHECK([for in_addr_t],
         vnc_cv_inaddrt, [
                 AC_TRY_COMPILE([#include <sys/types.h>
Index: libvncserver/rfb/rfbconfig.h
===================================================================
--- libvncserver.orig/rfb/rfbconfig.h	2013-12-25 15:46:42.233792112 +0100
+++ libvncserver/rfb/rfbconfig.h	2014-01-02 12:01:54.250793377 +0100
@@ -140,9 +140,7 @@
 #endif
 
 /* Define to 1 if you have the `png' library (-lpng). */
-#ifndef LIBVNCSERVER_HAVE_LIBPNG 
-#define LIBVNCSERVER_HAVE_LIBPNG  1 
-#endif
+/* #undef LIBVNCSERVER_HAVE_LIBPNG */
 
 /* Define to 1 if you have the `pthread' library (-lpthread). */
 #ifndef LIBVNCSERVER_HAVE_LIBPTHREAD 
Index: libvncserver/rfb/rfbint.h
===================================================================
--- libvncserver.orig/rfb/rfbint.h	2013-12-25 15:46:42.233792112 +0100
+++ libvncserver/rfb/rfbint.h	2014-01-02 12:01:54.250793377 +0100
@@ -2,11 +2,8 @@
 #define _RFB_RFBINT_H 1
 #ifndef _GENERATED_STDINT_H
 #define _GENERATED_STDINT_H "LibVNCServer 0.9.9"
-/* generated using a gnu compiler version gcc (Debian 4.4.5-8) 4.4.5 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */
-
 #include <stdint.h>
 
-
 /* system headers have good uint64_t */
 #ifndef _HAVE_UINT64_T
 #define _HAVE_UINT64_T
