Discussion:
[Mingw-w64-public] mingw-w64-tools - configure.ac and Makefile.am for autoconf
J. Peter Mugaas
2017-06-15 04:47:39 UTC
Permalink
I was building the mingw-w64 and I wanted to build the new genstubsdll tool
for the MSYS2 distribuation. I noticed that there was no config.ac and
Makefile.am for this. I think that an addition of these would help automate
some packaging systems and also provide a way of adjusting the source-code
for particular environments.



To correct this omission, I have made a a patch that I hope will be merged
and as a configure script being build using autoreconf at your end.



Thanks in advance.
LRN
2017-06-15 05:01:26 UTC
Permalink
... I have made a a patch ...
Forgot something?
--
O< ascii ribbon - stop html email! - www.asciiribbon.org
J. Peter Mugaas
2017-06-15 05:05:06 UTC
Permalink
Hopefully, it will get through this time. Don't why it didn't attatch.

-----Original Message-----
From: LRN [mailto:***@gmail.com]
Sent: Thursday, June 15, 2017 1:01 AM
To: mingw-w64-***@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] mingw-w64-tools - configure.ac and Makefile.am for autoconf
... I have made a a patch ...
Forgot something?
--
O< ascii ribbon - stop html email! - www.asciiribbon.org
The Canadian Bacon
2017-06-15 05:15:45 UTC
Permalink
Still missing

From: J. Peter Mugaas
Sent: Thursday, June 15, 2017 1:06 AM
To: mingw-w64-***@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] mingw-w64-tools - configure.ac and Makefile.amfor autoconf

Hopefully, it will get through this time. Don't why it didn't attatch.

-----Original Message-----
From: LRN [mailto:***@gmail.com]
Sent: Thursday, June 15, 2017 1:01 AM
To: mingw-w64-***@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] mingw-w64-tools - configure.ac and Makefile.am for autoconf
... I have made a a patch ...
Forgot something?
--
O< ascii ribbon - stop html email! - www.asciiribbon.org
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
J. Peter Mugaas
2017-06-15 05:17:11 UTC
Permalink
Sorry for the dups. I hope I'm not having any more trouble.

-----Original Message-----
From: J. Peter Mugaas [mailto:***@suddenlink.net]
Sent: Thursday, June 15, 2017 1:05 AM
To: mingw-w64-***@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] mingw-w64-tools - configure.ac and
Makefile.am for autoconf

Hopefully, it will get through this time. Don't why it didn't attatch.

-----Original Message-----
From: LRN [mailto:***@gmail.com]
Sent: Thursday, June 15, 2017 1:01 AM
To: mingw-w64-***@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] mingw-w64-tools - configure.ac and
Makefile.am for autoconf
... I have made a a patch ...
Forgot something?

--
O< ascii ribbon - stop html email! - www.asciiribbon.org
----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most engaging
tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
The Canadian Bacon
2017-06-15 05:21:22 UTC
Permalink
Still not seeing it. Sourceforge could be stripping the attachment. Iirc
there were issues in the past regarding that. Something about improper mine
types.

On Jun 15, 2017 1:18 AM, "J. Peter Mugaas" <***@suddenlink.net> wrote:

Sorry for the dups. I hope I'm not having any more trouble.

-----Original Message-----
From: J. Peter Mugaas [mailto:***@suddenlink.net]
Sent: Thursday, June 15, 2017 1:05 AM
To: mingw-w64-***@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] mingw-w64-tools - configure.ac and
Makefile.am for autoconf

Hopefully, it will get through this time. Don't why it didn't attatch.

-----Original Message-----
From: LRN [mailto:***@gmail.com]
Sent: Thursday, June 15, 2017 1:01 AM
To: mingw-w64-***@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] mingw-w64-tools - configure.ac and
Makefile.am for autoconf
... I have made a a patch ...
Forgot something?

--
O< ascii ribbon - stop html email! - www.asciiribbon.org
----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most engaging
tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
J. Peter Mugaas
2017-06-15 06:00:13 UTC
Permalink
I hope this works.

-----Original Message-----
From: The Canadian Bacon [mailto:***@gmail.com]
Sent: Thursday, June 15, 2017 1:21 AM
To: mingw-w64-***@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] mingw-w64-tools - configure.ac and
Makefile.am for autoconf

