Ticket #455 (closed defect: Invalid)

Opened 5 years ago

Last modified 39 years ago

sed script for stripping debug flags is broken

Reported by: kursawe Owned by:
Priority: normal Milestone:
Component: build Version: 1.2.*
Keywords: Cc:

Description

The attached patch fixes it.

When you use something other than -g (like -g1, or whatever) as debug CFLAG/CXXFLAG, the unpatched configure script just removes the -g and lets gcc choke on a single 0 or 1 instead of an option.

Change History

Changed 5 years ago by emostar

  • status changed from assigned to closed

Logged In: YES user_id=21415

You cannot patch configure. This is automatically generated from the makefile system.

Changed 5 years ago by kursawe

Logged In: YES user_id=727554

Sorry for the misunderstanding - of course I can patch configure. The patch is just quick+dirty of course, I think it's your job to fix the files from which configure was generated. Just supplied the patch to show what's wrong and how I think it should be afterwards. Please have a second look and fix in acinclude.m4 or whereever it's correct. Thanks.

Changed 5 years ago by emostar

Logged In: YES user_id=21415

Well, the file is not from Licq that has this bug in it. It is either the autoconf or automake package that distributes the file that controls this.

Changed 5 years ago by kursawe

Logged In: YES user_id=727554

You are really sure that admin/acinclude.m4.in Copyright (c) 2000 Dirk Mueller <dirk@…> is distributed in the autoconf/automake package?

Note: See TracTickets for help on using tickets.