@@ -145,9 +145,9 @@ if get_option('MOD_SDORM_SQL') == true
145
145
if not cc.has_header(' libpq-fe.h' , args : ' -I/usr/local/include/postgresql' )
146
146
if cc.has_header(' libpq-fe.h' , args : ' -I/usr/local/include/pgsql' )
147
147
pqincpath = ' /usr/local/include/pgsql'
148
- else if cc.has_header(' libpq-fe.h' , args : ' -I/opt/homebrew/include/postgresql' )
148
+ elif cc.has_header(' libpq-fe.h' , args : ' -I/opt/homebrew/include/postgresql' )
149
149
pqincpath = ' /opt/homebrew/include/postgresql'
150
- else if cc.has_header(' libpq-fe.h' , args : ' -I/opt/homebrew/include/pgsql' )
150
+ elif cc.has_header(' libpq-fe.h' , args : ' -I/opt/homebrew/include/pgsql' )
151
151
pqincpath = ' /opt/homebrew/include/pgsql'
152
152
else
153
153
error (' libpq headers not found' )
@@ -189,7 +189,7 @@ if get_option('MOD_SDORM_MONGO') == true
189
189
if not cc.has_header(' bson.h' , args : ' -I/usr/include/libbson-1.0' )
190
190
if cc.has_header(' bson.h' , args : ' -I/usr/local/include/libbson-1.0' )
191
191
global_includes += [' /usr/local/include/libbson-1.0' ]
192
- else notif cc.has_header(' bson.h' , args : ' -I/opt/homebrew/include/libbson-1.0' )
192
+ elif cc.has_header(' bson.h' , args : ' -I/opt/homebrew/include/libbson-1.0' )
193
193
global_includes += [' /opt/homebrew/include/libbson-1.0' ]
194
194
else
195
195
error (' bson headers not found' )
@@ -200,7 +200,7 @@ if get_option('MOD_SDORM_MONGO') == true
200
200
if not cc.has_header(' mongoc.h' , args : ' -I/usr/include/libmongoc-1.0' )
201
201
if cc.has_header(' mongoc.h' , args : ' -I/usr/local/include/libmongoc-1.0' )
202
202
global_includes += [' /usr/local/include/libmongoc-1.0' ]
203
- else notif cc.has_header(' mongoc.h' , args : ' -I/opt/homebrew/include/libmongoc-1.0' )
203
+ elif cc.has_header(' mongoc.h' , args : ' -I/opt/homebrew/include/libmongoc-1.0' )
204
204
global_includes += [' /opt/homebrew/include/libmongoc-1.0' ]
205
205
else
206
206
error (' mongoc headers not found' )
0 commit comments