Wireshark-dev: [Wireshark-dev] [PATCH] Add config.nice support

From: Mike Duigou <wireshark@xxxxxxxxxx>
Date: Sat, 05 May 2007 13:50:17 -0700
Repost of my previous config.nice patch updated to match current SVN.

Mike

Enclosed is a patch adapted from Apache APR via JXTA to create a config.nice file for Wireshark. config.nice allows you to re-run ./configure with the same options you used as the last time you ran ./configure

For unknown reasons I've lately had a lot of problems producing working builds without rerunning autogen.sh and ./configure. I'm not sure what has been changing or what's been wrong that prevents rebuilding from working. Every couple of days for the last month or so I find that I have to redo autogen.sh and ./configure or the build will fail for various obscure reasons in seemingly random files. 'make clean' is insufficient to repair the build environment but so far re-running autogen.sh and ./configure does the job.

Rebuilding from scratch isn't too painful but the lack of a config.nice means I have to remember what options and flags I used and examining 'config.log' doesn't tell the complete story as it only has the ./configure options and not the relevant CFLAGS, etc.

config.nice makes rerunning ./configure much simpler.

Mike

Attachment: config.nice.21693.patch.zip
Description: Zip archive