Still not seeing it. Sourceforge could be stripping the attachment. Iirc
there were issues in the past regarding that. Something about improper mine
types.

On Jun 15, 2017 1:18 AM, "J. Peter Mugaas" <***@suddenlink.net> wrote:

Sorry for the dups. I hope I'm not having any more trouble.

-----Original Message-----
From: J. Peter Mugaas [mailto:***@suddenlink.net]
Sent: Thursday, June 15, 2017 1:05 AM
To: mingw-w64-***@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] mingw-w64-tools - configure.ac and
Makefile.am for autoconf

Hopefully, it will get through this time. Don't why it didn't attatch.

-----Original Message-----
From: LRN [mailto:***@gmail.com]
Sent: Thursday, June 15, 2017 1:01 AM
To: mingw-w64-***@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] mingw-w64-tools - configure.ac and
Makefile.am for autoconf
... I have made a a patch ...
Forgot something?

--
O< ascii ribbon - stop html email! - www.asciiribbon.org
----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most engaging
tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most engaging
tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most engaging
tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Liu Hao
2017-06-15 06:06:06 UTC
Permalink
Post by J. Peter Mugaas
I hope this works.
Please send attachments in plain text formats. If your client has
trouble doing that, you can usually force it by adding a `.txt`
extension. Don't forget to carry a copy of the patch inline.
--
Best regards,
LH_Mouse
J. Peter Mugaas
2017-06-15 06:11:27 UTC
Permalink
Still no joy " Blacklisted file extension detected". I'm just going to
it like this:

====
--- mingw-w64/mingw-w64-tools/genstubdll-old/Makefile.am 1969-12-31
19:00:00
+++ mingw-w64/mingw-w64-tools/genstubdll/Makefile.am 2017-05-31 05:36:00
-0400
@@ -0,0 +1,7 @@
+bin_PROGRAMS = genstubdll
+genstubdll_SOURCES = src/token.h src/lexdef.c src/output.c
+genstubdll_CPPFLAGS = -Isrc
+genstubdll_CFLAGS = $(AM_CFLAGS) -O3 -g -Wall -Wextra
+
+EXTRA_DIST = $(srcdir)/COPYING
+DISTCHECK_CONFIGURE_FLAGS = --host=$(host)
--- mingw-w64/mingw-w64-tools/genstubdll-old/configure.ac 1969-12-31
19:00:00
+++ mingw-w64/mingw-w64-tools/genstubdll/configure.ac 2017-05-31 04:46:50
-0400
@@ -0,0 +1,39 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.69])
+AC_INIT([mingw-w64-genstubdll],[1.0],[mingw-w64-***@lists.sourceforge.ne
t])
+AC_CONFIG_AUX_DIR([build-aux])
+AC_CONFIG_SRCDIR([src/output.c])
+AC_CONFIG_HEADERS([config.h])
+
+AM_INIT_AUTOMAKE([foreign subdir-objects])
+AM_MAINTAINER_MODE
+
+AC_CANONICAL_HOST
+
+# Checks for programs.
+AC_PROG_CC
+
+# Checks for libraries.
+
+# Checks for header files.
+AC_CHECK_HEADERS([malloc.h memory.h stdint.h stdlib.h string.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_TYPE_INT16_T
+AC_TYPE_INT32_T
+AC_TYPE_INT64_T
+AC_TYPE_SIZE_T
+AC_TYPE_UINT16_T
+AC_TYPE_UINT32_T
+AC_TYPE_UINT64_T
+
+# Checks for library functions.
+AC_FUNC_MALLOC
+AC_FUNC_REALLOC
+AC_CHECK_FUNCS([memset strchr strdup strrchr strstr])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+
====

-----Original Message-----
From: Liu Hao [mailto:***@126.com]
Sent: Thursday, June 15, 2017 2:06 AM
To: mingw-w64-***@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] mingw-w64-tools - configure.ac and
Makefile.am for autoconf
Post by J. Peter Mugaas
I hope this works.
Please send attachments in plain text formats. If your client has
trouble doing that, you can usually force it by adding a `.txt` extension.
Don't forget to carry a copy of the patch inline.
--
Best regards,
LH_Mouse


----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Loading...