Bug 4447 - --enable-deprecated and --disable-deprecated build flags have same effect
Summary: --enable-deprecated and --disable-deprecated build flags have same effect
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.18.0
Hardware: PC Windows 10
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2021-02-24 13:51 UTC by Avinash Sonawane
Modified: 2021-04-24 02:02 UTC (History)
0 users

See Also:


Attachments

Description Avinash Sonawane 2021-02-24 13:51:10 UTC
Hello!

Due to this AC_ARG_ENABLE macro in configure.ac:
```
AC_ARG_ENABLE(deprecated,
		[  --disable-deprecated            Disable deprecated GTK functions],
		[GTK_CFLAGS="$GTK_CFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"], [])
```

`--enable-deprecated` and `--disable-deprecated` build flags have same effect.

Ref: https://www.gnu.org/software/autoconf/manual/autoconf-2.66/html_node/Package-Options.html

Thanks!

Regards,
Avinash Sonawane (rootKea)
PICT Pune
Comment 1 Ricardo Mones 2021-04-24 02:02:19 UTC
Fixed in 3dfae5196cf6132ed01c0da30fb8946d38cea34b for gtk3 brach and f780dd64ec440bf2f7b56f26cb90ab6255cb2950 for master.

Note You need to log in before you can comment on or make changes to this bug.